From bea7b3a8c6d555fc5845615ec1ea6f2a02e90733 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Thu, 14 Feb 2019 09:12:03 +0545 Subject: [PATCH] skip tests that do not work on Firefox --- .../features/webUIAdminSettings/adminGeneralSettings.feature | 2 +- tests/acceptance/features/webUIComments/comments.feature | 1 + .../features/webUICreateDelete/deleteFilesFolders.feature | 2 ++ tests/acceptance/features/webUIFiles/search.feature | 1 + .../features/webUIMoveFilesFolders/moveFiles.feature | 2 ++ .../webUIPersonalSettings/changeOwnEmailAddress.feature | 1 + tests/acceptance/features/webUIRenameFiles/renameFiles.feature | 2 +- .../renameFilesInsideProblematicFolderName.feature | 2 +- .../features/webUISharingExternal/federationSharing.feature | 2 ++ .../webUISharingInternalGroups/shareWithGroups.feature | 2 +- .../features/webUISharingInternalUsers/shareWithUsers.feature | 3 ++- tests/acceptance/features/webUITags/createTags.feature | 2 ++ .../features/webUITrashbin/trashbinFilesFolders.feature | 1 + tests/acceptance/features/webUIUpload/upload.feature | 1 + tests/acceptance/features/webUIWebdavLocks/unlock.feature | 3 +++ 15 files changed, 22 insertions(+), 5 deletions(-) diff --git a/tests/acceptance/features/webUIAdminSettings/adminGeneralSettings.feature b/tests/acceptance/features/webUIAdminSettings/adminGeneralSettings.feature index 6377186efc48..f1e1b073ff28 100644 --- a/tests/acceptance/features/webUIAdminSettings/adminGeneralSettings.feature +++ b/tests/acceptance/features/webUIAdminSettings/adminGeneralSettings.feature @@ -45,7 +45,7 @@ Feature: admin general settings And the administrator sets the value of update channel to "daily" using the webUI Then the update channel should be "daily" - @smokeTest + @smokeTest @skipOnFIREFOX Scenario: administrator changes the cron job Given the administrator has invoked occ command "config:app:set core backgroundjobs_mode --value ajax" When the user reloads the current page of the webUI diff --git a/tests/acceptance/features/webUIComments/comments.feature b/tests/acceptance/features/webUIComments/comments.feature index 4a7035f40570..fccf94fba56d 100644 --- a/tests/acceptance/features/webUIComments/comments.feature +++ b/tests/acceptance/features/webUIComments/comments.feature @@ -25,6 +25,7 @@ Feature: Add, delete and edit comments in files and folders | 😀 🤖 | | नेपालि | + @skipOnFIREFOX Scenario Outline: Add comment on a shared file and check it is shown in other user's UI When the user renames file "lorem.txt" to "new-lorem.txt" using the webUI And the user browses directly to display the "comments" details of file "new-lorem.txt" in folder "/" diff --git a/tests/acceptance/features/webUICreateDelete/deleteFilesFolders.feature b/tests/acceptance/features/webUICreateDelete/deleteFilesFolders.feature index e637528d140d..015dadf6e15c 100644 --- a/tests/acceptance/features/webUICreateDelete/deleteFilesFolders.feature +++ b/tests/acceptance/features/webUICreateDelete/deleteFilesFolders.feature @@ -27,6 +27,7 @@ Feature: deleting files and folders And the deleted elements should not be listed on the webUI And the deleted elements should not be listed on the webUI after a page reload + @skipOnFIREFOX Scenario: Delete a file with problematic characters When the user renames the following file using the webUI | from-name-parts | to-name-parts | @@ -169,6 +170,7 @@ Feature: deleting files and folders And the deleted elements should not be listed on the webUI And the deleted elements should not be listed on the webUI after a page reload + @skipOnFIREFOX Scenario: delete a file on a public share with problematic characters Given the user has created a new public link for folder "simple-folder" using the webUI with | permission | read-write | diff --git a/tests/acceptance/features/webUIFiles/search.feature b/tests/acceptance/features/webUIFiles/search.feature index 20ecfb98274a..70420bf902cf 100644 --- a/tests/acceptance/features/webUIFiles/search.feature +++ b/tests/acceptance/features/webUIFiles/search.feature @@ -97,6 +97,7 @@ Feature: Search And the user searches for "simple" using the webUI Then folder "simple-folder (2)" should be listed on the webUI + @skipOnFIREFOX Scenario: Search for a file after name is changed When the user renames file "lorem.txt" to "torem.txt" using the webUI And the user searches for "torem" using the webUI diff --git a/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature b/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature index c120f4ccb464..11e4d70d881a 100644 --- a/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature +++ b/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature @@ -35,6 +35,7 @@ Feature: move files | Could not move "data.zip", target exists | And file "data.zip" should be listed on the webUI + @skipOnFIREFOX Scenario: move a file into a folder where a file with the same name already exists When the user moves file "strängé filename (duplicate #2 &).txt" into folder "strängé नेपाली folder" using the webUI Then notifications should be displayed on the webUI with the text @@ -52,6 +53,7 @@ Feature: move files And the moved elements should not be listed on the webUI after a page reload But the moved elements should be listed in folder "simple-empty-folder" on the webUI + @skipOnFIREFOX Scenario: move a file into a folder (problematic characters) When the user renames the following file using the webUI | from-name-parts | to-name-parts | diff --git a/tests/acceptance/features/webUIPersonalSettings/changeOwnEmailAddress.feature b/tests/acceptance/features/webUIPersonalSettings/changeOwnEmailAddress.feature index 27e16c9c9cd0..2cb2ccbbfc9a 100644 --- a/tests/acceptance/features/webUIPersonalSettings/changeOwnEmailAddress.feature +++ b/tests/acceptance/features/webUIPersonalSettings/changeOwnEmailAddress.feature @@ -11,6 +11,7 @@ Feature: Change own email address on the personal settings page @issue-32385 @smokeTest + @skipOnFIREFOX Scenario: Change email address When the user changes the email address to "new-address@owncloud.com" using the webUI # When the issue is fixed, remove the following step and replace with the commented-out step diff --git a/tests/acceptance/features/webUIRenameFiles/renameFiles.feature b/tests/acceptance/features/webUIRenameFiles/renameFiles.feature index bbadc12497c1..80da702205be 100644 --- a/tests/acceptance/features/webUIRenameFiles/renameFiles.feature +++ b/tests/acceptance/features/webUIRenameFiles/renameFiles.feature @@ -1,4 +1,4 @@ -@webUI @insulated @disablePreviews +@webUI @insulated @disablePreviews @skipOnFIREFOX Feature: rename files As a user I want to rename files diff --git a/tests/acceptance/features/webUIRenameFiles/renameFilesInsideProblematicFolderName.feature b/tests/acceptance/features/webUIRenameFiles/renameFilesInsideProblematicFolderName.feature index eaac7e50f175..da9bc783913f 100644 --- a/tests/acceptance/features/webUIRenameFiles/renameFilesInsideProblematicFolderName.feature +++ b/tests/acceptance/features/webUIRenameFiles/renameFilesInsideProblematicFolderName.feature @@ -1,4 +1,4 @@ -@webUI @insulated @disablePreviews +@webUI @insulated @disablePreviews @skipOnFIREFOX Feature: Renaming files inside a folder with problematic name As a user I want to rename a file diff --git a/tests/acceptance/features/webUISharingExternal/federationSharing.feature b/tests/acceptance/features/webUISharingExternal/federationSharing.feature index ae9f9e592a5e..087854779de8 100644 --- a/tests/acceptance/features/webUISharingExternal/federationSharing.feature +++ b/tests/acceptance/features/webUISharingExternal/federationSharing.feature @@ -136,6 +136,7 @@ Feature: Federation Sharing - sharing with users on other cloud storages But file "lorem-big.txt" should not be listed on the webUI And the content of "renamed file.txt" on the local server should be the same as the original "simple-folder/lorem-big.txt" + @skipOnFIREFOX Scenario: rename a file in a received share - remote server shares - local server receives Given user "user1" from server "REMOTE" has shared "simple-folder" with user "user1" from server "LOCAL" And the user has reloaded the current page of the webUI @@ -278,6 +279,7 @@ Feature: Federation Sharing - sharing with users on other cloud storages And using server "LOCAL" Then as "user1" file "simple-folder/simple-empty-folder/lorem.txt" should exist + @skipOnFIREFOX Scenario: rename a file in a folder inside a shared folder Given user "user1" has uploaded file "filesForUpload/textfile.txt" to "/simple-folder/simple-empty-folder/textfile.txt" And user "user1" from server "LOCAL" has shared "simple-folder" with user "user1" from server "REMOTE" diff --git a/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature b/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature index 067524e8755e..fbae008fa820 100644 --- a/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature +++ b/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature @@ -33,7 +33,7 @@ Feature: Sharing files and folders with internal groups And file "testimage (2).jpg" should be listed on the webUI And file "testimage (2).jpg" should be marked as shared with "grp1" by "User Three" on the webUI - @TestAlsoOnExternalUserBackend + @TestAlsoOnExternalUserBackend @skipOnFIREFOX Scenario: share a file with an internal group a member overwrites and unshares the file Given user "user3" has logged in using the webUI When the user renames file "lorem.txt" to "new-lorem.txt" using the webUI diff --git a/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature b/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature index 449d270c285a..eaf6eb2916a2 100644 --- a/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature +++ b/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature @@ -25,7 +25,7 @@ Feature: Sharing files and folders with internal users Then file "lorem.txt" should be listed on the webUI But folder "simple-folder (2)" should not be listed on the webUI - @TestAlsoOnExternalUserBackend + @TestAlsoOnExternalUserBackend @skipOnFIREFOX Scenario: share a file with another internal user who overwrites and unshares the file Given user "user2" has logged in using the webUI When the user renames file "lorem.txt" to "new-lorem.txt" using the webUI @@ -96,6 +96,7 @@ Feature: Sharing files and folders with internal users And the user opens folder "simple-folder (2)" using the webUI Then it should not be possible to delete file "lorem.txt" using the webUI + @skipOnFIREFOX Scenario: share a folder with other user and then it should be listed on Shared with You for other user Given user "user2" has logged in using the webUI And the user has renamed folder "simple-folder" to "new-simple-folder" using the webUI diff --git a/tests/acceptance/features/webUITags/createTags.feature b/tests/acceptance/features/webUITags/createTags.feature index 08f18d0db88e..dcd90faa7eda 100644 --- a/tests/acceptance/features/webUITags/createTags.feature +++ b/tests/acceptance/features/webUITags/createTags.feature @@ -45,6 +45,7 @@ Feature: Creation of tags for the files and folders And the user toggles a tag "lorem" on the file using the webUI Then file "simple-folder/lorem.txt" should have no tags for user "user1" + @skipOnFIREFOX Scenario: Create and add tag on a shared file When the user renames file "lorem.txt" to "coolnewfile.txt" using the webUI And the user browses directly to display the details of file "coolnewfile.txt" in folder "" @@ -60,6 +61,7 @@ Feature: Creation of tags for the files and folders | tag1 | normal | | tag2 | normal | + @skipOnFIREFOX Scenario: Delete a tag in a shared file When the user renames file "lorem.txt" to "coolnewfile.txt" using the webUI And the user browses directly to display the details of file "coolnewfile.txt" in folder "" diff --git a/tests/acceptance/features/webUITrashbin/trashbinFilesFolders.feature b/tests/acceptance/features/webUITrashbin/trashbinFilesFolders.feature index bbd41a2c94b6..dd6247387ef2 100644 --- a/tests/acceptance/features/webUITrashbin/trashbinFilesFolders.feature +++ b/tests/acceptance/features/webUITrashbin/trashbinFilesFolders.feature @@ -24,6 +24,7 @@ Feature: files and folders exist in the trashbin after being deleted And the deleted elements should be listed in the trashbin on the webUI And file "lorem.txt" should be listed in the trashbin folder "simple-folder" on the webUI + @skipOnFIREFOX Scenario: Delete a file with problematic characters and check it is in the trashbin When the user renames the following file using the webUI | from-name-parts | to-name-parts | diff --git a/tests/acceptance/features/webUIUpload/upload.feature b/tests/acceptance/features/webUIUpload/upload.feature index 609355432fb5..4ca440b318ce 100644 --- a/tests/acceptance/features/webUIUpload/upload.feature +++ b/tests/acceptance/features/webUIUpload/upload.feature @@ -24,6 +24,7 @@ Feature: File Upload And file "big-video.mp4" should be listed on the webUI And the content of "big-video.mp4" should be the same as the local "big-video.mp4" + @skipOnFIREFOX Scenario: conflict with a chunked file Given a file with the size of "30000000" bytes and the name "big-video.mp4" has been created locally When the user renames file "lorem.txt" to "big-video.mp4" using the webUI diff --git a/tests/acceptance/features/webUIWebdavLocks/unlock.feature b/tests/acceptance/features/webUIWebdavLocks/unlock.feature index a3af0f21d03d..36d537e20d39 100644 --- a/tests/acceptance/features/webUIWebdavLocks/unlock.feature +++ b/tests/acceptance/features/webUIWebdavLocks/unlock.feature @@ -106,6 +106,7 @@ Feature: Unlock locked files and folders | exclusive | | shared | + @skipOnFIREFOX Scenario: deleting the first one of multiple shared locks on the webUI Given these users have been created: | username | @@ -144,6 +145,7 @@ Feature: Unlock locked files and folders And 2 locks should be reported for folder "FOLDER_TO_SHARE" of user "receiver1" by the WebDAV API And 2 locks should be reported for folder "FOLDER_TO_SHARE" of user "receiver2" by the WebDAV API + @skipOnFIREFOX Scenario: deleting the second one of multiple shared locks on the webUI Given these users have been created: | username | @@ -182,6 +184,7 @@ Feature: Unlock locked files and folders And 2 locks should be reported for folder "FOLDER_TO_SHARE" of user "receiver1" by the WebDAV API And 2 locks should be reported for folder "FOLDER_TO_SHARE" of user "receiver2" by the WebDAV API + @skipOnFIREFOX Scenario: deleting the last one of multiple shared locks on the webUI Given these users have been created: | username |