Skip to content

Commit c045dcb

Browse files
AbhiPrasadlforst
andauthored
test(replay): Skip flaky replay integration test (#11110)
ref #11062 --------- Co-authored-by: Luca Forstner <[email protected]>
1 parent 0ee499b commit c045dcb

File tree

2 files changed

+12
-4
lines changed
  • dev-packages/browser-integration-tests/suites/replay/extendNetworkBreadcrumbs/fetch

2 files changed

+12
-4
lines changed

dev-packages/browser-integration-tests/suites/replay/extendNetworkBreadcrumbs/fetch/captureRequestHeaders/test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import {
88
shouldSkipReplayTest,
99
} from '../../../../../utils/replayHelpers';
1010

11-
sentryTest('handles empty/missing request headers', async ({ getLocalTestPath, page, browserName }) => {
11+
// Skipping because this test is flaky
12+
// https://github.com/getsentry/sentry-javascript/issues/11062
13+
sentryTest.skip('handles empty/missing request headers', async ({ getLocalTestPath, page, browserName }) => {
1214
if (shouldSkipReplayTest()) {
1315
sentryTest.skip();
1416
}
@@ -250,7 +252,9 @@ sentryTest('captures request headers on Request', async ({ getLocalTestPath, pag
250252
]);
251253
});
252254

253-
sentryTest('captures request headers as Headers instance', async ({ getLocalTestPath, page, browserName }) => {
255+
// This test is flaky.
256+
// See https://github.com/getsentry/sentry-javascript/pull/11110
257+
sentryTest.skip('captures request headers as Headers instance', async ({ getLocalTestPath, page, browserName }) => {
254258
if (shouldSkipReplayTest()) {
255259
sentryTest.skip();
256260
}

dev-packages/browser-integration-tests/suites/replay/extendNetworkBreadcrumbs/fetch/captureRequestSize/test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import {
88
shouldSkipReplayTest,
99
} from '../../../../../utils/replayHelpers';
1010

11-
sentryTest('captures request body size when body is sent', async ({ getLocalTestPath, page }) => {
11+
// Skipping because this test is flaky
12+
// https://github.com/getsentry/sentry-javascript/issues/10395
13+
sentryTest.skip('captures request body size when body is sent', async ({ getLocalTestPath, page }) => {
1214
if (shouldSkipReplayTest()) {
1315
sentryTest.skip();
1416
}
@@ -93,7 +95,9 @@ sentryTest('captures request body size when body is sent', async ({ getLocalTest
9395
]);
9496
});
9597

96-
sentryTest('captures request size from non-text request body', async ({ getLocalTestPath, page }) => {
98+
// This test is flaky.
99+
// See https://github.com/getsentry/sentry-javascript/pull/11110
100+
sentryTest.skip('captures request size from non-text request body', async ({ getLocalTestPath, page }) => {
97101
if (shouldSkipReplayTest()) {
98102
sentryTest.skip();
99103
}

0 commit comments

Comments
 (0)