Skip to content

Commit

Permalink
USAGOV-2201: Block Google Tag Manager from cypress tests (#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
akf authored Feb 1, 2025
2 parents 1ad2deb + 4b5e665 commit 3abd378
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion automated_tests/e2e-cypress/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ module.exports = defineConfig({
},
chromeWebSecurity: false,
responsetimeout: 10000,
"blockHosts": ["www.google-analytics.com", "ssl.google-analytics.com"],
blockHosts: [
"www.google-analytics.com",
"ssl.google-analytics.com",
"*.googletagmanager.com",
"www.googletagmanager.com",
"tagmanager.google.com",
"www.tagmanager.google.com"
],
experimentalRunAllSpecs: true,
setupNodeEvents(on, config) {

Expand Down

0 comments on commit 3abd378

Please sign in to comment.