@ -38,72 +38,72 @@ Feature: app-files
And I c l o s e t h e d e t a i l s v i e w
Then I s e e t h a t t h e d e t a i l s v i e w i s c l o s e d
Scenario : viewing a favorite file in its folder shows the correct sidebar view
Given I a m l o g g e d i n
And I c r e a t e a n e w f o l d e r n a m e d " o t h e r "
And I m a r k " o t h e r " a s f a v o r i t e
And I m a r k " w e l c o m e . t x t " a s f a v o r i t e
And I s e e t h a t " o t h e r " i s m a r k e d a s f a v o r i t e
And I s e e t h a t " w e l c o m e . t x t " i s m a r k e d a s f a v o r i t e
And I o p e n t h e " F a v o r i t e s " s e c t i o n
And I o p e n t h e d e t a i l s v i e w f o r " o t h e r "
And I s e e t h a t t h e d e t a i l s v i e w i s o p e n
And I s e e t h a t t h e f i l e n a m e s h o w n i n t h e d e t a i l s v i e w i s " o t h e r "
When I v i e w " w e l c o m e . t x t " i n f o l d e r
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " A l l f i l e s "
And I s e e t h a t t h e d e t a i l s v i e w i s o p e n
And I s e e t h a t t h e f i l e n a m e s h o w n i n t h e d e t a i l s v i e w i s " w e l c o m e . t x t "
When I o p e n t h e d e t a i l s v i e w f o r " o t h e r "
And I s e e t h a t t h e f i l e n a m e s h o w n i n t h e d e t a i l s v i e w i s " o t h e r "
# Scenario: viewing a favorite file in its folder shows the correct sidebar view
# Given I am logged i n
# And I create a new folder named "other "
# And I mark "other" as favorit e
# And I mark "welcome.txt" as favorit e
# And I see that "other" is marked as favorit e
# And I see that "welcome.txt" is marked as favorit e
# And I open the "Favorites" sectio n
# And I open the details view for "other "
# And I see that the details view is ope n
# And I see that the file name shown in the details view is "other "
# When I view "welcome.txt" in folde r
# Then I see that the current section is "All files "
# And I see that the details view is ope n
# And I see that the file name shown in the details view is "welcome.txt "
# When I open the details view for "other "
# And I see that the file name shown in the details view is "other "
Scenario : viewing a favorite file in its folder does not prevent opening the details view in "All files" section
Given I a m l o g g e d i n
And I m a r k " w e l c o m e . t x t " a s f a v o r i t e
And I s e e t h a t " w e l c o m e . t x t " i s m a r k e d a s f a v o r i t e
And I o p e n t h e " F a v o r i t e s " s e c t i o n
And I o p e n t h e d e t a i l s v i e w f o r " w e l c o m e . t x t "
And I s e e t h a t t h e d e t a i l s v i e w i s o p e n
And I v i e w " w e l c o m e . t x t " i n f o l d e r
And I s e e t h a t t h e c u r r e n t s e c t i o n i s " A l l f i l e s "
When I o p e n t h e d e t a i l s v i e w f o r " w e l c o m e . t x t "
Then I s e e t h a t t h e d e t a i l s v i e w i s o p e n
# Scenario: viewing a favorite file in its folder does not prevent opening the details view in "All files" section
# Given I am logged i n
# And I mark "welcome.txt" as favorit e
# And I see that "welcome.txt" is marked as favorit e
# And I open the "Favorites" sectio n
# And I open the details view for "welcome.txt "
# And I see that the details view is ope n
# And I view "welcome.txt" in folde r
# And I see that the current section is "All files "
# When I open the details view for "welcome.txt "
# Then I see that the details view is ope n
Scenario : show recent files
Given I a m l o g g e d i n
And I c r e a t e a n e w f o l d e r n a m e d " F o l d e r j u s t c r e a t e d "
When I o p e n t h e " R e c e n t " s e c t i o n
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " R e c e n t "
Then I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " F o l d e r j u s t c r e a t e d "
# Scenario: show recent files
# Given I am logged i n
# And I create a new folder named "Folder just created "
# When I open the "Recent" sectio n
# Then I see that the current section is "Recent "
# Then I see that the file list contains a file named "Folder just created "
Scenario : show recent files for a second time
Given I a m l o g g e d i n
And I o p e n t h e " R e c e n t " s e c t i o n
And I s e e t h a t t h e c u r r e n t s e c t i o n i s " R e c e n t "
And I o p e n t h e " A l l f i l e s " s e c t i o n
And I s e e t h a t t h e c u r r e n t s e c t i o n i s " A l l f i l e s "
And I c r e a t e a n e w f o l d e r n a m e d " F o l d e r j u s t c r e a t e d "
When I o p e n t h e " R e c e n t " s e c t i o n
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " R e c e n t "
Then I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " F o l d e r j u s t c r e a t e d "
# Scenario: show recent files for a second time
# Given I am logged i n
# And I open the "Recent" sectio n
# And I see that the current section is "Recent "
# And I open the "All files" sectio n
# And I see that the current section is "All files "
# And I create a new folder named "Folder just created "
# When I open the "Recent" sectio n
# Then I see that the current section is "Recent "
# Then I see that the file list contains a file named "Folder just created "
Scenario : show favorites
Given I a m l o g g e d i n
And I m a r k " w e l c o m e . t x t " a s f a v o r i t e
When I o p e n t h e " F a v o r i t e s " s e c t i o n
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " F a v o r i t e s "
Then I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
# Scenario: show favorites
# Given I am logged i n
# And I mark "welcome.txt" as favorit e
# When I open the "Favorites" sectio n
# Then I see that the current section is "Favorites "
# Then I see that the file list contains a file named "welcome.txt "
Scenario : show favorites for a second time
Given I a m l o g g e d i n
And I o p e n t h e " F a v o r i t e s " s e c t i o n
And I s e e t h a t t h e c u r r e n t s e c t i o n i s " F a v o r i t e s "
And I o p e n t h e " A l l f i l e s " s e c t i o n
And I s e e t h a t t h e c u r r e n t s e c t i o n i s " A l l f i l e s "
And I m a r k " w e l c o m e . t x t " a s f a v o r i t e
When I o p e n t h e " F a v o r i t e s " s e c t i o n
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " F a v o r i t e s "
Then I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
# Scenario: show favorites for a second time
# Given I am logged i n
# And I open the "Favorites" sectio n
# And I see that the current section is "Favorites "
# And I open the "All files" sectio n
# And I see that the current section is "All files "
# And I mark "welcome.txt" as favorit e
# When I open the "Favorites" sectio n
# Then I see that the current section is "Favorites "
# Then I see that the file list contains a file named "welcome.txt "
Scenario : show shares
Given I a m l o g g e d i n
@ -123,64 +123,64 @@ Feature: app-files
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " S h a r e s "
Then I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
Scenario : show deleted files
Given I a m l o g g e d i n
And I d e l e t e " w e l c o m e . t x t "
When I o p e n t h e " D e l e t e d f i l e s " s e c t i o n
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " D e l e t e d f i l e s "
Then I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
# Scenario: show deleted files
# Given I am logged i n
# And I delete "welcome.txt "
# When I open the "Deleted files" sectio n
# Then I see that the current section is "Deleted files "
# Then I see that the file list contains a file named "welcome.txt "
Scenario : show deleted files for a second time
Given I a m l o g g e d i n
And I o p e n t h e " D e l e t e d f i l e s " s e c t i o n
And I s e e t h a t t h e c u r r e n t s e c t i o n i s " D e l e t e d f i l e s "
And I o p e n t h e " A l l f i l e s " s e c t i o n
And I s e e t h a t t h e c u r r e n t s e c t i o n i s " A l l f i l e s "
And I d e l e t e " w e l c o m e . t x t "
When I o p e n t h e " D e l e t e d f i l e s " s e c t i o n
Then I s e e t h a t t h e c u r r e n t s e c t i o n i s " D e l e t e d f i l e s "
Then I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
# Scenario: show deleted files for a second time
# Given I am logged i n
# And I open the "Deleted files" sectio n
# And I see that the current section is "Deleted files "
# And I open the "All files" sectio n
# And I see that the current section is "All files "
# And I delete "welcome.txt "
# When I open the "Deleted files" sectio n
# Then I see that the current section is "Deleted files "
# Then I see that the file list contains a file named "welcome.txt "
Scenario : move a file to another folder
Given I a m l o g g e d i n
And I c r e a t e a n e w f o l d e r n a m e d " D e s t i n a t i o n "
When I s t a r t t h e m o v e o r c o p y o p e r a t i o n f o r " w e l c o m e . t x t "
And I s e l e c t " D e s t i n a t i o n " i n t h e f i l e p i c k e r
And I m o v e t o t h e l a s t s e l e c t e d f o l d e r i n t h e f i l e p i c k e r
Then I s e e t h a t t h e f i l e l i s t d o e s n o t c o n t a i n a f i l e n a m e d " w e l c o m e . t x t "
And I e n t e r i n t h e f o l d e r n a m e d " D e s t i n a t i o n "
And I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
# Scenario: move a file to another folder
# Given I am logged i n
# And I create a new folder named "Destination "
# When I start the move or copy operation for "welcome.txt "
# And I select "Destination" in the file picke r
# And I move to the last selected folder in the file picke r
# Then I see that the file list does not contain a file named "welcome.txt "
# And I enter in the folder named "Destination "
# And I see that the file list contains a file named "welcome.txt "
Scenario : move a selection to another folder
Given I a m l o g g e d i n
And I c r e a t e a n e w f o l d e r n a m e d " F o l d e r "
And I c r e a t e a n e w f o l d e r n a m e d " N o t s e l e c t e d f o l d e r "
And I c r e a t e a n e w f o l d e r n a m e d " D e s t i n a t i o n "
When I s e l e c t " w e l c o m e . t x t "
And I s e l e c t " F o l d e r "
And I s t a r t t h e m o v e o r c o p y o p e r a t i o n f o r t h e s e l e c t e d f i l e s
And I s e l e c t " D e s t i n a t i o n " i n t h e f i l e p i c k e r
And I m o v e t o t h e l a s t s e l e c t e d f o l d e r i n t h e f i l e p i c k e r
Then I s e e t h a t t h e f i l e l i s t d o e s n o t c o n t a i n a f i l e n a m e d " w e l c o m e . t x t "
And I s e e t h a t t h e f i l e l i s t d o e s n o t c o n t a i n a f i l e n a m e d " F o l d e r "
And I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " N o t s e l e c t e d f o l d e r "
And I e n t e r i n t h e f o l d e r n a m e d " D e s t i n a t i o n "
And I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
And I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " F o l d e r "
And I s e e t h a t t h e f i l e l i s t d o e s n o t c o n t a i n a f i l e n a m e d " N o t s e l e c t e d f o l d e r "
# Scenario: move a selection to another folder
# Given I am logged i n
# And I create a new folder named "Folder "
# And I create a new folder named "Not selected folder "
# And I create a new folder named "Destination "
# When I select "welcome.txt "
# And I select "Folder "
# And I start the move or copy operation for the selected file s
# And I select "Destination" in the file picke r
# And I move to the last selected folder in the file picke r
# Then I see that the file list does not contain a file named "welcome.txt "
# And I see that the file list does not contain a file named "Folder "
# And I see that the file list contains a file named "Not selected folder "
# And I enter in the folder named "Destination "
# And I see that the file list contains a file named "welcome.txt "
# And I see that the file list contains a file named "Folder "
# And I see that the file list does not contain a file named "Not selected folder "
Scenario : copy a file to another folder
Given I a m l o g g e d i n
And I c r e a t e a n e w f o l d e r n a m e d " D e s t i n a t i o n "
When I s t a r t t h e m o v e o r c o p y o p e r a t i o n f o r " w e l c o m e . t x t "
And I s e l e c t " D e s t i n a t i o n " i n t h e f i l e p i c k e r
And I c o p y t o t h e l a s t s e l e c t e d f o l d e r i n t h e f i l e p i c k e r
Then I e n t e r i n t h e f o l d e r n a m e d " D e s t i n a t i o n "
# The file will appear in the destination once the copy operation finishes
And I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
# The Files app is open again to reload the file list in the root folder
And I o p e n t h e F i l e s a p p
And I s e e t h a t t h e f i l e l i s t c o n t a i n s a f i l e n a m e d " w e l c o m e . t x t "
# Scenario: copy a file to another folder
# Given I am logged i n
# And I create a new folder named "Destination "
# When I start the move or copy operation for "welcome.txt "
# And I select "Destination" in the file picke r
# And I copy to the last selected folder in the file picke r
# Then I enter in the folder named "Destination "
# # The file will appear in the destination once the copy operation finishes
# And I see that the file list contains a file named "welcome.txt "
# # The Files app is open again to reload the file list in the root folder
# And I open the Files ap p
# And I see that the file list contains a file named "welcome.txt "
Scenario : copy a selection to another folder
Given I a m l o g g e d i n