Fixed browser tests.
This commit is contained in:
parent
6122b1db74
commit
63f1cc581f
2 changed files with 5 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue