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:
783
783
id : versions
784
784
run : |
785
785
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
799
798
800
799
job_required_tests :
801
800
name : All required tests passed or skipped
Original file line number Diff line number Diff line change 5
5
import * as Sentry from '@sentry/nextjs' ;
6
6
7
7
Sentry . init ( {
8
+ environment : 'qa' , // dynamic sampling bias to keep transactions
8
9
dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
9
10
// Adjust this value in production, or use tracesSampler for greater control
10
11
tracesSampleRate : 1.0 ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ declare global {
11
11
}
12
12
13
13
Sentry . init ( {
14
+ environment : 'qa' , // dynamic sampling bias to keep transactions
14
15
dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
15
16
// Adjust this value in production, or use tracesSampler for greater control
16
17
tracesSampleRate : 1.0 ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import * as Sentry from '@sentry/react';
7
7
import { BrowserTracing } from '@sentry/tracing' ;
8
8
9
9
Sentry . init ( {
10
+ environment : 'qa' , // dynamic sampling bias to keep transactions
10
11
dsn :
'https://[email protected] /1337' ,
11
12
integrations : [ new BrowserTracing ( ) ] ,
12
13
Original file line number Diff line number Diff line change 1
1
import * as Sentry from '@sentry/nextjs' ;
2
2
3
3
Sentry . init ( {
4
+ environment : 'qa' , // dynamic sampling bias to keep transactions
4
5
dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
5
6
tunnel : `http://localhost:${
6
7
Number ( process . env . NEXT_PUBLIC_BASE_PORT ) +
Original file line number Diff line number Diff line change 1
1
import * as Sentry from '@sentry/nextjs' ;
2
2
3
3
Sentry . init ( {
4
+ environment : 'qa' , // dynamic sampling bias to keep transactions
4
5
dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
5
6
tunnel : `http://localhost:${
6
7
Number ( process . env . NEXT_PUBLIC_BASE_PORT ) +
Original file line number Diff line number Diff line change 1
1
import * as Sentry from '@sentry/nextjs' ;
2
2
3
3
Sentry . init ( {
4
+ environment : 'qa' , // dynamic sampling bias to keep transactions
4
5
dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
5
6
tunnel : `http://localhost:${
6
7
Number ( process . env . NEXT_PUBLIC_BASE_PORT ) +
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ declare global {
10
10
}
11
11
12
12
Sentry . init ( {
13
+ environment : 'qa' , // dynamic sampling bias to keep transactions
13
14
dsn : process . env . NEXT_PUBLIC_E2E_TEST_DSN ,
14
15
integrations : [ new Integrations . HttpClient ( ) ] ,
15
16
debug : true ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import Index from './pages/Index';
15
15
import User from './pages/User' ;
16
16
17
17
Sentry . init ( {
18
+ environment : 'qa' , // dynamic sampling bias to keep transactions
18
19
dsn : process . env . REACT_APP_E2E_TEST_DSN ,
19
20
integrations : [
20
21
new BrowserTracing ( {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import User from './pages/User';
16
16
const replay = new Sentry . Replay ( ) ;
17
17
18
18
Sentry . init ( {
19
+ environment : 'qa' , // dynamic sampling bias to keep transactions
19
20
dsn : process . env . REACT_APP_E2E_TEST_DSN ,
20
21
integrations : [
21
22
new Sentry . BrowserTracing ( {
You can’t perform that action at this time.
0 commit comments