File tree Expand file tree Collapse file tree 12 files changed +23
-13
lines changed
packages/e2e-tests/test-applications
standard-frontend-react-tracing-import/src
standard-frontend-react/src Expand file tree Collapse file tree 12 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -783,19 +783,18 @@ jobs:
783783 id : versions
784784 run : |
785785 echo "echo node=$(jq -r '.volta.node' package.json)" >> $GITHUB_OUTPUT
786- # Temporarily disabling e2e tests
787- # - name: Run E2E tests
788- # env:
789- # E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION: ${{ steps.versions.outputs.node }}
790- # E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
791- # E2E_TEST_DSN: ${{ secrets.E2E_TEST_DSN }}
792- # E2E_TEST_SENTRY_ORG_SLUG: 'sentry-javascript-sdks'
793- # E2E_TEST_SENTRY_TEST_PROJECT: 'sentry-javascript-e2e-tests'
794- # E2E_TEST_SHARD: ${{ matrix.shard }}
795- # E2E_TEST_SHARD_AMOUNT: 3
796- # run: |
797- # cd packages/e2e-tests
798- # yarn test:e2e
786+ - name : Run E2E tests
787+ env :
788+ E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION : ${{ steps.versions.outputs.node }}
789+ E2E_TEST_AUTH_TOKEN : ${{ secrets.E2E_TEST_AUTH_TOKEN }}
790+ E2E_TEST_DSN : ${{ secrets.E2E_TEST_DSN }}
791+ E2E_TEST_SENTRY_ORG_SLUG : ' sentry-javascript-sdks'
792+ E2E_TEST_SENTRY_TEST_PROJECT : ' sentry-javascript-e2e-tests'
793+ E2E_TEST_SHARD : ${{ matrix.shard }}
794+ E2E_TEST_SHARD_AMOUNT : 3
795+ run : |
796+ cd packages/e2e-tests
797+ yarn test:e2e
799798
800799 job_required_tests :
801800 name : All required tests passed or skipped
Original file line number Diff line number Diff line change 55import * as Sentry from '@sentry/nextjs' ;
66
77Sentry . init ( {
8+ environment : 'qa' , // dynamic sampling bias to keep transactions
89 dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
910 // Adjust this value in production, or use tracesSampler for greater control
1011 tracesSampleRate : 1.0 ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ declare global {
1111}
1212
1313Sentry . init ( {
14+ environment : 'qa' , // dynamic sampling bias to keep transactions
1415 dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
1516 // Adjust this value in production, or use tracesSampler for greater control
1617 tracesSampleRate : 1.0 ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import * as Sentry from '@sentry/react';
77import { BrowserTracing } from '@sentry/tracing' ;
88
99Sentry . init ( {
10+ environment : 'qa' , // dynamic sampling bias to keep transactions
1011 dsn : 'https://public@dsn.ingest.sentry.io/1337' ,
1112 integrations : [ new BrowserTracing ( ) ] ,
1213
Original file line number Diff line number Diff line change 11import * as Sentry from '@sentry/nextjs' ;
22
33Sentry . init ( {
4+ environment : 'qa' , // dynamic sampling bias to keep transactions
45 dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
56 tunnel : `http://localhost:${
67 Number ( process . env . NEXT_PUBLIC_BASE_PORT ) +
Original file line number Diff line number Diff line change 11import * as Sentry from '@sentry/nextjs' ;
22
33Sentry . init ( {
4+ environment : 'qa' , // dynamic sampling bias to keep transactions
45 dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
56 tunnel : `http://localhost:${
67 Number ( process . env . NEXT_PUBLIC_BASE_PORT ) +
Original file line number Diff line number Diff line change 11import * as Sentry from '@sentry/nextjs' ;
22
33Sentry . init ( {
4+ environment : 'qa' , // dynamic sampling bias to keep transactions
45 dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
56 tunnel : `http://localhost:${
67 Number ( process . env . NEXT_PUBLIC_BASE_PORT ) +
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ declare global {
1010}
1111
1212Sentry . init ( {
13+ environment : 'qa' , // dynamic sampling bias to keep transactions
1314 dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
1415 integrations : [ new Integrations . HttpClient ( ) ] ,
1516 debug : true ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import Index from './pages/Index';
1515import User from './pages/User' ;
1616
1717Sentry . init ( {
18+ environment : 'qa' , // dynamic sampling bias to keep transactions
1819 dsn : process . env . REACT_APP_E2E_TEST_DSN ,
1920 integrations : [
2021 new BrowserTracing ( {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import User from './pages/User';
1616const replay = new Sentry . Replay ( ) ;
1717
1818Sentry . init ( {
19+ environment : 'qa' , // dynamic sampling bias to keep transactions
1920 dsn : process . env . REACT_APP_E2E_TEST_DSN ,
2021 integrations : [
2122 new Sentry . BrowserTracing ( {
You can’t perform that action at this time.
0 commit comments