diff --git a/packages/browser-integration-tests/suites/replay/multiple-pages/test.ts b/packages/browser-integration-tests/suites/replay/multiple-pages/test.ts index 63aaeb8b1562..c7f591b97982 100644 --- a/packages/browser-integration-tests/suites/replay/multiple-pages/test.ts +++ b/packages/browser-integration-tests/suites/replay/multiple-pages/test.ts @@ -271,10 +271,7 @@ sentryTest( // // ----------------------------------------------------------------------------------------- // // And just to finish this off, let's go back to the index page - const [, req8] = await Promise.all([ - page.click('a'), - reqPromise8 - ]); + const [, req8] = await Promise.all([page.click('a'), reqPromise8]); const replayEvent8 = getReplayEvent(req8); const recording8 = getReplayRecordingContent(req8); @@ -287,10 +284,7 @@ sentryTest( expect(normalize(recording8.fullSnapshots)).toMatchSnapshot('seg-8-snap-full'); expect(recording8.incrementalSnapshots.length).toEqual(0); - const [, req9] = await Promise.all([ - page.click('#go-background'), - reqPromise9 - ]); + const [, req9] = await Promise.all([page.click('#go-background'), reqPromise9]); const replayEvent9 = getReplayEvent(req9); const recording9 = getReplayRecordingContent(req9); diff --git a/packages/browser-integration-tests/suites/replay/requests/test.ts b/packages/browser-integration-tests/suites/replay/requests/test.ts index dfb16327f7a8..260ae3ab28aa 100644 --- a/packages/browser-integration-tests/suites/replay/requests/test.ts +++ b/packages/browser-integration-tests/suites/replay/requests/test.ts @@ -69,14 +69,13 @@ sentryTest('replay recording should contain XHR request span', async ({ getLocal const reqPromise0 = waitForReplayRequest(page, 0); const reqPromise1 = waitForReplayRequest(page, 1); - const url = await getLocalTestPath({ testDir: __dirname }); const [, req0] = await Promise.all([Promise.all([page.goto(url), page.click('#go-background')]), reqPromise0]); const { performanceSpans: spans0 } = getReplayRecordingContent(req0); - await Promise.all([page.click('#xhr'), page.waitForResponse('https://example.com')]) + await Promise.all([page.click('#xhr'), page.waitForResponse('https://example.com')]); const { performanceSpans: spans1 } = getReplayRecordingContent(await reqPromise1);