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.