mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
The second test of the basic operations block for the ink editor depends on the first test to work. This becomes visible if we only run the second test, using `fit`, which always fails with: `ProtocolError: Waiting for selector '.annotationEditorLayer' failed: Runtime.callFunctionOn timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.` The problem is that the second test doesn't enable the ink editor and relies on the first test having done that already (because we don't close the document between tests yet). This commit fixes the issue by unconditionally enabling the ink editor in the second test to remove the dependency between the two tests so they both pass in isolation. |
||
---|---|---|
.. | ||
chromium | ||
font | ||
images | ||
integration | ||
pdfs | ||
resources | ||
stats | ||
types | ||
unit | ||
.gitignore | ||
add_test.mjs | ||
annotation_layer_builder_overrides.css | ||
downloadutils.mjs | ||
draw_layer_test.css | ||
driver.js | ||
reporter.js | ||
test.mjs | ||
test_manifest.json | ||
test_slave.html | ||
testutils.mjs | ||
text_layer_test.css | ||
webserver.mjs | ||
xfa_layer_builder_overrides.css |