Source: node-puppeteer Version: 13.4.1+dfsg-1 Severity: serious User: [email protected] Usertags: regression
Dear maintainer(s),Your package has an autopkgtest, great. However, it recently (around august 2022) started to fail consistently in testing.
Paul https://ci.debian.net/packages/n/node-puppeteer/ https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-puppeteer/29397412/log.gz 887 passing (3m) 11 pending 13 failing 1) Accessibility filtering children of leaf nodes rich text editable fields should have children: Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "children": Array [ Object { - "name": "Edit this image:", + "name": "Edit this image: ", "role": "StaticText", }, Object { "name": "my fake image", "role": "img", }, ], "name": "", "role": "generic", "value": "Edit this image: ", } at Context.<anonymous> (test/accessibility.spec.ts:289:36) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2) Accessibility filtering children of leaf nodes rich text editable fields with role should have children: Error: expect(received).toEqual(expected) // deep equality - Expected - 5 + Received + 1 Object { "children": Array [ Object { - "name": "Edit this image:", + "name": "Edit this image: ", "role": "StaticText", - }, - Object { - "name": "my fake image", - "role": "img", }, ], "multiline": true, "name": "", "role": "textbox", "value": "Edit this image: ", } at Context.<anonymous> (test/accessibility.spec.ts:327:36) at processTicksAndRejections (node:internal/process/task_queues:95:5) 3) AriaQueryHandler queryOne (Chromium web test) should find both ignored and unignored: Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 0 Array [ "shown", - "hidden", ] at Context.<anonymous> (test/ariaqueryhandler.spec.ts:616:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) 4) Browser specs Browser.target should return browser target: Error: Browser target is not found at Browser.target (src/common/Browser.ts:522:13) at Context.<anonymous> (test/browser.spec.ts:48:30) at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21) at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5) at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10) at /usr/share/nodejs/mocha/lib/runner.js:789:12 at next (/usr/share/nodejs/mocha/lib/runner.js:581:14) at /usr/share/nodejs/mocha/lib/runner.js:591:7 at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)at Immediate.<anonymous> (/usr/share/nodejs/mocha/lib/runner.js:559:5)
at processImmediate (node:internal/timers:471:21)
5) Emulation
Page.emulateVisionDeficiency
should work:
Error: screenshot-sanity.png mismatch! Sizes differ: expected
image 500px X 500px, but got 500px X 1000px. Output is saved in
"output-chromium" directory
at Context.<anonymous> (test/emulation.spec.ts:338:28)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
6) Launcher specs
Puppeteer
Puppeteer.executablePath
when PUPPETEER_EXECUTABLE_PATH is set
"before each" hook for "its value is returned":
TypeError: 'process.env' only accepts a configurable, writable,
and enumerable data descriptor
at Function.defineProperty (<anonymous>)
at Object.value
(node_modules/sinon/lib/sinon/default-behaviors.js:269:16)
at Object.proto.<computed> [as value]
(node_modules/sinon/lib/sinon/behavior.js:260:12)
at Function.<anonymous>
(node_modules/sinon/lib/sinon/behavior.js:250:46)
at Context.<anonymous> (test/launcher.spec.ts:770:14)
at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
at Hook.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
at next (/usr/share/nodejs/mocha/lib/runner.js:498:10)
at Immediate._onImmediate
(/usr/share/nodejs/mocha/lib/runner.js:559:5)
at processImmediate (node:internal/timers:471:21)
7) Launcher specs
Puppeteer
Puppeteer.executablePath
when the product is chrome, platform is not darwin, and arch
is arm64
and the executable exists
and PUPPETEER_EXECUTABLE_PATH is set
"before each" hook for "its value is returned":
TypeError: 'process.env' only accepts a configurable, writable,
and enumerable data descriptor
at Function.defineProperty (<anonymous>)
at Object.value
(node_modules/sinon/lib/sinon/default-behaviors.js:269:16)
at Object.proto.<computed> [as value]
(node_modules/sinon/lib/sinon/behavior.js:260:12)
at Function.<anonymous>
(node_modules/sinon/lib/sinon/behavior.js:250:46)
at Context.<anonymous> (test/launcher.spec.ts:808:18)
at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
at Hook.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
at next (/usr/share/nodejs/mocha/lib/runner.js:498:10)
at Immediate._onImmediate
(/usr/share/nodejs/mocha/lib/runner.js:559:5)
at processImmediate (node:internal/timers:471:21)
8) network
Network Events
should fire events in proper order:
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 0
Array [
"request",
"response",
- "requestfinished",
]
at Context.<anonymous> (test/network.spec.ts:533:22)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
9) OOPIF
should keep track of a frames OOP state:
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:8907/empty.html"
Received: "http://127.0.0.1:8907/empty.html"
at Context.<anonymous> (test/oopif.spec.ts:172:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
10) Screenshots
Page.screenshot
should work:
Error: screenshot-sanity.png mismatch! Sizes differ: expected
image 500px X 500px, but got 500px X 1000px. Output is saved in
"output-chromium" directory
at Context.<anonymous> (test/screenshot.spec.ts:36:26)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
11) Screenshots
Page.screenshot
should return base64:
Error: screenshot-sanity.png mismatch! Sizes differ: expected
image 500px X 500px, but got 500px X 1000px. Output is saved in
"output-chromium" directory
at Context.<anonymous> (test/screenshot.spec.ts:181:59)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
12) Target
Browser.targets should return all of the targets:
Error: expect(received).toBeTruthy()
Received: false
at Context.<anonymous> (test/target.spec.ts:42:67)
at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10)
at /usr/share/nodejs/mocha/lib/runner.js:789:12
at next (/usr/share/nodejs/mocha/lib/runner.js:581:14)
at /usr/share/nodejs/mocha/lib/runner.js:591:7
at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)
at cbHookRun (/usr/share/nodejs/mocha/lib/runner.js:539:7)
at done (/usr/share/nodejs/mocha/lib/runnable.js:310:5)
at /usr/share/nodejs/mocha/lib/runnable.js:371:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
13) Target
should contain browser target:
Error: expect(received).toBeTruthy()
Received: undefined
at Context.<anonymous> (test/target.spec.ts:57:27)
at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10)
at /usr/share/nodejs/mocha/lib/runner.js:789:12
at next (/usr/share/nodejs/mocha/lib/runner.js:581:14)
at /usr/share/nodejs/mocha/lib/runner.js:591:7
at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)
at cbHookRun (/usr/share/nodejs/mocha/lib/runner.js:539:7)
at done (/usr/share/nodejs/mocha/lib/runnable.js:310:5)
at /usr/share/nodejs/mocha/lib/runnable.js:371:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
OpenPGP_signature
Description: OpenPGP digital signature

