Skip to content

[Bug]: Intermittent failure in the "must check that the undo deletion popup displays the correct message" integration test #19948

@timvandermeij

Description

@timvandermeij

Attach (recommended) or Link to PDF file

N/A

Web browser and its version

Firefox 138.0.3

Operating system and its version

Arch Linux

PDF.js version

5.2.133

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

In the Windows test logs from #19925, see http://54.193.163.58:8877/c1457d4b0f9c843/output.txt, I noticed the following error:

3) Stamp Editor Undo deletion popup has the expected behaviour must check that the undo deletion popup displays the correct message
  Message:
�[31m    ProtocolError: Waiting for selector `#pdfjs_internal_editor_0 canvas` failed: Runtime.callFunctionOn timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.�[0m
  Stack:
        at <instance_members_initializer> (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:97:14)
        at new Callback (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:101:16)
        at CallbackRegistry.create (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:20:26)
        at Connection._rawSend (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:95:26)
        at CdpCDPSession.send (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js:70:33)
        at #evaluate (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:360:50)
        at ExecutionContext.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:326:36)
        at IsolatedWorld.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js:86:30)
        at CdpJSHandle.evaluateHandle (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js:154:37)
        at WaitTask.rerun (file:///C:/pdfjs/botio-files-pdfjs/private/c1457d4b0f9c843/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:98:4

What is the expected behavior?

The integration test should pass consistently.

What went wrong?

The integration test fails intermittently.

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions