Skip to content

Commit 4bf4333

Browse files
committed
Add/move .end() calls in apps/powerbox.js
1 parent 20e2bda commit 4bf4333

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/apps/powerbox.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ module.exports["Test Powerbox"] = function (browser) {
5555
.click("#powerbox-request-form button")
5656
.frame("grain-frame")
5757
.waitForElementVisible("#request-result", short_wait)
58-
.assert.containsText("#request-result", "request: footest");
58+
.assert.containsText("#request-result", "request: footest")
59+
.end();
5960
});
6061
};
6162

@@ -87,7 +88,8 @@ module.exports["Test PowerboxSave"] = function (browser) {
8788
.click("#powerbox-request-form button")
8889
.frame("grain-frame")
8990
.waitForElementVisible("#request-result", short_wait)
90-
.assert.containsText("#request-result", "request: footest");
91+
.assert.containsText("#request-result", "request: footest")
92+
.end();
9193
});
9294
};
9395

@@ -129,9 +131,9 @@ module.exports["Test Powerbox with failing requirements"] = function (browser) {
129131
.switchWindow(windows.value[1])
130132
.waitForElementVisible(".grainlog-contents > pre", short_wait)
131133
.assert.containsText(".grainlog-contents > pre", "Error: Requirements not satisfied")
134+
.end();
132135
});
133136
})
134-
.end();
135137
};
136138

137139
// This tests the basic functionality of the inline powerbox.

0 commit comments

Comments
 (0)