mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-14 11:10:22 -06:00
* Remove run-ct and open-ct as CLI commands BREAKING: Remove run-ct and open-ct as CLI commands * Add changelog entry * add CLI to changelog
21 lines
503 B
JavaScript
21 lines
503 B
JavaScript
const systemTests = require('../lib/system-tests').default
|
|
|
|
describe('run ct', () => {
|
|
systemTests.setup()
|
|
|
|
systemTests.it('reports correct exit code when failing', {
|
|
spec: 'src/simple_failing.cy.js',
|
|
project: 'simple-ct',
|
|
testingType: 'component',
|
|
snapshot: false,
|
|
expectedExitCode: 2,
|
|
})
|
|
|
|
systemTests.it('runs in component testing mode', {
|
|
project: 'simple-ct',
|
|
spec: 'src/simple_passing_component.cy.js',
|
|
testingType: 'component',
|
|
snapshot: false,
|
|
})
|
|
})
|