Closed idanElitzur closed 1 year ago
I'm experiencing the same issue with .ts files. Cypress: 11.2.0 "cypress-grep": 3.1.0
But I found a solution to this issue. In my e2e.ts I used: require('@cypress/grep')(); And in my tsconfig.json inside Types, I included "@cypress/grep"
As @alexandreedgeiq pointed out, you need to:
Update to the latest version
Add @cypress/grep
to your tsconfig.json
add the following to the top of your commands.d.ts
file:
/// <reference types="@cypress/grep" />;
As @alexandreedgeiq pointed out, you need to:
- Update to the latest version
- Add
@cypress/grep
to yourtsconfig.json
- add the following to the top of your
commands.d.ts
file:/// <reference types="@cypress/grep" />;
Where can we find this command.d.ts file? I only got support/commands.ts
Thanks for your answer. I've already try all of these ways but something wrong with this package.
@Kosai106
It throws me an error like that.
Cypress v11.3.0
Intellj always return a typescript error about the object of tags even it's defined as "type" inside the typescript compiler configurat file and also is part of the "include" files. please your assistance.