Commit b309a1d001 for woocommerce
commit b309a1d001e9946460383acdc5537e3ea5093aaa
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date: Mon Dec 1 19:49:31 2025 +0200
e2e tests: enhance e2e ctrf reports to include commit SHA values (#62192)
diff --git a/plugins/woocommerce/changelog/e2e-enhance-ctrf-report-commit-id b/plugins/woocommerce/changelog/e2e-enhance-ctrf-report-commit-id
new file mode 100644
index 0000000000..518338ba6f
--- /dev/null
+++ b/plugins/woocommerce/changelog/e2e-enhance-ctrf-report-commit-id
@@ -0,0 +1,5 @@
+Significance: patch
+Type: dev
+Comment: e2e tests: enhance report with commit sha value
+
+
diff --git a/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts b/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
index e82e873bd0..a39c8d5c11 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
@@ -45,6 +45,7 @@ const config: PlaywrightTestConfig = {
outputDir: `${ __dirname }/artifacts/test-results`,
outputFile: `ctrf-report-${ Date.now() }.json`,
branchName: process.env.GITHUB_REF_NAME || '',
+ commit: process.env.GITHUB_SHA || '',
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 a3a4653202..4576d91d94 100644
--- a/plugins/woocommerce/tests/e2e-pw/playwright.config.js
+++ b/plugins/woocommerce/tests/e2e-pw/playwright.config.js
@@ -44,6 +44,7 @@ const reporter = [
outputDir: `${ TESTS_ROOT_PATH }/test-results`,
outputFile: `ctrf-report-${ Date.now() }.json`,
branchName: process.env.GITHUB_REF_NAME || '',
+ commit: process.env.GITHUB_SHA || '',
appName: 'woocommerce-core',
repositoryName: process.env.GITHUB_REPOSITORY || '',
},