FIX: Don't hardcode text in smoke test.
This commit is contained in:
parent
6a746c931a
commit
330338af3a
|
@ -140,8 +140,8 @@ function run() {
|
||||||
|
|
||||||
var runTests = function() {
|
var runTests = function() {
|
||||||
|
|
||||||
test("expect a log in button", function() {
|
test("expect a log in button in the header", function() {
|
||||||
return $(".login-button").text().trim() === "Log In";
|
return $("header .login-button").length;
|
||||||
});
|
});
|
||||||
|
|
||||||
execAsync("go to latest page", 500, function(){
|
execAsync("go to latest page", 500, function(){
|
||||||
|
|
Loading…
Reference in New Issue