Skip to content

Commit 7771f69

Browse files
committed
Enable OTEL test
1 parent 2611018 commit 7771f69

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/e2e-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
- name: Create .env with environment variables to be set on the MRT target
107107
run: |-
108108
echo "PWA_KIT_SLAS_CLIENT_SECRET=${{ secrets.ZZRF_002_SLAS_PRIVATE_CLIENT_SECRET }}" > ${{ vars.MRT_ENV_VARS_E2E_BASE_FILENAME }}
109+
echo "OTEL_TRACING_ENABLED=true" >> ${{ vars.MRT_ENV_VARS_E2E_BASE_FILENAME }}
109110
110111
# Call the e2e/scripts/update-mrt-target.js script to update the MRT target config and environment variables.
111112
# This script is a Node.js script that makes a PATCH request to the MRT API to update the MRT target config and environment variables.

e2e/tests/opentelemetry-b3-tracing.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test.beforeEach(async ({page}) => {
1616
})
1717
})
1818

19-
test.skip('should inject B3 headers when __server_timing param is passed', async ({page}) => {
19+
test('should inject B3 headers when __server_timing param is passed', async ({page}) => {
2020
const url = `${config.RETAIL_APP_HOME}?__server_timing=true`
2121

2222
const responseHeaders = []

0 commit comments

Comments
 (0)