Skip to content

Commit 75a0889

Browse files
committed
fixes...
1 parent cac212e commit 75a0889

File tree

7 files changed

+13
-72
lines changed

7 files changed

+13
-72
lines changed

dev-packages/e2e-tests/test-applications/react-send-to-sentry/tests/send-to-sentry.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ test('Sends a navigation transaction to Sentry', async ({ page }) => {
9090
await page.goto('/');
9191

9292
// Give pageload transaction time to finish
93-
page.waitForTimeout(4000);
93+
await page.waitForTimeout(4000);
9494

9595
const linkElement = page.locator('id=navigation');
9696
await linkElement.click();

dev-packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ test('Sends a navigation transaction to Sentry', async ({ page }) => {
8787
await page.goto('/');
8888

8989
// Give pageload transaction time to finish
90-
page.waitForTimeout(4000);
90+
await page.waitForTimeout(4000);
9191

9292
const linkElement = page.locator('id=navigation');
9393
await linkElement.click();

dev-packages/e2e-tests/test-applications/tanstack-router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"@vitejs/plugin-react-swc": "^3.5.0",
2626
"typescript": "^5.2.2",
2727
"vite": "^5.2.0",
28-
"@playwright/test": "^1.41.1",
29-
"@sentry-internal/event-proxy-server": "link:../../../event-proxy-server"
28+
"@playwright/test": "^1.44.1",
29+
"@sentry-internal/test-utils": "link:../../../test-utils"
3030
},
3131
"volta": {
3232
"extends": "../../package.json"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
2+
3+
const config = getPlaywrightConfig({
4+
startCommand: `pnpm start`,
5+
});
6+
7+
export default config;

dev-packages/e2e-tests/test-applications/tanstack-router/playwright.config.ts

Lines changed: 0 additions & 66 deletions
This file was deleted.

dev-packages/e2e-tests/test-applications/tanstack-router/start-event-proxy.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { startEventProxyServer } from '@sentry-internal/event-proxy-server';
1+
import { startEventProxyServer } from '@sentry-internal/test-utils';
22

33
startEventProxyServer({
44
port: 3031,

dev-packages/e2e-tests/test-applications/tanstack-router/tests/routing-instrumentation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, test } from '@playwright/test';
2-
import { waitForTransaction } from '@sentry-internal/event-proxy-server';
2+
import { waitForTransaction } from '@sentry-internal/test-utils';
33

44
test('sends a pageload transaction with a parameterized URL', async ({ page }) => {
55
const transactionPromise = waitForTransaction('tanstack-router', async transactionEvent => {

0 commit comments

Comments
 (0)