From 4bf4333fd472b95917a8ca79e148286e5279e66a Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Wed, 20 Jan 2016 16:12:50 -0800 Subject: [PATCH] Add/move .end() calls in apps/powerbox.js --- tests/apps/powerbox.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/apps/powerbox.js b/tests/apps/powerbox.js index 9d21afe894..93e65a7aac 100644 --- a/tests/apps/powerbox.js +++ b/tests/apps/powerbox.js @@ -55,7 +55,8 @@ module.exports["Test Powerbox"] = function (browser) { .click("#powerbox-request-form button") .frame("grain-frame") .waitForElementVisible("#request-result", short_wait) - .assert.containsText("#request-result", "request: footest"); + .assert.containsText("#request-result", "request: footest") + .end(); }); }; @@ -87,7 +88,8 @@ module.exports["Test PowerboxSave"] = function (browser) { .click("#powerbox-request-form button") .frame("grain-frame") .waitForElementVisible("#request-result", short_wait) - .assert.containsText("#request-result", "request: footest"); + .assert.containsText("#request-result", "request: footest") + .end(); }); }; @@ -129,9 +131,9 @@ module.exports["Test Powerbox with failing requirements"] = function (browser) { .switchWindow(windows.value[1]) .waitForElementVisible(".grainlog-contents > pre", short_wait) .assert.containsText(".grainlog-contents > pre", "Error: Requirements not satisfied") + .end(); }); }) - .end(); }; // This tests the basic functionality of the inline powerbox.