Tests: Make some ZoteroPane tests more reliable
This commit is contained in:
parent
6dfd8965f1
commit
09aad7b075
1 changed files with 4 additions and 0 deletions
|
@ -758,6 +758,10 @@ describe("ZoteroPane", function() {
|
||||||
describe("#deleteSelectedItems()", function () {
|
describe("#deleteSelectedItems()", function () {
|
||||||
const DELETE_KEY_CODE = 46;
|
const DELETE_KEY_CODE = 46;
|
||||||
|
|
||||||
|
afterEach(async function () {
|
||||||
|
await selectLibrary(win);
|
||||||
|
});
|
||||||
|
|
||||||
it("should remove an item from My Publications", function* () {
|
it("should remove an item from My Publications", function* () {
|
||||||
var item = createUnsavedDataObject('item');
|
var item = createUnsavedDataObject('item');
|
||||||
item.inPublications = true;
|
item.inPublications = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue