expect the ajax request updating the profile name in features/signs_up.feature
This commit is contained in:
parent
bf9996b25d
commit
45e4817a58
2 changed files with 7 additions and 1 deletions
|
|
@ -23,7 +23,9 @@ Feature: new user registration
|
|||
Scenario: new user does not add any tags in setup wizard and cancel the alert
|
||||
When I fill in the following:
|
||||
| profile_first_name | some name |
|
||||
And I follow "awesome_button"
|
||||
And I focus the "follow_tags" field
|
||||
Then I should see a flash message containing "Hey, some name!"
|
||||
When I follow "awesome_button"
|
||||
And I reject the alert
|
||||
Then I should be on the getting started page
|
||||
And I should see a flash message containing "Alright, I'll wait."
|
||||
|
|
|
|||
|
|
@ -304,3 +304,7 @@ end
|
|||
When /^I take the screenshots while logged in$/ do
|
||||
take_screenshots_with_login
|
||||
end
|
||||
|
||||
When /^I focus the "([^"]+)" field$/ do |field|
|
||||
find_field(field).click
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue