mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
We should not wait for an arbitrary amount of time, which can easily cause intermittent failures, but wait for a property value change instead. Note that this patch mirrors the approach we already use in other scripting integration tests that also check for a visibility change; see e.g. the "must show a text field and then make in invisible when content is removed" test.