mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-06 15:00:50 -05:00
9a51a0ff45
* activate main window before attempting to detect aut iframe active element * add todo about refactor * changelog * system test for issue 31466 * no infinite max depth * changelog * changelog * simplify * additional test, better window switching logic
13 lines
367 B
TypeScript
13 lines
367 B
TypeScript
import systemTests from '../lib/system-tests'
|
|
|
|
describe('e2e issue 31466: cy.press only works in the first spec in firefox', () => {
|
|
systemTests.setup()
|
|
|
|
systemTests.it('does not error when dispatching cy.press', {
|
|
spec: 'first_spec.cy.js,second_spec.cy.js',
|
|
project: 'cy-press-second-spec-error',
|
|
expectedExitCode: 0,
|
|
browser: 'firefox',
|
|
})
|
|
})
|