cuddly-thailand-33926
07/22/2022, 4:53 PMfuture-gold-77198
07/22/2022, 6:16 PMfuture-gold-77198
07/22/2022, 6:25 PMfuture-gold-77198
07/22/2022, 6:34 PMstrong-energy-6158
07/23/2022, 6:26 AMstale-optician-85950
07/23/2022, 8:36 AMswift-kitchen-62493
07/23/2022, 3:35 PMtall-appointment-66718
07/24/2022, 9:49 AMfreezing-piano-2792
07/24/2022, 1:18 PMfreezing-piano-2792
07/24/2022, 1:18 PMfreezing-piano-2792
07/24/2022, 1:19 PMhandsome-lion-1748
07/24/2022, 4:10 PMplugins
folder and cypress.json
file, what should I do? just create them or what? thanks.freezing-piano-2792
07/24/2022, 4:18 PMhandsome-lion-1748
07/24/2022, 4:27 PMhandsome-lion-1748
07/24/2022, 4:47 PMfreezing-piano-2792
07/24/2022, 4:54 PMfreezing-piano-2792
07/24/2022, 4:54 PMhandsome-lion-1748
07/24/2022, 4:57 PMfreezing-piano-2792
07/24/2022, 4:59 PMhandsome-lion-1748
07/24/2022, 5:00 PMhandsome-lion-1748
07/24/2022, 5:01 PMfreezing-piano-2792
07/24/2022, 5:02 PMhandsome-lion-1748
07/24/2022, 5:03 PMtall-appointment-66718
07/24/2022, 7:08 PMnutritious-honey-65632
07/24/2022, 8:08 PMstale-optician-85950
07/24/2022, 9:26 PM/support/e2e.ts
and import these other files like so import './index.search';
nice-soccer-53564
07/25/2022, 1:56 AMcypress.conf.ts
at after:spec
`
No overload matches this call.
The last overload gave the following error.
Argument of type '"after:spec"' is not assignable to parameter of type '"task"'.ts(2769)
This is my snippet for cypress.conf.ts
. I'd really appreciate some help here, Not sure if this is a known bug?
e2e: {
setupNodeEvents(on, config) {
on('after:spec', (spec, results) => {
if (results && results.video) {
// Do we have failures for any retry attempts?
const failures = some(results.tests, test => {
return some(test.attempts, { state: 'failed' })
})
if (!failures) {
// delete the video if the spec passed and no tests retried
return deleteSync(results.video)
}
}
})
return require('./cypress/plugins/index.js')(on, config)
},
},
nice-soccer-53564
07/25/2022, 1:59 AMrequire
syntax then it works.
Doesn't work:
import { defineConfig } from 'cypress'
Works fine:
const { defineConfig } = require('cypress')
straight-chef-47891
07/25/2022, 2:36 AMqemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
The Test Runner unexpectedly exited via a exit event with signal SIGSEGV
handsome-lion-1748
07/25/2022, 8:38 AMnpm install --save-dev @klaveness/cypress-cucumber-preprocessor
and got 404 error, I'm lost 😦, it seems I need to install it from github? like following something like this: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry ?