Increase reader initialization wait time to reduce test failures in CI

This commit is contained in:
Martynas Bagdonas 2025-06-30 22:29:08 +03:00
parent bdcc5c551a
commit 114bd3c495

View file

@ -1357,7 +1357,7 @@ class ReaderInstance {
}
let n = 0;
while (!this._iframeWindow) {
if (n >= 500) {
if (n >= 1000) {
throw new Error('Waiting for reader failed');
}
await Zotero.Promise.delay(10);