Skip to content
Extraits de code Groupes Projets
Valider 77d45c28 rédigé par Steffen van Bergerem's avatar Steffen van Bergerem
Parcourir les fichiers

Mark getting started as completed on mobile website

parent 0c1483b1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -76,5 +76,8 @@ ...@@ -76,5 +76,8 @@
= text_field_tag "follow_tags", nil, class: "nostrap form-control" = text_field_tag "follow_tags", nil, class: "nostrap form-control"
.center .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 ...@@ -30,3 +30,13 @@ Feature: editing the getting started in the mobile view
When I follow "awesome_button" When I follow "awesome_button"
Then I should be on the stream page Then I should be on the stream page
And I should not see "awesome_button" 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
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter