Skip to content

Commit 4097c4a

Browse files
author
Luca Forstner
authored
ci: Use larger runners for playwright tests (#10417)
1 parent 20d11cd commit 4097c4a

File tree

2 files changed

+4
-4
lines changed
  • .github/workflows
  • dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/interactions

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ jobs:
548548
name: Playwright (${{ matrix.bundle }}) Tests
549549
needs: [job_get_metadata, job_build]
550550
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
551-
runs-on: ubuntu-20.04
551+
runs-on: ubuntu-20.04-large-js
552552
timeout-minutes: 25
553553
strategy:
554554
fail-fast: false
@@ -669,7 +669,7 @@ jobs:
669669
name: Browser (${{ matrix.browser }}) Tests
670670
needs: [job_get_metadata, job_build]
671671
if: needs.job_get_metadata.outputs.changed_browser == 'true' || github.event_name != 'pull_request'
672-
runs-on: ubuntu-20.04
672+
runs-on: ubuntu-20.04-large-js
673673
timeout-minutes: 20
674674
strategy:
675675
fail-fast: false
@@ -839,7 +839,7 @@ jobs:
839839
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
840840
github.actor != 'dependabot[bot]'
841841
needs: [job_get_metadata, job_build]
842-
runs-on: ubuntu-20.04
842+
runs-on: ubuntu-20.04-large-js
843843
timeout-minutes: 15
844844
steps:
845845
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/interactions/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sentryTest('should capture interaction transaction. @firefox', async ({ browserN
5151
expect(interactionSpan.timestamp).toBeDefined();
5252

5353
const interactionSpanDuration = (interactionSpan.timestamp! - interactionSpan.start_timestamp) * 1000;
54-
expect(interactionSpanDuration).toBeGreaterThan(70);
54+
expect(interactionSpanDuration).toBeGreaterThan(65);
5555
expect(interactionSpanDuration).toBeLessThan(200);
5656
});
5757

0 commit comments

Comments
 (0)