loud-honey-66910
02/27/2022, 10:36 AMcy.get('body').click(0,0);
makes the next command failloud-honey-66910
02/27/2022, 10:36 AMloud-honey-66910
02/27/2022, 11:15 AMloud-honey-66910
02/27/2022, 11:16 AMloud-honey-66910
02/27/2022, 11:16 AMloud-honey-66910
02/27/2022, 11:16 AMdamp-wire-36279
02/28/2022, 5:14 AMbroad-potato-69393
02/28/2022, 5:38 PMnumerous-musician-78555
03/01/2022, 11:40 AMnumerous-musician-78555
03/02/2022, 12:48 PMbrief-oxygen-74993
03/07/2022, 5:00 PMbrief-oxygen-74993
03/07/2022, 5:02 PMloud-honey-66910
03/08/2022, 9:15 AMthousands-gold-77695
03/10/2022, 3:57 PMtsconfig
I'm using Cypress for E2E and Component testing so I have .spec.tsx
files living alongside my Component.tsx
file
I have this structure
cypress/*
src/*
and I have a tsconfig
at the root and another tsconfig
inside cypress
This is my tsconfig
inside cypress
json
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "es5",
"lib": ["es5", "dom"],
"types": [
"cypress",
"node",
"cypress-file-upload",
"cypress-real-events",
"cypress-plugin-tab"
],
"isolatedModules": false
},
"include": ["../node_modules/cypress", "./**/*.ts", "**/*.spec.ts"]
}
and this is tsconfig
in the root, I have this
json
{
...
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": [
"node_modules",
"api",
"src/**/*.test.ts",
// "cypress/**/*.ts",
// "cypress/**/*.tsx",
// "src/**/*.spec.tsx"
]
}
The thing is that if I dont comment these 3 lines then when I run tsc --project tsconfig.json --pretty --noEmit
then I have a bunch of errors related to cypress. However, if I uncomment these 3 lines, then I have no more errors when I run tsc
but now I can't run any E2E tests, it's complaining that there are not tests to run
Error: Webpack Compilation Error
/Users/xxx/xxx/cypress/tsconfig.json
[tsl] ERROR
TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["../node_modules/cypress","./**/*.ts","**/*.spec.ts"]' and 'exclude' paths were '["../node_modules","../api","../src/**/*.test.ts","../cypress/**/*.ts","../cypress/**/*.tsx","../src/**/*.spec.tsx"]'.thousands-gold-77695
03/10/2022, 3:59 PMtsc
and have them being picked up by Cypress?thousands-gold-77695
03/10/2022, 4:03 PMdamp-wire-36279
03/11/2022, 5:15 AMfuture-gold-77198
03/11/2022, 6:42 PMfuture-gold-77198
03/11/2022, 8:51 PMgray-kilobyte-89541
03/12/2022, 6:25 PMfuture-gold-77198
03/12/2022, 7:42 PMfuture-gold-77198
03/12/2022, 7:43 PMacceptable-solstice-90676
03/14/2022, 3:37 AMEmail
during the log-in process. Could anyone give an idea on how I could solve this issue? This is the URL: https://www.vitalproteins.com/account/logingray-kilobyte-89541
03/14/2022, 1:34 PMfuture-gold-77198
03/14/2022, 5:41 PMacceptable-solstice-90676
03/14/2022, 6:27 PMfuture-gold-77198
03/14/2022, 6:36 PMacceptable-solstice-90676
03/14/2022, 6:56 PMacceptable-solstice-90676
03/14/2022, 6:56 PMfuture-gold-77198
03/14/2022, 7:15 PM