Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests-Only] Unskip tests for renaming and file list #3463

Merged
merged 1 commit into from
May 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Feature: create folder
| "home" |

# Merge with the scenario above once the issue is resolved
@skipOnOCIS @ocis-phoenix-issue-58
Scenario Outline: Create a folder using special characters
When the user creates a folder with the name <folder_name> using the webUI
Then folder <folder_name> should be listed on the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: create folders
And user "user1" has logged in using the webUI
And the user has browsed to the files page

@smokeTest @skipOnOCIS @ocis-phoenix-issue-58
@smokeTest
Scenario: Create a folder inside another folder
When the user creates a folder with the name "top-folder" using the webUI
And the user opens folder "top-folder" using the webUI
Expand Down Expand Up @@ -38,7 +38,7 @@ Feature: create folders
When the user creates a folder with the invalid name "folder/subfolder" using the webUI
Then the error message 'Folder name cannot contain "/"' should be displayed on the webUI dialog prompt

@issue-2467 @skipOnOCIS @ocis-phoenix-issue-58
@issue-2467
Scenario: Create folder with special characters in its name and browse to that folder
When the user creates a folder with the name "?&%0" using the webUI
And the user opens folder "?&%0" using the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: deleting files and folders
And user "user1" has logged in using the webUI
And the user has browsed to the files page

@smokeTest @skipOnOCIS @ocis-phoenix-issue-58
@smokeTest
Scenario: Delete files & folders one by one and check its existence after page reload
When the user deletes the following elements using the webUI
| name |
Expand All @@ -26,7 +26,6 @@ Feature: deleting files and folders
And file "strängé नेपाली folder" should not be listed on the webUI
But the deleted elements should not be listed on the webUI after a page reload

@skipOnOCIS @ocis-phoenix-issue-58
Scenario: Delete a file with problematic characters
Given user "user1" has renamed the following file
| from-name-parts | to-name-parts |
Expand Down Expand Up @@ -111,7 +110,6 @@ Feature: deleting files and folders
But as "user1" folder "my-empty-folder" should not exist
And folder "my-empty-folder" should not be listed on the webUI

@skipOnOCIS @ocis-phoenix-issue-58
Scenario: Delete the last file in a folder
When the user deletes file "zzzz-must-be-last-file-in-folder.txt" using the webUI
Then as "user1" file "zzzz-must-be-last-file-in-folder.txt" should not exist
Expand Down
1 change: 0 additions & 1 deletion tests/acceptance/features/webUIFiles/fileList.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Feature: User can view files inside a folder
Given user "user1" has been created with default attributes
And user "user1" has logged in using the webUI

@skipOnOCIS @ocis-phoenix-issue-58
Scenario: Resources are listed
When the user has browsed to the files page
Then folder "simple-folder" should be listed on the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: rename files
| "'quotes2'" |

# Merge with scenario above once the issue is resolved
@smokeTest @skipOnOCIS @ocis-phoenix-issue-58
@smokeTest
Scenario Outline: Rename a file
When the user renames file "lorem.txt" to <to_file_name> using the webUI
Then file <to_file_name> should be listed on the webUI
Expand All @@ -42,7 +42,6 @@ Feature: rename files
| "'single'quotes.txt" | "single-quotes.txt" |

# Merge with scenario above once the issue is resolved
@skipOnOCIS @ocis-phoenix-issue-58
Scenario Outline: Rename a file that has special characters in its name
When the user renames file <from_name> to <to_name> using the webUI
Then file <to_name> should be listed on the webUI
Expand All @@ -52,7 +51,7 @@ Feature: rename files
| from_name | to_name |
| "strängé filename (duplicate #2 &).txt" | "strängé filename (duplicate #3).txt" |

@smokeTest @skipOnOCIS @ocis-phoenix-issue-58
@smokeTest
Scenario: Rename a file using special characters and check its existence after page reload
When the user renames file "lorem.txt" to "लोरेम।तयक्स्त $%&" using the webUI
And the user reloads the current page of the webUI
Expand Down Expand Up @@ -138,13 +137,11 @@ Feature: rename files
| lorem.txt | lorem/txt |
| simple-folder | simple-empty-folder/simple-folder |

@skipOnOCIS @ocis-phoenix-issue-58
Scenario: Rename the last file in a folder
When the user renames file "zzzz-must-be-last-file-in-folder.txt" to "a-file.txt" using the webUI
And the user reloads the current page of the webUI
Then file "a-file.txt" should be listed on the webUI

@skipOnOCIS @ocis-phoenix-issue-58
Scenario: Rename a file to become the last file in a folder
When the user renames file "lorem.txt" to "zzzz-z-this-is-now-the-last-file.txt" using the webUI
And the user reloads the current page of the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Feature: Renaming files inside a folder with problematic name
| "0" |
| "'single'quotes" |

@skipOnOCIS @ocis-phoenix-issue-58
Scenario Outline: Rename the existing file inside a problematic folder
When the user opens folder <folder> using the webUI
And the user renames file "lorem.txt" to "???.txt" using the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Feature: rename folders
| "home" |

# Merge with scenario above once the issue is resolved
@skipOnOCIS @ocis-phoenix-issue-58
Scenario Outline: Rename a folder
When the user renames folder "simple-folder" to <to_folder_name> using the webUI
Then folder <to_folder_name> should be listed on the webUI
Expand All @@ -41,7 +40,6 @@ Feature: rename folders
| "'single'quotes" | "single-quotes" |

# Merge with scenario above once the issue is resolved
@skipOnOCIS @ocis-phoenix-issue-58
Scenario Outline: Rename a folder that has special characters in its name
When the user renames folder <from_name> to <to_name> using the webUI
Then folder <to_name> should be listed on the webUI
Expand All @@ -51,7 +49,6 @@ Feature: rename folders
| from_name | to_name |
| "strängé नेपाली folder" | "strängé नेपाली folder-#?2" |

@skipOnOCIS @ocis-phoenix-issue-58
Scenario: Rename a folder using special characters and check its existence after page reload
When the user renames folder "simple-folder" to "लोरेम।तयक्स्त $%&" using the webUI
And the user reloads the current page of the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feature: files and folders exist in the trashbin after being deleted
And user "user1" has logged in using the webUI
And the user has browsed to the files page

@smokeTest @skipOnOCIS @ocis-reva-issue-111 @ocis-phoenix-issue-58
@smokeTest @skipOnOCIS @ocis-reva-issue-111
Scenario: Delete files & folders one by one and check that they are all in the trashbin
When the user deletes the following elements using the webUI
| name |
Expand All @@ -24,7 +24,7 @@ Feature: files and folders exist in the trashbin after being deleted
And as "user1" file "strängé filename (duplicate #2 &).txt" should exist in the trashbin
And the deleted elements should be listed on the webUI

@skipOnOCIS @ocis-phoenix-issue-58
@skipOnOCIS @ocis-reva-issue-111
Scenario: Delete a file with problematic characters and check it is in the trashbin
Given the user has renamed the following files
| from-name-parts | to-name-parts |
Expand Down Expand Up @@ -76,7 +76,7 @@ Feature: files and folders exist in the trashbin after being deleted
#When the user opens folder "my-empty-folder" using the webUI
#Then there should be no resources listed on the webUI

@skipOnOCIS @ocis-reva-issue-111 @ocis-phoenix-issue-58
@skipOnOCIS @ocis-reva-issue-111
Scenario: Delete multiple file with same filename and check they are in the trashbin
When the user deletes the following elements using the webUI
| name |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Feature: File Upload
And user "user1" has logged in using the webUI
And the user browses to the files page

@skipOnOCIS @ocis-phoenix-issue-58
Scenario: simple upload of a file that does not exist before
When the user uploads file "new-'single'quotes.txt" using the webUI
Then file "new-'single'quotes.txt" should be listed on the webUI
Expand Down Expand Up @@ -48,7 +47,7 @@ Feature: File Upload
| 'single'quotes |

# Merge with the scenario above once the issue is resolved
@smokeTest @skipOnOCIS @ocis-phoenix-issue-58
@smokeTest
Scenario Outline: upload a new file into a sub folder
Given a file with the size of "3000" bytes and the name "0" has been created locally
When the user opens folder "<folder-to-upload-to>" using the webUI
Expand Down Expand Up @@ -101,7 +100,6 @@ Feature: File Upload
And file "zzzz-must-be-last-file-in-folder (2).txt" should be listed on the webUI
And the content of "zzzz-must-be-last-file-in-folder (2).txt" should be the same as the local "zzzz-must-be-last-file-in-folder.txt"

@skipOnOCIS @ocis-phoenix-issue-58
Scenario Outline: upload a big file using difficult names (when chunking in implemented that upload should be chunked)
Given a file with the size of "30000000" bytes and the name <file-name> has been created locally
When the user uploads a created file <file-name> using the webUI
Expand Down