We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d04a90d commit 061ead9Copy full SHA for 061ead9
packages/browser-integration-tests/suites/replay/dsc/test.ts
@@ -54,11 +54,19 @@ sentryTest(
54
sentryTest.skip();
55
}
56
57
+ await page.route('https://dsn.ingest.sentry.io/**/*', route => {
58
+ return route.fulfill({
59
+ status: 200,
60
+ contentType: 'application/json',
61
+ body: JSON.stringify({ id: 'test-id' }),
62
+ });
63
64
+
65
const url = await getLocalTestPath({ testDir: __dirname });
66
await page.goto(url);
67
- await page.evaluate(() => {
- void (window as unknown as TestWindow).Replay.stop();
68
+ await page.evaluate(async () => {
69
+ await (window as unknown as TestWindow).Replay.stop();
70
71
(window as unknown as TestWindow).Sentry.configureScope(scope => {
72
scope.setUser({ id: 'user123', segment: 'segmentB' });
0 commit comments