collection search

This commit is contained in:
Bogdan Abaev 2023-11-01 14:50:50 -04:00 committed by Dan Stillman
parent 7da00957ef
commit f8a6b82c63
6 changed files with 742 additions and 89 deletions

View file

@ -1531,6 +1531,10 @@ describe("ZoteroPane", function() {
for (let id of sequence) {
doc.activeElement.dispatchEvent(shiftTab);
// Wait for collection search to be revealed
if (id === "zotero-collections-search") {
await Zotero.Promise.delay(300);
}
assert.equal(doc.activeElement.id, id);
}
@ -1555,6 +1559,10 @@ describe("ZoteroPane", function() {
];
for (let id of sequence) {
doc.activeElement.dispatchEvent(tab);
// Wait for collection search to be revealed
if (id === "zotero-collections-search") {
await Zotero.Promise.delay(300);
}
assert.equal(doc.activeElement.id, id);
}
});