From 7284473b5383fe2eb9729f0cf3fa2968ccbf8d74 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Wed, 8 Nov 2023 16:45:54 +0100 Subject: [PATCH 1/3] test(e2e): Increase polling timeout from 30 to 45 seconds We get timeouts somewhat frequently, maybe this fixes it. --- .../create-next-app/tests/behaviour-client.test.ts | 2 +- .../create-next-app/tests/behaviour-server.test.ts | 2 +- .../create-remix-app-v2/tests/behaviour-client.test.ts | 2 +- .../create-remix-app/tests/behaviour-client.test.ts | 2 +- .../test-applications/debug-id-sourcemaps/tests/server.test.ts | 2 +- .../test-applications/nextjs-app-dir/tests/exceptions.test.ts | 2 +- .../test-applications/nextjs-app-dir/tests/transactions.test.ts | 2 +- .../node-experimental-fastify-app/tests/errors.test.ts | 2 +- .../node-experimental-fastify-app/tests/propagation.test.ts | 2 +- .../node-experimental-fastify-app/tests/transactions.test.ts | 2 +- .../test-applications/node-express-app/tests/server.test.ts | 2 +- .../react-create-hash-router/tests/behaviour-test.spec.ts | 2 +- .../react-router-6-use-routes/tests/behaviour-test.spec.ts | 2 +- .../tests/behaviour-test.spec.ts | 2 +- .../standard-frontend-react/tests/behaviour-test.spec.ts | 2 +- .../test-applications/sveltekit/test/transaction.test.ts | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts index d0ede66cf32f..ad495f4ef7b5 100644 --- a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends a client-side exception to Sentry', async ({ page }) => { await page.goto('/'); diff --git a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts index 3b3d74af1885..4a403ce7e799 100644 --- a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts +++ b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends a server-side exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/api/error`); diff --git a/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts index e07481075f5a..280bf6566fa5 100644 --- a/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts index e07481075f5a..280bf6566fa5 100644 --- a/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts b/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts index df41adb615c8..d059cd7ef097 100644 --- a/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts +++ b/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts @@ -5,7 +5,7 @@ import path from 'path'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test( 'Find symbolicated event on sentry', diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts index d31e869fd8b3..97cb8318efdf 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends a client-side exception to Sentry', async ({ page }) => { await page.goto('/'); diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts index 8413d623eb5c..a0c143c30841 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends a pageload transaction', async ({ page }) => { const pageloadTransactionEventPromise = waitForTransaction('nextjs-13-app-dir', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts index 4656ba23e7de..7e4aacaf58f7 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/test-error`); diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts index d069fd299682..55013e644b8b 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts @@ -6,7 +6,7 @@ import { waitForTransaction } from '../event-proxy-server'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Propagates trace for outgoing http requests', async ({ baseURL }) => { const inboundTransactionPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts index b9241d5a2569..eca89d749467 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends an API route transaction', async ({ baseURL }) => { const pageloadTransactionEventPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts b/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts index 4429c2d46edd..a9d514bfc343 100644 --- a/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts +++ b/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts @@ -5,7 +5,7 @@ import { waitForError } from '../event-proxy-server'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/test-error`); diff --git a/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts index 43d8eeec8f35..3131735779f1 100644 --- a/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts index 2bda1adcbf9c..55c069073889 100644 --- a/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts index 8ff0e686feb4..f9f0edcad540 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts index 2bda1adcbf9c..55c069073889 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts b/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts index edc36cb5ca9c..afb12b807012 100644 --- a/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts +++ b/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts @@ -6,7 +6,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 30_000; +const EVENT_POLLING_TIMEOUT = 45_000; test('Sends a pageload transaction', async ({ page }) => { const pageloadTransactionEventPromise = waitForTransaction('sveltekit', (transactionEvent: any) => { From f67e3152e5d550fd06000ec794b3292aefe74aa4 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Wed, 8 Nov 2023 17:06:38 +0100 Subject: [PATCH 2/3] extend to 60s timeout?? --- .../test-applications/create-next-app/playwright.config.ts | 2 +- .../create-next-app/tests/behaviour-client.test.ts | 2 +- .../create-next-app/tests/behaviour-server.test.ts | 2 +- .../test-applications/create-remix-app-v2/playwright.config.ts | 2 +- .../create-remix-app-v2/tests/behaviour-client.test.ts | 2 +- .../test-applications/create-remix-app/playwright.config.ts | 2 +- .../create-remix-app/tests/behaviour-client.test.ts | 2 +- .../test-applications/debug-id-sourcemaps/tests/server.test.ts | 2 +- .../test-applications/nextjs-app-dir/playwright.config.ts | 2 +- .../test-applications/nextjs-app-dir/tests/exceptions.test.ts | 2 +- .../test-applications/nextjs-app-dir/tests/transactions.test.ts | 2 +- .../node-experimental-fastify-app/playwright.config.ts | 2 +- .../node-experimental-fastify-app/tests/errors.test.ts | 2 +- .../node-experimental-fastify-app/tests/propagation.test.ts | 2 +- .../node-experimental-fastify-app/tests/transactions.test.ts | 2 +- .../test-applications/node-express-app/playwright.config.ts | 2 +- .../test-applications/node-express-app/tests/server.test.ts | 2 +- .../react-create-hash-router/playwright.config.ts | 2 +- .../react-create-hash-router/tests/behaviour-test.spec.ts | 2 +- .../react-router-6-use-routes/playwright.config.ts | 2 +- .../react-router-6-use-routes/tests/behaviour-test.spec.ts | 2 +- .../standard-frontend-react-tracing-import/playwright.config.ts | 2 +- .../tests/behaviour-test.spec.ts | 2 +- .../standard-frontend-react/playwright.config.ts | 2 +- .../standard-frontend-react/tests/behaviour-test.spec.ts | 2 +- .../e2e-tests/test-applications/sveltekit/playwright.config.ts | 2 +- .../test-applications/sveltekit/test/transaction.test.ts | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts b/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts index 734bda58c10f..eee4a8cf9dc3 100644 --- a/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts @@ -20,7 +20,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts index ad495f4ef7b5..90e893bcfc6d 100644 --- a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends a client-side exception to Sentry', async ({ page }) => { await page.goto('/'); diff --git a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts index 4a403ce7e799..58d70f765f5d 100644 --- a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts +++ b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends a server-side exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/api/error`); diff --git a/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts b/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts index 33f00235771b..18d13ee3664e 100644 --- a/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts +++ b/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts @@ -9,7 +9,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts index 280bf6566fa5..8e2f78a1fb67 100644 --- a/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts b/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts index b35659cecdb5..5f03b24d7540 100644 --- a/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts @@ -9,7 +9,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts index 280bf6566fa5..8e2f78a1fb67 100644 --- a/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts b/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts index d059cd7ef097..89dda22cbbbc 100644 --- a/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts +++ b/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts @@ -5,7 +5,7 @@ import path from 'path'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test( 'Find symbolicated event on sentry', diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts index 391b5eac610e..585809ee9384 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts @@ -21,7 +21,7 @@ const eventProxyPort = 3031; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts index 97cb8318efdf..0a18e2e7d441 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends a client-side exception to Sentry', async ({ page }) => { await page.goto('/'); diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts index a0c143c30841..60003baab31a 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends a pageload transaction', async ({ page }) => { const pageloadTransactionEventPromise = waitForTransaction('nextjs-13-app-dir', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts index f39997dc76e8..325649a77b16 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts @@ -10,7 +10,7 @@ const eventProxyPort = 3031; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts index 7e4aacaf58f7..eda97df05e7d 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/test-error`); diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts index 55013e644b8b..f973e3a8160c 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts @@ -6,7 +6,7 @@ import { waitForTransaction } from '../event-proxy-server'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Propagates trace for outgoing http requests', async ({ baseURL }) => { const inboundTransactionPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts index eca89d749467..dcfd7efd8024 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends an API route transaction', async ({ baseURL }) => { const pageloadTransactionEventPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts b/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts index d3fbb6971415..cc881276a0f8 100644 --- a/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts @@ -15,7 +15,7 @@ const expressPort = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts b/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts index a9d514bfc343..5510ba29acdf 100644 --- a/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts +++ b/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts @@ -5,7 +5,7 @@ import { waitForError } from '../event-proxy-server'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/test-error`); diff --git a/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts b/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts index c68482378d7a..1a8d4220a941 100644 --- a/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts +++ b/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts index 3131735779f1..0f253835f465 100644 --- a/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts b/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts index c68482378d7a..1a8d4220a941 100644 --- a/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts +++ b/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts index 55c069073889..84629d605194 100644 --- a/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts index c68482378d7a..1a8d4220a941 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts index f9f0edcad540..0a84fd2bafb7 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts b/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts index c68482378d7a..1a8d4220a941 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts index 55c069073889..84629d605194 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts b/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts index e38177e51a90..9e0b15b62507 100644 --- a/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts +++ b/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts @@ -15,7 +15,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './test', /* Maximum time one test can run for. */ - timeout: 60 * 1000, + timeout: 120_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts b/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts index afb12b807012..eba8cd1fb6b6 100644 --- a/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts +++ b/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts @@ -6,7 +6,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 45_000; +const EVENT_POLLING_TIMEOUT = 60_000; test('Sends a pageload transaction', async ({ page }) => { const pageloadTransactionEventPromise = waitForTransaction('sveltekit', (transactionEvent: any) => { From 1c548a70aa4977bd97e0b05c79261783b655547a Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Thu, 9 Nov 2023 10:29:59 +0100 Subject: [PATCH 3/3] update timeout to 90 seconds --- .../test-applications/create-next-app/playwright.config.ts | 2 +- .../create-next-app/tests/behaviour-client.test.ts | 2 +- .../create-next-app/tests/behaviour-server.test.ts | 2 +- .../test-applications/create-remix-app-v2/playwright.config.ts | 2 +- .../create-remix-app-v2/tests/behaviour-client.test.ts | 2 +- .../test-applications/create-remix-app/playwright.config.ts | 2 +- .../create-remix-app/tests/behaviour-client.test.ts | 2 +- .../test-applications/debug-id-sourcemaps/tests/server.test.ts | 2 +- .../test-applications/nextjs-app-dir/playwright.config.ts | 2 +- .../test-applications/nextjs-app-dir/tests/exceptions.test.ts | 2 +- .../test-applications/nextjs-app-dir/tests/transactions.test.ts | 2 +- .../node-experimental-fastify-app/playwright.config.ts | 2 +- .../node-experimental-fastify-app/tests/errors.test.ts | 2 +- .../node-experimental-fastify-app/tests/propagation.test.ts | 2 +- .../node-experimental-fastify-app/tests/transactions.test.ts | 2 +- .../test-applications/node-express-app/playwright.config.ts | 2 +- .../test-applications/node-express-app/tests/server.test.ts | 2 +- .../react-create-hash-router/playwright.config.ts | 2 +- .../react-create-hash-router/tests/behaviour-test.spec.ts | 2 +- .../react-router-6-use-routes/playwright.config.ts | 2 +- .../react-router-6-use-routes/tests/behaviour-test.spec.ts | 2 +- .../standard-frontend-react-tracing-import/playwright.config.ts | 2 +- .../tests/behaviour-test.spec.ts | 2 +- .../standard-frontend-react/playwright.config.ts | 2 +- .../standard-frontend-react/tests/behaviour-test.spec.ts | 2 +- .../e2e-tests/test-applications/sveltekit/playwright.config.ts | 2 +- .../test-applications/sveltekit/test/transaction.test.ts | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts b/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts index eee4a8cf9dc3..7c84f56d178f 100644 --- a/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/create-next-app/playwright.config.ts @@ -20,7 +20,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts index 90e893bcfc6d..54d52d32172b 100644 --- a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends a client-side exception to Sentry', async ({ page }) => { await page.goto('/'); diff --git a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts index 58d70f765f5d..a864701afa9b 100644 --- a/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts +++ b/packages/e2e-tests/test-applications/create-next-app/tests/behaviour-server.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends a server-side exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/api/error`); diff --git a/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts b/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts index 18d13ee3664e..79efcbc22c1a 100644 --- a/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts +++ b/packages/e2e-tests/test-applications/create-remix-app-v2/playwright.config.ts @@ -9,7 +9,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts index 8e2f78a1fb67..6d61264b8faf 100644 --- a/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-remix-app-v2/tests/behaviour-client.test.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts b/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts index 5f03b24d7540..785ca43321a4 100644 --- a/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/create-remix-app/playwright.config.ts @@ -9,7 +9,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts b/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts index 8e2f78a1fb67..6d61264b8faf 100644 --- a/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts +++ b/packages/e2e-tests/test-applications/create-remix-app/tests/behaviour-client.test.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts b/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts index 89dda22cbbbc..51f272fa514a 100644 --- a/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts +++ b/packages/e2e-tests/test-applications/debug-id-sourcemaps/tests/server.test.ts @@ -5,7 +5,7 @@ import path from 'path'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test( 'Find symbolicated event on sentry', diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts index 585809ee9384..ab3c40a21471 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/playwright.config.ts @@ -21,7 +21,7 @@ const eventProxyPort = 3031; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts index 0a18e2e7d441..5383a43c34a9 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/exceptions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends a client-side exception to Sentry', async ({ page }) => { await page.goto('/'); diff --git a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts index 60003baab31a..b57538e3b90c 100644 --- a/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts +++ b/packages/e2e-tests/test-applications/nextjs-app-dir/tests/transactions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends a pageload transaction', async ({ page }) => { const pageloadTransactionEventPromise = waitForTransaction('nextjs-13-app-dir', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts index 325649a77b16..8565f228f271 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/playwright.config.ts @@ -10,7 +10,7 @@ const eventProxyPort = 3031; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts index eda97df05e7d..70a0a9c660e0 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/errors.test.ts @@ -4,7 +4,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/test-error`); diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts index f973e3a8160c..b05228b21311 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/propagation.test.ts @@ -6,7 +6,7 @@ import { waitForTransaction } from '../event-proxy-server'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Propagates trace for outgoing http requests', async ({ baseURL }) => { const inboundTransactionPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts index dcfd7efd8024..b89297c1689d 100644 --- a/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts +++ b/packages/e2e-tests/test-applications/node-experimental-fastify-app/tests/transactions.test.ts @@ -5,7 +5,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends an API route transaction', async ({ baseURL }) => { const pageloadTransactionEventPromise = waitForTransaction('node-experimental-fastify-app', transactionEvent => { diff --git a/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts b/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts index cc881276a0f8..58192fc98bb6 100644 --- a/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts +++ b/packages/e2e-tests/test-applications/node-express-app/playwright.config.ts @@ -15,7 +15,7 @@ const expressPort = 3030; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts b/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts index 5510ba29acdf..2443fcf55f66 100644 --- a/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts +++ b/packages/e2e-tests/test-applications/node-express-app/tests/server.test.ts @@ -5,7 +5,7 @@ import { waitForError } from '../event-proxy-server'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends exception to Sentry', async ({ baseURL }) => { const { data } = await axios.get(`${baseURL}/test-error`); diff --git a/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts b/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts index 1a8d4220a941..5f93f826ebf0 100644 --- a/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts +++ b/packages/e2e-tests/test-applications/react-create-hash-router/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts index 0f253835f465..5397dfa8eb64 100644 --- a/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/react-create-hash-router/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts b/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts index 1a8d4220a941..5f93f826ebf0 100644 --- a/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts +++ b/packages/e2e-tests/test-applications/react-router-6-use-routes/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts index 84629d605194..4800c9e7cb0e 100644 --- a/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/react-router-6-use-routes/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts index 1a8d4220a941..5f93f826ebf0 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts index 0a84fd2bafb7..632d2bfe9d55 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react-tracing-import/tests/behaviour-test.spec.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts b/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts index 1a8d4220a941..5f93f826ebf0 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react/playwright.config.ts @@ -7,7 +7,7 @@ import { devices } from '@playwright/test'; const config: PlaywrightTestConfig = { testDir: './tests', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts b/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts index 84629d605194..4800c9e7cb0e 100644 --- a/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts +++ b/packages/e2e-tests/test-applications/standard-frontend-react/tests/behaviour-test.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import axios, { AxiosError } from 'axios'; import { ReplayRecordingData } from './fixtures/ReplayRecordingData'; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; diff --git a/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts b/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts index 9e0b15b62507..bfa29df7d549 100644 --- a/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts +++ b/packages/e2e-tests/test-applications/sveltekit/playwright.config.ts @@ -15,7 +15,7 @@ const port = 3030; const config: PlaywrightTestConfig = { testDir: './test', /* Maximum time one test can run for. */ - timeout: 120_000, + timeout: 150_000, expect: { /** * Maximum time expect() should wait for the condition to be met. diff --git a/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts b/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts index eba8cd1fb6b6..2a069a79b22f 100644 --- a/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts +++ b/packages/e2e-tests/test-applications/sveltekit/test/transaction.test.ts @@ -6,7 +6,7 @@ import axios, { AxiosError } from 'axios'; const authToken = process.env.E2E_TEST_AUTH_TOKEN; const sentryTestOrgSlug = process.env.E2E_TEST_SENTRY_ORG_SLUG; const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT; -const EVENT_POLLING_TIMEOUT = 60_000; +const EVENT_POLLING_TIMEOUT = 90_000; test('Sends a pageload transaction', async ({ page }) => { const pageloadTransactionEventPromise = waitForTransaction('sveltekit', (transactionEvent: any) => {