Files
cypress/system-tests/test/runnable_execution_spec.ts
T
Bill Glesias 9580dc2e35 breaking: default video configuration option to false (#27008)
* chore: update darwin v8 snapshot

* BREAKING CHANGE: set video to false by default (system tests need updating).

* Update cli/CHANGELOG.md

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>

* chore: update type comments

* chore: update protocol snapshot

* run ci

* run ci

* set video to true for chrome browser crash test

* chore: put in workaround for failing system test spec to be fixed in 27062

* chore: allow retries on actionability tests to be at least one retry as the CI tests run faster without video on

* chore: fix flaky navigation test where done is called multiple times almsot always, but sometimes throws an error

---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2023-06-20 13:21:39 -04:00

37 lines
806 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,
})
})