Merge branch 'stable' into develop
This commit is contained in:
commit
1832c2956e
2 changed files with 11 additions and 1 deletions
|
|
@ -197,7 +197,7 @@
|
||||||
- if current_user.exporting_photos
|
- if current_user.exporting_photos
|
||||||
.export-in-progress= t(".export_photos_in_progress")
|
.export-in-progress= t(".export_photos_in_progress")
|
||||||
- elsif current_user.exported_photos_file.present?
|
- elsif current_user.exported_photos_file.present?
|
||||||
= link_to t(".request_export_photos_update"), export_photos_user_path,
|
= link_to t(".request_export_photos_update"), export_photos_user_path, method: :post,
|
||||||
class: "btn btn-default btn-block"
|
class: "btn btn-default btn-block"
|
||||||
.small-horizontal-spacer
|
.small-horizontal-spacer
|
||||||
= link_to t(".download_export_photos"), download_photos_user_path, class: "btn btn-success btn-block"
|
= link_to t(".download_export_photos"), download_photos_user_path, class: "btn btn-success btn-block"
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,16 @@ Feature: Download Photos
|
||||||
Then I should see a flash message indicating success
|
Then I should see a flash message indicating success
|
||||||
And I should see a flash message containing "We are currently processing your photos"
|
And I should see a flash message containing "We are currently processing your photos"
|
||||||
|
|
||||||
|
Scenario: Refresh my photos
|
||||||
|
Given I am signed in
|
||||||
|
When I did request my photos
|
||||||
|
And I click on my name in the header
|
||||||
|
When I follow "Settings"
|
||||||
|
Then I should be on my account settings page
|
||||||
|
When I follow "Refresh my photos"
|
||||||
|
Then I should see a flash message indicating success
|
||||||
|
And I should see a flash message containing "We are currently processing your photos"
|
||||||
|
|
||||||
Scenario: Download my photos
|
Scenario: Download my photos
|
||||||
Given I am signed in
|
Given I am signed in
|
||||||
When I did request my photos
|
When I did request my photos
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue