Skip to content

Commit

Permalink
Merge pull request #1875 from oasisprotocol/lw/ignore-transak-csp-err
Browse files Browse the repository at this point in the history
Ignore transak's CSP errors that are not caused by our CSP
  • Loading branch information
lukaw3d authored Apr 6, 2024
2 parents 7cde53e + cd7f108 commit c610ca8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/1875.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ignore transak's CSP errors that are not caused by our CSP
1 change: 1 addition & 0 deletions playwright/tests/extension.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ test.describe('The extension popup should load', () => {
if (msg.text().includes('responded with a status of 403')) return true
if (msg.text().includes('`sessionKey` is a required property')) return true
if (msg.text().includes('[Report Only]')) return true
if (msg.text().includes('script-src https://*.transak.com https://*.google.com')) return true
},
})
await page.goto(`${extensionPopupURL}/open-wallet/private-key`)
Expand Down
1 change: 1 addition & 0 deletions playwright/tests/fiat.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ test.describe('Fiat on-ramp', () => {
if (msg.text().includes('responded with a status of 403')) return true
if (msg.text().includes('`sessionKey` is a required property')) return true
if (msg.text().includes('[Report Only]')) return true
if (msg.text().includes('script-src https://*.transak.com https://*.google.com')) return true
},
})
await setup(page)
Expand Down

0 comments on commit c610ca8

Please sign in to comment.