Skip to content

Commit aac3fe6

Browse files
committed
Fix tests round 2
1 parent 521bb7f commit aac3fe6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev-packages/e2e-tests/test-applications/react-router-7-framework/tests/performance/trace-propagation.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ test.describe('Trace propagation', () => {
3535
});
3636

3737
test('should not have trace connection for prerendered pages', async ({ page }) => {
38-
await page.goto(`/performance/static`);
38+
await page.goto('/performance/static');
3939

40-
expect(page.locator('meta[name="sentry-trace"]')).toBeUndefined()
40+
const sentryTraceElement = await page.$('meta[name="sentry-trace"]');
41+
expect(sentryTraceElement).toBeNull();
4142
});
4243
});

0 commit comments

Comments
 (0)