From 51eb1a7ce7ebaef2907b45038bf482484157d7b9 Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 28 May 2020 15:27:48 +0100 Subject: [PATCH] Tests: Fix Clear cookies test (#4050) * name uses a placeholder instead of a value so this should be nothing --- tests/frontend/specs/helper.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/frontend/specs/helper.js b/tests/frontend/specs/helper.js index 051e9a17d..1cb712a00 100644 --- a/tests/frontend/specs/helper.js +++ b/tests/frontend/specs/helper.js @@ -36,7 +36,6 @@ describe("the test helper", function(){ done(); }); }); - // Make sure the cookies are cleared, and make sure that the cookie // clearing has taken effect at this point in the code. It has been // observed that the former can happen without the latter if there @@ -105,7 +104,7 @@ describe("the test helper", function(){ // confirm that the session was actually cleared var $usernameInput = chrome$("#myusernameedit"); - expect($usernameInput.val()).to.be('Enter your name'); + expect($usernameInput.val()).to.be(''); done(); });