From ffd18ca0ca64daac6a292388b7921ad482a90993 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 8 May 2014 14:47:16 +1000 Subject: [PATCH] BUGFIX: smoke test regression due to anon button moving --- spec/phantom_js/smoke_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(){