pdf.js/test
Tim van der Meij 0d3fbc1818
Wait for selector instead of timeout in the bug1844576 integration test
This integration test currently fails intermittently on the bots because
of the fixed timeout in the test, which is sometimes too low on slower
systems. The issue can be reproduced 100% of the time by introducing a
delay in the `WidgetAnnotationElement.showElementAndHideCanvas` method.

Puppeteer also discourages this and instead recommends waiting for a
selector instead, which we now do here. This ensures that the test only
continues if the element under test is available and therefore prevents
any timing problems.
2023-09-17 13:15:53 +02:00
..
chromium Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
font [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
images [Editor] Support svg images in the stamp annotation 2023-07-07 15:59:13 +02:00
integration Wait for selector instead of timeout in the bug1844576 integration test 2023-09-17 13:15:53 +02:00
pdfs Unconditionally render non-form annotations in the annotation layer (bug 1851498) 2023-09-05 10:41:01 +02:00
resources Enable the declaration-block-no-redundant-longhand-properties Stylelint rule 2023-03-25 10:08:27 +01:00
stats Use more for...of loops in the code-base 2022-07-17 16:18:54 +02:00
ttx Update ttx from version 2.5 to version 3.19.0 2022-07-10 21:18:36 +02:00
types Add support for modern ECMAScript class features 2021-10-22 22:01:17 +02:00
unit Enable unit test "creates pdf doc from non-existent URL" 2023-09-10 15:47:04 +02:00
.eslintrc Enable ESLint rules that no longer need to be disabled on a directory/file-basis 2021-01-22 17:47:03 +01:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
add_test.mjs [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
annotation_layer_builder_overrides.css Take fill-alpha into account with default icons for FileAttachment annotations (issue 16800) 2023-08-08 15:53:48 +02:00
downloadutils.mjs [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
driver.js [Annotation] Use the clip-path property when an annotation has some quad points 2023-07-20 10:53:23 +02:00
integration-boot.mjs [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
test_manifest.json Unconditionally render non-form annotations in the annotation layer (bug 1851498) 2023-09-05 10:41:01 +02:00
test_slave.html Tighten the vars-argument for the ESLint no-unused-vars rule 2022-12-04 16:15:50 +01:00
test.mjs Use the round CSS function in the setLayerDimensions helper function 2023-08-04 14:33:06 +02:00
testutils.mjs [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
text_layer_test.css Introduce some :is usage in the textLayer CSS 2023-04-18 11:39:09 +02:00
webserver.mjs [ESM] Convert *most* of test-folder to use standard modules 2023-07-08 13:13:04 +02:00
xfa_layer_builder_overrides.css XFA - Fix xfaLink class to make links work (bug 1735738) 2021-10-29 11:39:33 -04:00