more test mod 2
authorjulesstp <julianmcarlin@gmail.com>
Thu, 17 Apr 2014 20:37:33 +0000 (14:37 -0600)
committerjulesstp <julianmcarlin@gmail.com>
Thu, 17 Apr 2014 20:37:33 +0000 (14:37 -0600)
test/specs/activity.js

index 8f02e9c..21a96c1 100644 (file)
@@ -54,16 +54,16 @@ before:true, exports:true, it:true, describe:true, XG:true */
           setTimeout(function () {
             popup = moduleContainer.$.notifyPopup;
             assert.isTrue(popup.showing);
-            popup.$.customComponent.$.pickerButton.setContent("postgres");
+            popup.$.customComponent.$.picker.setSelected(popup.$.customComponent.$.picker.controls[3]);
+            assert.equal(popup.$.customComponent.$.pickerButton.content, "postgres");
             moduleContainer.notifyTap(null, { originator: {name: "notifyYes"}});
-          }, 3000);
+          }, 2000);
             
           setTimeout(function () {
-            console.log("here6");
+            console.log(actList.selectedIndexes());
             assert.equal(actList.value.models[0].getValue("assignedTo.username"), "postgres");
             done();
-          }, 5000);
-          console.log("here7");
+          }, 3000);
         }
       });
     });