csp: embed policy name in reports #1521
test.yml
on: pull_request
test-misc
18s
test-envsub
10s
test-nginx
2m 1s
test-secrets
10s
test-images
0s
Annotations
2 errors and 1 notice
|
test-nginx
Process completed with exit code 1.
|
|
[chromium] › nginx/src/playwright/csp.spec.js:16:1 › catches style-src-elem violation samples:
test/nginx/src/lib.js#L22
1) [chromium] › nginx/src/playwright/csp.spec.js:16:1 › catches style-src-elem violation samples ─
AssertionError: expected [ Array(1) ] to deeply equal [ { report: { …(1) } } ]
at ../lib.js:22
20 |
21 | try {
> 22 | assert.deepEqual(actual, expectedRequests);
| ^
23 | } catch(err) {
24 | console.log(JSON.stringify({ expected:expectedRequests, actual }, null, 2));
25 | throw err;
at assertSentryReceived (/home/runner/work/central/central/test/nginx/src/lib.js:22:12)
at /home/runner/work/central/central/test/nginx/src/playwright/csp.spec.js:31:3
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › nginx/src/playwright/csp.spec.js:16:1 › catches style-src-elem violation samples ──
|