mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-08 07:29:44 -06: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
|
||||
})
|
||||
|
||||
it('throws after timing out', (done) => {
|
||||
it('throws after timing out', {
|
||||
defaultCommandTimeout: 100,
|
||||
}, (done) => {
|
||||
cy.$$('title').remove()
|
||||
|
||||
cy.on('fail', (err) => {
|
||||
|
||||
@@ -250,6 +250,7 @@ context('cy.origin actions', { browser: '!webkit' }, () => {
|
||||
it('.go()', () => {
|
||||
cy.get('a[data-cy="dom-link"]').click()
|
||||
cy.go('back')
|
||||
cy.url().should('contain', '/fixtures/primary-origin.html')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user