Fixed browser tests.

This commit is contained in:
Martin Edenhofer 2014-09-15 09:21:35 +02:00
parent 6122b1db74
commit 63f1cc581f
2 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
<div class="fullHeight vertical center justified signup fit">
<div class="hero-unit">
<h1><%- @T( 'Join' ) %> <%= @C( 'product_name' ) %></h1>
<form>
<form class="signup">
<div class="form-controls">
<a class="subtle-link standalone pull-left" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
<button class="btn btn-primary submit pull-right"><%- @T( 'Create my account' ) %></button>

View file

@ -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,
},