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('/');

packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.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 pageload transaction', async ({ page }) => {
1111
const pageloadTransactionEventPromise = waitForTransaction('nextjs-13-app-dir', transactionEvent => {

packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts

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

packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.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 exception to Sentry', async ({ baseURL }) => {
1010
const { data } = await axios.get(`${baseURL}/test-error`);

packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { waitForTransaction } from '../event-proxy-server';
66
const authToken = process.env.E2E_TEST_AUTH_TOKEN;
77
const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG;
88
const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
9-
const EVENT_POLLING_TIMEOUT = 30_000;
9+
const EVENT_POLLING_TIMEOUT = 90_000;
1010

1111
test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
1212
const inboundTransactionPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => {

packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.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 an API route transaction', async ({ baseURL }) => {
1111
const pageloadTransactionEventPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => {

packages/e2e-tests/test-applications/node-express-app/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const expressPort = 3030;
1515
const config: PlaywrightTestConfig = {
1616
testDir: './tests',
1717
/* Maximum time one test can run for. */
18-
timeout: 60 * 1000,
18+
timeout: 150_000,
1919
expect: {
2020
/**
2121
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { waitForError } from '../event-proxy-server';
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 exception to Sentry', async ({ baseURL }) => {
1111
const { data } = await axios.get(`${baseURL}/test-error`);

packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { devices } from '@playwright/test';
77
const config: PlaywrightTestConfig = {
88
testDir: './tests',
99
/* Maximum time one test can run for. */
10-
timeout: 60 * 1000,
10+
timeout: 150_000,
1111
expect: {
1212
/**
1313
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts

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

5-
const EVENT_POLLING_TIMEOUT = 30_000;
5+
const EVENT_POLLING_TIMEOUT = 90_000;
66

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

packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { devices } from '@playwright/test';
77
const config: PlaywrightTestConfig = {
88
testDir: './tests',
99
/* Maximum time one test can run for. */
10-
timeout: 60 * 1000,
10+
timeout: 150_000,
1111
expect: {
1212
/**
1313
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts

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

5-
const EVENT_POLLING_TIMEOUT = 30_000;
5+
const EVENT_POLLING_TIMEOUT = 90_000;
66

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

packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { devices } from '@playwright/test';
77
const config: PlaywrightTestConfig = {
88
testDir: './tests',
99
/* Maximum time one test can run for. */
10-
timeout: 60 * 1000,
10+
timeout: 150_000,
1111
expect: {
1212
/**
1313
* Maximum time expect() should wait for the condition to be met.

packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.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/standard-frontend-react/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { devices } from '@playwright/test';
77
const config: PlaywrightTestConfig = {
88
testDir: './tests',
99
/* Maximum time one test can run for. */
10-
timeout: 60 * 1000,
10+
timeout: 150_000,
1111
expect: {
1212
/**
1313
* Maximum time expect() should wait for the condition to be met.

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
@@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test';
22
import axios, { AxiosError } from 'axios';
33
import { ReplayRecordingData } from './fixtures/ReplayRecordingData';
44

5-
const EVENT_POLLING_TIMEOUT = 30_000;
5+
const EVENT_POLLING_TIMEOUT = 90_000;
66

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

packages/e2e-tests/test-applications/sveltekit/playwright.config.ts

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

packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts

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

1111
test('Sends a pageload transaction', async ({ page }) => {
1212
const pageloadTransactionEventPromise = waitForTransaction('sveltekit', (transactionEvent: any) => {

0 commit comments

Comments
 (0)