Mark getting started as completed on mobile website
This commit is contained in:
parent
0c1483b16a
commit
77d45c28c9
2 changed files with 14 additions and 1 deletions
|
|
@ -76,5 +76,8 @@
|
|||
= text_field_tag "follow_tags", nil, class: "nostrap form-control"
|
||||
|
||||
.center
|
||||
= link_to "#{t('.awesome_take_me_to_diaspora')} »", stream_path, id: "awesome_button", class: "btn btn-primary"
|
||||
= link_to "#{t('.awesome_take_me_to_diaspora')} »",
|
||||
getting_started_completed_path,
|
||||
id: "awesome_button",
|
||||
class: "btn btn-primary"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,3 +30,13 @@ Feature: editing the getting started in the mobile view
|
|||
When I follow "awesome_button"
|
||||
Then I should be on the stream page
|
||||
And I should not see "awesome_button"
|
||||
|
||||
Scenario: new user completes getting started and signs in again later
|
||||
When I sign out manually on the mobile website
|
||||
And I sign in manually as "ohai" with password "secret" on the mobile website
|
||||
Then I should be on the getting started page
|
||||
When I follow "awesome_button"
|
||||
Then I should be on the stream page
|
||||
When I sign out manually on the mobile website
|
||||
And I sign in manually as "ohai" with password "secret" on the mobile website
|
||||
Then I should be on the stream page
|
||||
|
|
|
|||
Loading…
Reference in a new issue