better logging to flesh out nondeterminism
authorSteve Hackbarth <stephenhackbarth@gmail.com>
Thu, 26 Jun 2014 15:19:26 +0000 (11:19 -0400)
committerSteve Hackbarth <stephenhackbarth@gmail.com>
Thu, 26 Jun 2014 15:19:26 +0000 (11:19 -0400)
test/lib/smoke.js

index df0c588..2fb477d 100644 (file)
 
     // back up to list
     app.$.postbooks.previous();
+    if (app.$.postbooks.getActive().kind === "XV.WorkspaceContainer") {
+      console.log("Ok, we want to be in the navigator by now");
+      console.log("Model status is", model.getStatusString());
+      console.log("Notify popup showing?", XT.app.$.postbooks.$.notifyPopup.showing);
+      console.log("Notify popup message", XT.app.$.postbooks.$.notifyMessage.getContent());
+    }
     assert.equal(app.$.postbooks.getActive().kind, "XV.Navigator");
 
     // here's the list