testcafe icon indicating copy to clipboard operation
testcafe copied to clipboard

Reporting API

Open softwaresicario opened this issue 1 year ago • 2 comments

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

softwaresicario avatar Feb 03 '25 06:02 softwaresicario

Thank you for submitting a bug report. We would love to help you investigate the issue. Please share a simple code example that reliably reproduces the bug. For more information, read the following article: How To Create a Minimal Working Example When You Submit an Issue. We look forward to your response.

github-actions[bot] avatar Feb 06 '25 07:02 github-actions[bot]

This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone.

github-actions[bot] avatar Feb 16 '25 08:02 github-actions[bot]