Merge pull request #6681 from svbergerem/mobile-getting-started-completed
Mark getting started as completed on mobile website
This commit is contained in:
commit
73ab7e253e
3 changed files with 15 additions and 1 deletions
|
|
@ -94,6 +94,7 @@ Contributions are very welcome, the hard work is done!
|
||||||
* Limit flash message width on small devices [#6529](https://github.com/diaspora/diaspora/pull/6529)
|
* Limit flash message width on small devices [#6529](https://github.com/diaspora/diaspora/pull/6529)
|
||||||
* Add navbar on mobile when not logged in [#6483](https://github.com/diaspora/diaspora/pull/6483)
|
* Add navbar on mobile when not logged in [#6483](https://github.com/diaspora/diaspora/pull/6483)
|
||||||
* Fix timeago tooltips for reshares [#6648](https://github.com/diaspora/diaspora/pull/6648)
|
* Fix timeago tooltips for reshares [#6648](https://github.com/diaspora/diaspora/pull/6648)
|
||||||
|
* "Getting started" is now turned off after first visit on mobile [#6681](https://github.com/diaspora/diaspora/pull/6681)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
* Support color themes [#6033](https://github.com/diaspora/diaspora/pull/6033)
|
* Support color themes [#6033](https://github.com/diaspora/diaspora/pull/6033)
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue