mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 13:30:26 -05:00
chore: fix flaky tests inside the cypress 15 branch (#31959)
This commit is contained in:
@@ -494,7 +494,9 @@ describe('src/cy/commands/window', () => {
|
|||||||
return null
|
return null
|
||||||
})
|
})
|
||||||
|
|
||||||
it('throws after timing out', (done) => {
|
it('throws after timing out', {
|
||||||
|
defaultCommandTimeout: 100,
|
||||||
|
}, (done) => {
|
||||||
cy.$$('title').remove()
|
cy.$$('title').remove()
|
||||||
|
|
||||||
cy.on('fail', (err) => {
|
cy.on('fail', (err) => {
|
||||||
|
|||||||
@@ -250,6 +250,7 @@ context('cy.origin actions', { browser: '!webkit' }, () => {
|
|||||||
it('.go()', () => {
|
it('.go()', () => {
|
||||||
cy.get('a[data-cy="dom-link"]').click()
|
cy.get('a[data-cy="dom-link"]').click()
|
||||||
cy.go('back')
|
cy.go('back')
|
||||||
|
cy.url().should('contain', '/fixtures/primary-origin.html')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user