MDL-53980 behat: Use Create new account button

New Account link has been removed, use
Create new account button
This commit is contained in:
Rajesh Taneja 2016-05-03 17:22:23 +08:00
parent 5928e0eac3
commit e2ceebb766

View File

@ -10,7 +10,7 @@ Feature: Both first name and surname are always available for every user
| passwordpolicy | 0 |
And I am on site homepage
And I follow "Log in"
And I follow "New Account"
And I press "Create new account"
When I set the following fields to these values:
| Username | mrwhitespace |
| Password | Gue$$m3ifY0uC&n |
@ -18,7 +18,7 @@ Feature: Both first name and surname are always available for every user
| Email (again) | mrwhitespace@nas.ty |
And I set the field "First name" to " "
And I set the field "Surname" to " "
And I click on "Create my new account" "button"
And I press "Create my new account"
Then I should see "Missing given name"
And I should see "Missing surname"