We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3741a0d commit cb4eb9bCopy full SHA for cb4eb9b
test/app-e2e-test.js
@@ -48,11 +48,11 @@ describe("app-test", function () {
48
});
49
context("removeBtnをクリックしてconfirmでOKしたら", function () {
50
it("li要素が消える", function () {
51
- // confirmがfalseを返すようにする = キャンセル
+ // confirmがtrueを返すようにする = OK
52
browser.evaluate("return window.confirm = function() { return " + true + "; };");
53
browser.click('.todoList li .removeBtn');
54
browser.assert.elementDoesntExist(".todoList li");
55
56
57
58
-});
+});
0 commit comments