Reporting API #8370
Labels
STATE: Need clarification
An issue lacks information for further research.
TYPE: enhancement
The accepted proposal for future implementation.
What is your Scenario?
I am automating navigation to report Content-Security-Policy violations through the browsers' Reporting API (Edge, Chromium), so I get the CSP violations in my reporting server.
When performing the same steps manually, I see the reports appearing on the reporting server.
However when I run the exact same steps through TestCafe, reports are not sent.
What are you suggesting?
There should be a way to ensure the Reporting API is enabled in the browser when running tests, so CSP reports should be sent to my CSP server when navigating automatically with TestCafe.
What alternatives have you considered?
Manual testing, other testing frameworks...
Additional context
No response
The text was updated successfully, but these errors were encountered: