mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
parent
747a3f7a9f
commit
0ce54e2b14
1 changed files with 5 additions and 0 deletions
|
|
@ -708,6 +708,7 @@ describe("Item pane", function () {
|
|||
Zotero.Prefs.set("panes.attachments.open", true);
|
||||
Zotero.Prefs.set("showAttachmentPreview", true);
|
||||
Zotero_Tabs.select("zotero-pane");
|
||||
win.resizeTo(1000, 800);
|
||||
});
|
||||
|
||||
afterEach(function () {
|
||||
|
|
@ -715,6 +716,10 @@ describe("Item pane", function () {
|
|||
Zotero_Tabs.closeAll();
|
||||
});
|
||||
|
||||
after(function () {
|
||||
win.resizeTo(1000, 800);
|
||||
});
|
||||
|
||||
it("should show attachments pane in library for regular item", async function () {
|
||||
// Regular item: show
|
||||
let attachmentsBox = ZoteroPane.itemPane._itemDetails.getPane(paneID);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue