Revert "Disable local proxying for adclick attribution tests" #1927
Annotations
4 errors, 1 warning, and 1 notice
integration-test/click-attribution.spec.js#L80
1) [chromium] › click-attribution.spec.js:53:9 › Ad click blocking › Single-site, new-tab, session, variant two
TypeError: Cannot read properties of undefined (reading 'length')
78 | if (step.expected.requests) {
79 | const resources = await page.evaluate(() => globalThis.resources)
> 80 | expect(resources.length).toBe(step.expected.requests.length)
| ^
81 | for (const request of step.expected.requests) {
82 | const expectedResource = resources.find(resource => resource.url === request.url)
83 | expect(expectedResource, `${step.name} expects ${request.url} to have be detected in the page`)
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/click-attribution.spec.js:80:38
|
integration-test/click-attribution.spec.js#L80
1) [chromium] › click-attribution.spec.js:53:9 › Ad click blocking › Single-site, new-tab, session, variant two
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'length')
78 | if (step.expected.requests) {
79 | const resources = await page.evaluate(() => globalThis.resources)
> 80 | expect(resources.length).toBe(step.expected.requests.length)
| ^
81 | for (const request of step.expected.requests) {
82 | const expectedResource = resources.find(resource => resource.url === request.url)
83 | expect(expectedResource, `${step.name} expects ${request.url} to have be detected in the page`)
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/click-attribution.spec.js:80:38
|
integration-test/click-attribution.spec.js#L80
1) [chromium] › click-attribution.spec.js:53:9 › Ad click blocking › Single-site, new-tab, session, variant two
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'length')
78 | if (step.expected.requests) {
79 | const resources = await page.evaluate(() => globalThis.resources)
> 80 | expect(resources.length).toBe(step.expected.requests.length)
| ^
81 | for (const request of step.expected.requests) {
82 | const expectedResource = resources.find(resource => resource.url === request.url)
83 | expect(expectedResource, `${step.name} expects ${request.url} to have be detected in the page`)
at /home/runner/work/duckduckgo-privacy-extension/duckduckgo-privacy-extension/integration-test/click-attribution.spec.js:80:38
|
|
|
|
The logs for this run have expired and are no longer available.
Loading