mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-27 10:19:26 -05:00
69873ae988
BREAKING CHANGE: removed experimentalSessionAndOrigin flag. testIsolation defaults to strict
38 lines
836 B
TypeScript
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 },
|
|
})
|
|
})
|