Skip to content

Commit e95e574

Browse files
authored
test(replay): Skip firefox for flakey tests (#8222)
These tests seem to only flake on firefox?
1 parent 557e84a commit e95e574

File tree

2 files changed

+6
-4
lines changed
  • packages/browser-integration-tests/suites/replay

2 files changed

+6
-4
lines changed

packages/browser-integration-tests/suites/replay/sessionExpiry/test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ import {
1414
// Session should expire after 2s - keep in sync with init.js
1515
const SESSION_TIMEOUT = 2000;
1616

17-
sentryTest('handles an expired session', async ({ getLocalTestPath, page }) => {
18-
if (shouldSkipReplayTest()) {
17+
sentryTest('handles an expired session', async ({ browserName, getLocalTestPath, page }) => {
18+
// This test seems to only be flakey on firefox
19+
if (shouldSkipReplayTest() || ['firefox'].includes(browserName)) {
1920
sentryTest.skip();
2021
}
2122

packages/browser-integration-tests/suites/replay/slowClick/mutation/test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ sentryTest('mutation after threshold results in slow click', async ({ getLocalTe
6363
expect(slowClickBreadcrumbs[0]?.data?.timeAfterClickMs).toBeLessThan(2000);
6464
});
6565

66-
sentryTest('immediate mutation does not trigger slow click', async ({ getLocalTestUrl, page }) => {
67-
if (shouldSkipReplayTest()) {
66+
sentryTest('immediate mutation does not trigger slow click', async ({ browserName, getLocalTestUrl, page }) => {
67+
// This test seems to only be flakey on firefox
68+
if (shouldSkipReplayTest() || ['firefox'].includes(browserName)) {
6869
sentryTest.skip();
6970
}
7071

0 commit comments

Comments
 (0)