Skip to content

Commit ed5ea3a

Browse files
committed
more flaky
1 parent 508e77f commit ed5ea3a

File tree

2 files changed

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

2 files changed

+10
-10
lines changed

packages/browser-integration-tests/suites/replay/errors/errorsInSession/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ for (let i = 0; i < 100; i++) {
1414
sentryTest(
1515
`[session-mode] replay event should contain an error id of an error that occurred during session recording RUN ${i}`,
1616
async ({ getLocalTestPath, page, browserName, forceFlushReplay }) => {
17-
// TODO(replay): This is flakey on firefox where clicks are flakey
18-
if (shouldSkipReplayTest() || browserName === 'firefox') {
17+
// Skipping this in firefox/webkit because it is flakey there
18+
if (shouldSkipReplayTest() || ['firefox', 'webkit'].includes(browserName)) {
1919
sentryTest.skip();
2020
}
2121

@@ -88,8 +88,8 @@ for (let i = 0; i < 100; i++) {
8888
sentryTest(
8989
`[session-mode] replay event should not contain an error id of a dropped error while recording RUN ${i}`,
9090
async ({ getLocalTestPath, page, forceFlushReplay, browserName }) => {
91-
// TODO(replay): This is flakey on firefox where clicks are flakey
92-
if (shouldSkipReplayTest() || browserName === 'firefox') {
91+
// Skipping this in firefox/webkit because it is flakey there
92+
if (shouldSkipReplayTest() || ['firefox', 'webkit'].includes(browserName)) {
9393
sentryTest.skip();
9494
}
9595

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { expectedFetchPerformanceSpan, expectedXHRPerformanceSpan } from '../../
55
import { getReplayRecordingContent, shouldSkipReplayTest, waitForReplayRequest } from '../../../utils/replayHelpers';
66

77
sentryTest('replay recording should contain fetch request span', async ({ getLocalTestPath, page, browserName }) => {
8-
// For some reason, observing and waiting for requests in firefox is extremely flaky.
9-
// We therefore skip this test for firefox and only test on chromium/webkit.
8+
// For some reason, observing and waiting for requests in firefox/webkit is extremely flaky.
9+
// We therefore skip this test for firefox and only test on chromium.
1010
// Possibly related: https://github.com/microsoft/playwright/issues/11390
11-
if (shouldSkipReplayTest() || browserName === 'firefox') {
11+
if (shouldSkipReplayTest() || ['firefox', 'webkit'].includes(browserName)) {
1212
sentryTest.skip();
1313
}
1414

@@ -48,9 +48,9 @@ sentryTest('replay recording should contain fetch request span', async ({ getLoc
4848
});
4949

5050
sentryTest('replay recording should contain XHR request span', async ({ getLocalTestPath, page, browserName }) => {
51-
// For some reason, observing and waiting for requests in firefox is extremely flaky.
52-
// We therefore skip this test for firefox and only test on chromium/webkit.
53-
if (shouldSkipReplayTest() || browserName === 'firefox') {
51+
// For some reason, observing and waiting for requests in firefox/webkit is extremely flaky.
52+
// We therefore skip this test for firefox and only test on chromium.
53+
if (shouldSkipReplayTest() || ['firefox', 'webkit'].includes(browserName)) {
5454
sentryTest.skip();
5555
}
5656

0 commit comments

Comments
 (0)