diff --git a/spec/phantom_js/smoke_test.js b/spec/phantom_js/smoke_test.js index d27c74985..611143ea3 100644 --- a/spec/phantom_js/smoke_test.js +++ b/spec/phantom_js/smoke_test.js @@ -96,7 +96,7 @@ page.runTests = function(){ }); test("expect a log in button", function(){ - return $('.current-username .btn').text() === 'Sign In'; + return $('.login-button').text().trim() === 'Sign In'; }); navigate("navigate to first topic", function(){