pdf.js/test/integration
Jonas Jenwald 6f40f4e7c2 Remove the arbitrary timeout in the "must check that first text field has focus" integration-test (PR 12702 follow-up)
It seems that the timeout is way too short in practice, since this new integration-test failed *intermittently* already in PR 12702 (which is where the test was added).

The ideal solution here would be to simply await an event, dispatched by the viewer, however that unfortunately doesn't appear to be supported by Puppeteer.
Instead, the solution implemented here is to add a new method in `PDFViewerApplication` which Puppeteer can query to check if the scripting/sandbox has been fully initialized.
2020-12-19 09:32:58 +01:00
..
annotation_spec.js Follow-up of #12707: Add an integration test for checkboxes as radio buttons 2020-12-15 00:00:04 +01:00
scripting_spec.js Remove the arbitrary timeout in the "must check that first text field has focus" integration-test (PR 12702 follow-up) 2020-12-19 09:32:58 +01:00
test_utils.js Follow-up of #12707: Add an integration test for checkboxes as radio buttons 2020-12-15 00:00:04 +01:00