microscopic-advantage-2187
08/18/2022, 10:24 AMmicroscopic-advantage-2187
08/18/2022, 10:24 AMmicroscopic-advantage-2187
08/18/2022, 10:35 AMjavascript
e2e: {
excludeSpecPattern: "file",
}
It seems using this on config and then running the excluded test file from command line targeting that file, will give the opposite effect
it will run other files but not this specified onemicroscopic-advantage-2187
08/18/2022, 10:36 AMhelpful-coat-87654
08/18/2022, 11:46 AMblue-battery-71202
08/18/2022, 12:05 PMaverage-tomato-6584
08/18/2022, 1:00 PMfast-artist-45202
08/18/2022, 1:02 PMbrief-toddler-73066
08/18/2022, 1:35 PMfreezing-piano-2792
08/18/2022, 2:40 PMhelpful-coat-87654
08/18/2022, 2:52 PMmagnificent-finland-58048
08/18/2022, 4:01 PMplain-garden-5374
08/18/2022, 4:18 PMblue-battery-71202
08/18/2022, 6:02 PMconsole
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR! Invalid: lock file's esbuild@0.11.23 does not satisfy esbuild@0.14.54
I've deleted locally my node_modules
and package-lock.json
and regenerated with npm i
- also pushed it, so I can't seem to resolve it..
Is there any way to identify which package uses these versions, or to fix it? I wouldn't want to use npm i
in CI.stale-optician-85950
08/18/2022, 8:21 PMnpm i
in CI, how else will you install your dependencies? Do you definitely have node_modules listed in your .gitignore
?blue-battery-71202
08/18/2022, 8:52 PMnpm ci
should theoretically work. And it worked before I've upgraded some packages.plain-garden-5374
08/18/2022, 10:11 PMhundreds-spoon-43121
08/18/2022, 10:52 PMearly-hairdresser-71010
08/19/2022, 7:00 AMmicroscopic-advantage-2187
08/19/2022, 7:42 AMmicroscopic-advantage-2187
08/19/2022, 7:43 AMmicroscopic-advantage-2187
08/19/2022, 7:43 AMimportant-nest-99734
08/19/2022, 7:49 AMimportant-nest-99734
08/19/2022, 7:52 AMnpx cypress run --config '{"exlcludeSpecPattern": ["**\/Sys\/*"]}'
microscopic-advantage-2187
08/19/2022, 7:54 AMmicroscopic-advantage-2187
08/19/2022, 8:00 AMnpx
still yield same resultimportant-nest-99734
08/19/2022, 8:17 AMcypress run --config '{"excludeSpecPattern": ["**/Sys/*"]}'
microscopic-advantage-2187
08/19/2022, 8:22 AMpackage.json
it doesn't work as you need to encircle it with double quote
While on terminal it works finemicroscopic-advantage-2187
08/19/2022, 8:23 AMfast-napkin-28259
08/19/2022, 8:28 AMcy.get('div.myHeart').then((el) => el.index())
returns a Chainable<number>
, but how can I extract the number?
I need to assign that index, e.g. const index : number = cy.get('div.myHeart').then((el) => el.index())