2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: Don't hardcode text in smoke test.

This commit is contained in:
Guo Xiang Tan 2017-05-22 08:01:33 +08:00
parent 6a746c931a
commit 330338af3a

View file

@ -140,8 +140,8 @@ function run() {
var runTests = function() {
test("expect a log in button", function() {
return $(".login-button").text().trim() === "Log In";
test("expect a log in button in the header", function() {
return $("header .login-button").length;
});
execAsync("go to latest page", 500, function(){