Tests: Make some ZoteroPane tests more reliable

This commit is contained in:
Dan Stillman 2024-06-24 02:31:34 -04:00
parent 6dfd8965f1
commit 09aad7b075

View file

@ -758,6 +758,10 @@ describe("ZoteroPane", function() {
describe("#deleteSelectedItems()", function () {
const DELETE_KEY_CODE = 46;
afterEach(async function () {
await selectLibrary(win);
});
it("should remove an item from My Publications", function* () {
var item = createUnsavedDataObject('item');
item.inPublications = true;