Commit 3b84f16254 for woocommerce
commit 3b84f162544c3af33694fd767c15f3b695ebd943
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date: Fri Nov 28 15:50:48 2025 +0200
e2e tests: Enhance CTRF report with additional environment data (#62154)
diff --git a/plugins/woocommerce/changelog/e2e-enhance-ctrf-report-env-data b/plugins/woocommerce/changelog/e2e-enhance-ctrf-report-env-data
new file mode 100644
index 0000000000..5d87e9557a
--- /dev/null
+++ b/plugins/woocommerce/changelog/e2e-enhance-ctrf-report-env-data
@@ -0,0 +1,5 @@
+Significance: patch
+Type: dev
+Comment: e2e tests: enhance ctrf report with extra environment data
+
+
diff --git a/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts b/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
index f9cee5ca65..e82e873bd0 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
@@ -44,6 +44,9 @@ const config: PlaywrightTestConfig = {
{
outputDir: `${ __dirname }/artifacts/test-results`,
outputFile: `ctrf-report-${ Date.now() }.json`,
+ branchName: process.env.GITHUB_REF_NAME || '',
+ appName: 'woocommerce-blocks',
+ repositoryName: process.env.GITHUB_REPOSITORY || '',
},
],
]
diff --git a/plugins/woocommerce/tests/e2e-pw/playwright.config.js b/plugins/woocommerce/tests/e2e-pw/playwright.config.js
index 8e479e1325..a3a4653202 100644
--- a/plugins/woocommerce/tests/e2e-pw/playwright.config.js
+++ b/plugins/woocommerce/tests/e2e-pw/playwright.config.js
@@ -43,6 +43,9 @@ const reporter = [
{
outputDir: `${ TESTS_ROOT_PATH }/test-results`,
outputFile: `ctrf-report-${ Date.now() }.json`,
+ branchName: process.env.GITHUB_REF_NAME || '',
+ appName: 'woocommerce-core',
+ repositoryName: process.env.GITHUB_REPOSITORY || '',
},
],
[