diff --git a/app/views/users/getting_started.mobile.haml b/app/views/users/getting_started.mobile.haml index 216368ca7c7ca4252799c205512362143cca38ef..af1cb495959ab52268eb8d1f30bf0106868a447c 100644 --- a/app/views/users/getting_started.mobile.haml +++ b/app/views/users/getting_started.mobile.haml @@ -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" diff --git a/features/mobile/getting_started.feature b/features/mobile/getting_started.feature index 3e60a0c5b7d1ce5b7722695f9e2d57717d90ccab..663ffe734ff0164e9f4e0d46e06ec56c0a53d9bf 100644 --- a/features/mobile/getting_started.feature +++ b/features/mobile/getting_started.feature @@ -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