From 63f1cc581f46330bfba01519e4b901ac6e3405be Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 15 Sep 2014 09:21:35 +0200 Subject: [PATCH] Fixed browser tests. --- app/assets/javascripts/app/views/signup.jst.eco | 2 +- test/browser/signup_test.rb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/views/signup.jst.eco b/app/assets/javascripts/app/views/signup.jst.eco index b4a1db8a2..09348e852 100644 --- a/app/assets/javascripts/app/views/signup.jst.eco +++ b/app/assets/javascripts/app/views/signup.jst.eco @@ -1,7 +1,7 @@

<%- @T( 'Join' ) %> <%= @C( 'product_name' ) %>

-
+
<%- @T( 'Cancel & Go Back' ) %> diff --git a/test/browser/signup_test.rb b/test/browser/signup_test.rb index 2b0023da6..e038a5f81 100644 --- a/test/browser/signup_test.rb +++ b/test/browser/signup_test.rb @@ -16,7 +16,7 @@ class SignupTest < TestCase }, { :execute => 'check', - :css => '#form-signup', + :css => '.signup', :result => true, }, ], @@ -61,12 +61,13 @@ class SignupTest < TestCase # check action { :execute => 'check', - :css => '#form-signup', + :css => '.signup', :result => false, }, { :execute => 'match', - :css => 'body', + :css => '.user-menu .user a', + :attribute => 'title', :value => signup_user_email, :match_result => true, },