Tests: Fix Clear cookies test (#4050)

* name uses a placeholder instead of a value so this should be nothing
This commit is contained in:
John McLear 2020-05-28 15:27:48 +01:00 committed by GitHub
parent 40f36d7eb5
commit 51eb1a7ce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
});