Close ProgressQueueDialog after connector server tests (#5446)

Since some connector operations trigger recognition

This will hopefully fix the tags box test failures.
This commit is contained in:
Dan Stillman 2025-07-31 21:54:15 -04:00 • committed by GitHub
parent 773ca6f724
commit 87d27f9c51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,10 @@ describe("Connector Server", function () {
});
afterEach(function* () {
for (let win of getWindows("chrome://zotero/content/progressQueueDialog.xhtml")) {
win.close();
}
var defer = Zotero.Promise.defer();
httpd.stop(() => defer.resolve());
yield defer.promise;