diff --git a/dev-packages/browser-integration-tests/suites/feedback/attachTo/test.ts b/dev-packages/browser-integration-tests/suites/feedback/attachTo/test.ts index 022e8f789c2a..a9888ad6edf6 100644 --- a/dev-packages/browser-integration-tests/suites/feedback/attachTo/test.ts +++ b/dev-packages/browser-integration-tests/suites/feedback/attachTo/test.ts @@ -23,7 +23,7 @@ sentryTest('should capture feedback with custom button', async ({ getLocalTestUr } }); - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); await page.goto(url); await page.locator('#custom-feedback-button').click(); diff --git a/dev-packages/browser-integration-tests/suites/feedback/captureFeedback/test.ts b/dev-packages/browser-integration-tests/suites/feedback/captureFeedback/test.ts index c553412d5933..138e7225a7c8 100644 --- a/dev-packages/browser-integration-tests/suites/feedback/captureFeedback/test.ts +++ b/dev-packages/browser-integration-tests/suites/feedback/captureFeedback/test.ts @@ -23,7 +23,7 @@ sentryTest('should capture feedback', async ({ getLocalTestUrl, page }) => { } }); - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); await page.goto(url); await page.getByText('Report a Bug').click(); diff --git a/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackAndReplay/hasSampling/test.ts b/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackAndReplay/hasSampling/test.ts index e42c42433de3..51374ac81947 100644 --- a/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackAndReplay/hasSampling/test.ts +++ b/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackAndReplay/hasSampling/test.ts @@ -31,7 +31,7 @@ sentryTest('should capture feedback', async ({ forceFlushReplay, getLocalTestUrl } }); - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); await Promise.all([page.goto(url), page.getByText('Report a Bug').click(), reqPromise0]); diff --git a/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackCsp/test.ts b/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackCsp/test.ts index a80fa4c2c6bf..77eadb71173a 100644 --- a/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackCsp/test.ts +++ b/dev-packages/browser-integration-tests/suites/feedback/captureFeedbackCsp/test.ts @@ -23,7 +23,7 @@ sentryTest('should capture feedback', async ({ getLocalTestUrl, page }) => { } }); - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); await page.goto(url); await page.getByText('Report a Bug').click(); diff --git a/dev-packages/browser-integration-tests/suites/integrations/lazyLoad/feedbackIntegration/test.ts b/dev-packages/browser-integration-tests/suites/integrations/lazyLoad/feedbackIntegration/test.ts index d054c2da2e99..76e23efd7ef8 100644 --- a/dev-packages/browser-integration-tests/suites/integrations/lazyLoad/feedbackIntegration/test.ts +++ b/dev-packages/browser-integration-tests/suites/integrations/lazyLoad/feedbackIntegration/test.ts @@ -5,7 +5,7 @@ import { sentryTest } from '../../../../utils/fixtures'; sentryTest('it allows to lazy load the feedback integration', async ({ getLocalTestUrl, page }) => { const bundle = process.env.PW_BUNDLE || ''; - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); await page.route(`https://browser.sentry-cdn.com/${SDK_VERSION}/feedback.min.js`, route => { return route.fulfill({ diff --git a/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/navigation/test.ts b/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/navigation/test.ts index b62923be0e9b..f6cb0a413878 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/navigation/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/navigation/test.ts @@ -316,7 +316,7 @@ sentryTest( sentryTest.skip(); } - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); // ensure pageload transaction is finished await getFirstSentryEnvelopeRequest(page, url); diff --git a/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload-meta/test.ts b/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload-meta/test.ts index 6f94fe7b4fc1..bdfe0521c433 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload-meta/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload-meta/test.ts @@ -302,7 +302,7 @@ sentryTest('user feedback event after pageload has pageload traceId in headers', sentryTest.skip(); } - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); const pageloadEvent = await getFirstSentryEnvelopeRequest(page, url); const pageloadTraceContext = pageloadEvent.contexts?.trace; diff --git a/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload/test.ts b/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload/test.ts index 5ef3cb81ad28..c9e07869a237 100644 --- a/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload/test.ts +++ b/dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/pageload/test.ts @@ -442,7 +442,7 @@ sentryTest('user feedback event after pageload has pageload traceId in headers', sentryTest.skip(); } - const url = await getLocalTestUrl({ testDir: __dirname }); + const url = await getLocalTestUrl({ testDir: __dirname, handleLazyLoadedFeedback: true }); const pageloadEvent = await getFirstSentryEnvelopeRequest(page, url); const pageloadTraceContext = pageloadEvent.contexts?.trace;