From 7735405891944d9098cf4c661b17ce0cca5f4cb9 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Mon, 18 Mar 2024 13:37:28 -0400 Subject: [PATCH] chore: skip flaky tests (#29149) * chore: skip flakiest test * Don't run flaky test in webkit --- packages/app/cypress/e2e/specs_list_latest_runs.cy.ts | 3 ++- packages/driver/cypress/e2e/commands/net_stubbing.cy.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/app/cypress/e2e/specs_list_latest_runs.cy.ts b/packages/app/cypress/e2e/specs_list_latest_runs.cy.ts index a935161ddc50..80923b676e9a 100644 --- a/packages/app/cypress/e2e/specs_list_latest_runs.cy.ts +++ b/packages/app/cypress/e2e/specs_list_latest_runs.cy.ts @@ -199,7 +199,8 @@ describe('App/Cloud Integration - Latest runs and Average duration', { viewportW }) }) - context('when no runs are recorded', () => { + // TODO: Flaky test: Sometimes this test renders the empty view instead of the placeholder + context.skip('when no runs are recorded', () => { it('shows placeholders for all visible specs', { defaultCommandTimeout: 6000 }, () => { cy.loginUser() diff --git a/packages/driver/cypress/e2e/commands/net_stubbing.cy.ts b/packages/driver/cypress/e2e/commands/net_stubbing.cy.ts index 6ed6c827796d..f890965275d3 100644 --- a/packages/driver/cypress/e2e/commands/net_stubbing.cy.ts +++ b/packages/driver/cypress/e2e/commands/net_stubbing.cy.ts @@ -2199,7 +2199,7 @@ describe('network stubbing', { retries: 15 }, function () { context('with `times`', function () { // TODO: fix flaky test https://github.com/cypress-io/cypress/issues/23434 - it('only uses each handler N times', { retries: 15 }, function () { + it('only uses each handler N times', { browser: '!webkit', retries: 15 }, function () { const url = uniqueRoute('/foo') const third = sinon.stub()