Travis debugging
This commit is contained in:
parent
a6cfe6cd9a
commit
3a9cd31d42
2 changed files with 5 additions and 0 deletions
|
@ -136,6 +136,10 @@ function waitForDialog(onOpen, button='accept', url) {
|
|||
else if (button != 'cancel') {
|
||||
let deferred = Zotero.Promise.defer();
|
||||
function acceptWhenEnabled() {
|
||||
Zotero.debug('=====');
|
||||
Zotero.debug(button);
|
||||
Zotero.debug(dialog.document.documentElement.getButton(button));
|
||||
|
||||
// Handle delayed buttons
|
||||
if (dialog.document.documentElement.getButton(button).disabled) {
|
||||
dialog.setTimeout(function () {
|
||||
|
|
|
@ -185,6 +185,7 @@ describe("Zotero.DataDirectory", function () {
|
|||
var promise2;
|
||||
// Click "Try Again" the first time, and then "Show Directories and Quit Zotero"
|
||||
var promise = waitForDialog(function (dialog) {
|
||||
Zotero.debug("In first dialog");
|
||||
promise2 = waitForDialog(null, 'extra1');
|
||||
|
||||
// Make sure we're displaying the right message for this mode (automatic or manual)
|
||||
|
|
Loading…
Reference in a new issue