Try to fix unstable attachments pane test
This commit is contained in:
parent
4a9ce6b82b
commit
5ebd6c4141
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,8 @@ describe("Item pane", function () {
|
|||
|
||||
await waitForScrollToPane(itemDetails, paneID);
|
||||
await waitForPreviewBoxRender(attachmentsBox);
|
||||
// TEMP: wait for a bit to ensure the preview is rendered?
|
||||
await Zotero.Promise.delay(100);
|
||||
assert.isTrue(itemDetails.isPaneVisible(paneID));
|
||||
assert.equal(attachmentsBox._syncRenderItemID, item.id);
|
||||
assert.equal(attachmentsBox._asyncRenderItemID, item.id);
|
||||
|
|
Loading…
Add table
Reference in a new issue