Skip to content

Commit cb4eb9b

Browse files
committed
Update app-e2e-test.js
1 parent 3741a0d commit cb4eb9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/app-e2e-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ describe("app-test", function () {
4848
});
4949
context("removeBtnをクリックしてconfirmでOKしたら", function () {
5050
it("li要素が消える", function () {
51-
// confirmがfalseを返すようにする = キャンセル
51+
// confirmがtrueを返すようにする = OK
5252
browser.evaluate("return window.confirm = function() { return " + true + "; };");
5353
browser.click('.todoList li .removeBtn');
5454
browser.assert.elementDoesntExist(".todoList li");
5555
});
5656
});
5757
});
58-
});
58+
});

0 commit comments

Comments
 (0)