We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab96cd2 + b3be9c5 commit 3bae779Copy full SHA for 3bae779
1 file changed
packages/functional-tests/playwright.config.ts
@@ -13,9 +13,8 @@ const CI = !!process.env.CI;
13
const CI_WAF_TOKEN = process.env.CI_WAF_TOKEN;
14
15
/**
16
- * Returns a header used for WAF bypass on stage domain.
17
- * Production ignores this header.
18
- * Requires CI_WAF_TOKEN to be set in CircleCI.
+ * Returns a header used for WAF bypass in CI environments.
+ * Requires CI_WAF_TOKEN set in CircleCI and corresponding WAF condition set for target rule
19
*/
20
function getCIHeader(): Record<string, string> {
21
return CI && CI_WAF_TOKEN ? { 'fxa-ci': CI_WAF_TOKEN } : {};
0 commit comments