Skip to content

Commit be44a21

Browse files
authored
test(e2e): Increase polling timeout from 30 to 90 seconds (#9491)
We talked about this a few times, maybe increasing the timeout here helps!
1 parent db5ce41 commit be44a21

File tree

27 files changed

+27
-27
lines changed

27 files changed

+27
-27
lines changed

packages/e2e-tests/test-applications/create-next-app/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const port = 3030;
2020
const config: PlaywrightTestConfig = {
2121
testDir: './tests',
2222
/* Maximum time one test can run for. */
23-
timeout: 60 * 1000,
23+
timeout: 150_000,
2424
expect: {
2525
/**
2626
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios';
44
const authToken = process.env.E2E_TEST_AUTH_TOKEN;
55
const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG;
66
const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
7-
const EVENT_POLLING_TIMEOUT = 30_000;
7+
const EVENT_POLLING_TIMEOUT = 90_000;
88

99
test('Sends a client-side exception to Sentry', async ({ page }) => {
1010
await page.goto('/');

packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios';
44
const authToken = process.env.E2E_TEST_AUTH_TOKEN;
55
const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG;
66
const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
7-
const EVENT_POLLING_TIMEOUT = 30_000;
7+
const EVENT_POLLING_TIMEOUT = 90_000;
88

99
test('Sends a server-side exception to Sentry', async ({ baseURL }) => {
1010
const { data } = await axios.get(`${baseURL}/api/error`);

packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const port = 3030;
99
const config: PlaywrightTestConfig = {
1010
testDir: './tests',
1111
/* Maximum time one test can run for. */
12-
timeout: 60 * 1000,
12+
timeout: 150_000,
1313
expect: {
1414
/**
1515
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect } from '@playwright/test';
22
import axios, { AxiosError } from 'axios';
33

4-
const EVENT_POLLING_TIMEOUT = 30_000;
4+
const EVENT_POLLING_TIMEOUT = 90_000;
55

66
const authToken = process.env.E2E_TEST_AUTH_TOKEN;
77
const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG;

packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const port = 3030;
99
const config: PlaywrightTestConfig = {
1010
testDir: './tests',
1111
/* Maximum time one test can run for. */
12-
timeout: 60 * 1000,
12+
timeout: 150_000,
1313
expect: {
1414
/**
1515
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect } from '@playwright/test';
22
import axios, { AxiosError } from 'axios';
33

4-
const EVENT_POLLING_TIMEOUT = 30_000;
4+
const EVENT_POLLING_TIMEOUT = 90_000;
55

66
const authToken = process.env.E2E_TEST_AUTH_TOKEN;
77
const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG;

packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import path from 'path';
55
const authToken = process.env.E2E_TEST_AUTH_TOKEN;
66
const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG;
77
const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
8-
const EVENT_POLLING_TIMEOUT = 30_000;
8+
const EVENT_POLLING_TIMEOUT = 90_000;
99

1010
test(
1111
'Find symbolicated event on sentry',

packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const eventProxyPort = 3031;
2121
const config: PlaywrightTestConfig = {
2222
testDir: './tests',
2323
/* Maximum time one test can run for. */
24-
timeout: 60 * 1000,
24+
timeout: 150_000,
2525
expect: {
2626
/**
2727
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios';
55
const authToken = process.env.E2E_TEST_AUTH_TOKEN;
66
const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG;
77
const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
8-
const EVENT_POLLING_TIMEOUT = 30_000;
8+
const EVENT_POLLING_TIMEOUT = 90_000;
99

1010
test('Sends a client-side exception to Sentry', async ({ page }) => {
1111
await page.goto('/');

0 commit comments

Comments
 (0)