Skip to content

Commit

Permalink
chore: Skip flaky navigation tests in webkit (#24601)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding committed Nov 10, 2022
1 parent cff1478 commit c9db39f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions packages/driver/cypress/e2e/commands/navigation.cy.js
Expand Up @@ -753,7 +753,8 @@ describe('src/cy/commands/navigation', () => {
})

// https://github.com/cypress-io/cypress/issues/14445
it('should eventually fail on assertion despite redirects', (done) => {
// FIXME: fix flaky test (webkit): https://github.com/cypress-io/cypress/issues/24600
it('should eventually fail on assertion despite redirects', { browser: '!webkit' }, (done) => {
cy.on('fail', (err) => {
expect(err.message).to.contain('The application redirected to')
done()
Expand Down Expand Up @@ -2287,7 +2288,8 @@ describe('src/cy/commands/navigation', () => {
return null
})

it('emits \'page:loading\' before and after initial visit', () => {
// FIXME: fix flaky test (webkit): https://github.com/cypress-io/cypress/issues/24600
it('emits \'page:loading\' before and after initial visit', { browser: '!webkit' }, () => {
const emit = cy.spy(Cypress, 'emit').log(false).withArgs('page:loading')

cy
Expand All @@ -2303,7 +2305,8 @@ describe('src/cy/commands/navigation', () => {
})
})

it('emits during page navigation', () => {
// FIXME: fix flaky test (webkit): https://github.com/cypress-io/cypress/issues/24600
it('emits during page navigation', { browser: '!webkit' }, () => {
const emit = cy.spy(Cypress, 'emit').log(false).withArgs('page:loading')
let expected = false

Expand All @@ -2329,7 +2332,8 @@ describe('src/cy/commands/navigation', () => {
})
})

it('logs during page navigation', () => {
// FIXME: fix flaky test (webkit): https://github.com/cypress-io/cypress/issues/24600
it('logs during page navigation', { browser: '!webkit' }, () => {
let expected = false

cy
Expand All @@ -2352,7 +2356,8 @@ describe('src/cy/commands/navigation', () => {
})
})

it('logs during form submission and yields stale element', () => {
// FIXME: fix flaky test (webkit): https://github.com/cypress-io/cypress/issues/24600
it('logs during form submission and yields stale element', { browser: '!webkit' }, () => {
let expected = false

const names = cy.queue.names()
Expand Down Expand Up @@ -2972,7 +2977,8 @@ describe('src/cy/commands/navigation', () => {
return null
})

it('logs \'form sub\'', () => {
// FIXME: fix flaky test (webkit): https://github.com/cypress-io/cypress/issues/24600
it('logs \'form sub\'', { browser: '!webkit' }, () => {
let event = null

cy
Expand Down

5 comments on commit c9db39f

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9db39f Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.2/linux-arm64/develop-c9db39f7c855727dc2686b39c64d6b2fecbcc375/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9db39f Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.2/linux-x64/develop-c9db39f7c855727dc2686b39c64d6b2fecbcc375/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9db39f Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.2/darwin-x64/develop-c9db39f7c855727dc2686b39c64d6b2fecbcc375/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9db39f Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.2/win32-x64/develop-c9db39f7c855727dc2686b39c64d6b2fecbcc375/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c9db39f Nov 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.0.2/darwin-arm64/develop-c9db39f7c855727dc2686b39c64d6b2fecbcc375/cypress.tgz

Please sign in to comment.