Fix stuck checkUser prompt in sync prefs tests on Ubuntu
For some reason the confirmEx prompt behaves differently (as a modal window?) on Ubuntu if it's the only window open, preventing the setTimeout() callback within support.js::waitForWindow() from being run. (Passing -c to the test runner fixed it.) This removes a win.close() in the middle of the file, which was probably a mistake anyway, so that the pref window stays open until the end of the file.
This commit is contained in:
parent
31d2f6aecb
commit
aff8e35a0e
1 changed files with 0 additions and 1 deletions
|
@ -63,7 +63,6 @@ describe("Sync Preferences", function () {
|
|||
Zotero.alert.restore();
|
||||
getAPIKeyFromCredentialsStub.restore();
|
||||
deleteAPIKey.restore();
|
||||
win.close();
|
||||
});
|
||||
|
||||
it("should set API key and display full controls with correct credentials", function* () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue