Skip to content

Commit 3bae779

Browse files
authored
Merge pull request #19998 from mozilla/update-waf-bypass-comment
chore(tests): update waf bypass comment
2 parents ab96cd2 + b3be9c5 commit 3bae779

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/functional-tests/playwright.config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ const CI = !!process.env.CI;
1313
const CI_WAF_TOKEN = process.env.CI_WAF_TOKEN;
1414

1515
/**
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.
16+
* Returns a header used for WAF bypass in CI environments.
17+
* Requires CI_WAF_TOKEN set in CircleCI and corresponding WAF condition set for target rule
1918
*/
2019
function getCIHeader(): Record<string, string> {
2120
return CI && CI_WAF_TOKEN ? { 'fxa-ci': CI_WAF_TOKEN } : {};

0 commit comments

Comments
 (0)