UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

23 lines (18 loc) 527 B
const e2e = require('../support/helpers/e2e').default describe('e2e commands outside of test', () => { e2e.setup() e2e.it('fails on cy commands', { spec: 'commands_outside_of_test_spec.js', snapshot: true, expectedExitCode: 1, }) e2e.it('fails on failing assertions', { spec: 'assertions_failing_outside_of_test_spec.js', snapshot: true, expectedExitCode: 1, }) e2e.it('passes on passing assertions', { spec: 'assertions_passing_outside_of_test_spec.js', snapshot: true, }) })