Files
cypress/system-tests/test/runnable_execution_spec.ts
T
Matt Schile 69873ae988 chore: remove experimentalSessionAndOrigin flag (#24340)
BREAKING CHANGE: removed experimentalSessionAndOrigin flag. testIsolation defaults to strict
2022-10-24 08:49:13 -06:00

38 lines
836 B
TypeScript

import systemTests from '../lib/system-tests'
describe('e2e runnable execution', () => {
systemTests.setup({
servers: [{
port: 3434,
static: true,
},
{
port: 4545,
static: true,
},
{
port: 5656,
static: true,
}],
})
systemTests.it('can navigate in before hook and test', {
project: 'hooks-after-rerun',
spec: 'beforehook-and-test-navigation.cy.js',
snapshot: true,
})
systemTests.it('runnables run correct number of times with navigation', {
project: 'hooks-after-rerun',
spec: 'runnable-run-count.cy.js',
snapshot: true,
})
systemTests.it('runs correctly after top navigation with already ran suite', {
spec: 'runnables_already_run_suite.cy.js',
snapshot: true,
expectedExitCode: 1,
config: { video: false },
})
})