mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Fix tests
This commit is contained in:
parent
5bf460771c
commit
0ba7705754
1 changed files with 2 additions and 2 deletions
|
|
@ -1157,8 +1157,8 @@ describe("Item pane", function () {
|
|||
let attachmentRow = attachmentsBox.querySelector(`attachment-row[attachment-id="${attachment.id}"]`);
|
||||
attachmentRow._annotationButton.click();
|
||||
await Zotero.Promise.delay(100);
|
||||
// Should select attachment
|
||||
assert.equal(ZoteroPane.getSelectedItems(true)[0], attachment.id);
|
||||
// Should select annotations
|
||||
assert.deepEqual(ZoteroPane.getSelectedItems(true), [_annotation.id]);
|
||||
});
|
||||
|
||||
it("should open attachment on double-clicking attachments pane preview", async function () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue