https://cypress.io logo
Im getting my cypress command name as not a functi...
# i-need-help
q

https://cdn.discordapp.com/attachments/1102517145885229097/1102517146036219965/image.png

https://cdn.discordapp.com/attachments/1102517145885229097/1102517146296262676/image.png

https://cdn.discordapp.com/attachments/1102517145885229097/1102517146568900668/image.png

https://cdn.discordapp.com/attachments/1102517145885229097/1102517146875080764/image.png

e
Try adding this to your commands file
import '@testing-library/cypress/add-commands';
m
@quiet-house-97222 You are using different filenames compared to the training from https://github.com/cypress-io/cypress-realworld-testing-course-app. In the standard training, the file `cypress\support\e2e.ts`imports from the file
commands
which is stored as
commands.ts
. If your commands are stored in a file `commands.d.ts`they may not be found.
q
@many-airline-45402 thanks boss let me try and do that again...