Skip to content

Commit

Permalink
Check running upload tests only
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach committed May 18, 2020
1 parent 7451e79 commit dd547a1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 69 deletions.
72 changes: 4 additions & 68 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -14,73 +14,6 @@ config = {
'yarnlint': True,

'acceptance': {
'webUI': {
'suites': {
'webUICreateFilesFolders': 'createFilesFolders',
'webUIDeleteFilesFolders': 'deleteFilesFolders',
'webUIFavorites': 'Favorites',
'webUIFiles': 'Files',
'webUILogin': 'Login',
'webUINotifications': 'Notifications',
'webUIPrivateLinks': 'PrivateLinks',
'webUIRenameFiles': 'RenameFiles',
'webUIRenameFolders': 'RenameFolders',
'webUIRestrictSharing': 'RestrictSharing',
'webUISharingAutocompletion': 'SharingAutocompletion',
'webUISharingInternalGroups': 'SharingInternalGroups',
'webUISharingInternalUsers': 'SharingInternalUsers',
'webUISharingPermissionsUsers': 'SharingPermissionsUsers',
'webUISharingFilePermissionsGroups': 'SharingFilePermissionsGroups',
'webUISharingFolderPermissionsGroups': 'SharingFolderPermissionsGroups',
'webUISharingFolderAdvancedPermissionsGroups': 'SharingFolderAdvPermissionsGrp',
'webUIResharing': 'Resharing',
'webUISharingPublic': 'SharingPublic',
'webUISharingPublicDifferentRoles': 'SharingPublicDifferentRoles',
'webUITrashbin': 'Trashbin',
'webUIUpload': 'Upload',
'webUISharingAcceptShares': 'SharingAcceptShares',
'webUISharingFilePermissionMultipleUsers': 'SharingFilePermissionMultipleUsers',
'webUISharingFolderPermissionMultipleUsers': 'SharingFolderPermissionMultipleUsers',
'webUISharingFolderAdvancedPermissionMultipleUsers': 'SharingFolderAdvancedPermissionMU',
'webUISharingNotifications': 'SharingNotifications',
'webUIAccount': 'Account'
},
'extraEnvironment': {
'OPENID_LOGIN': 'true',
'PHOENIX_CONFIG': '/srv/config/drone/config.json'
}
},
'webUIFederation': {
'suites': {
'webUISharingExternal': 'SharingExternal',
},
'extraEnvironment': {
'OPENID_LOGIN': 'true',
'REMOTE_BACKEND_HOST': 'http://federated'
},
'federatedServerNeeded': True,
'federatedServerVersion': 'daily-master-qa'
},
'webUI-XGA': {
'suites': {
'all': 'XGAPortrait',
},
'extraEnvironment': {
'OPENID_LOGIN': 'true',
'SCREEN_RESOLUTION': '768x1024'
},
'filterTags': '@smokeTest and not @skipOnXGAPortraitResolution and not @skip and not @skipOnOC10'
},
'webUI-iPhone': {
'suites': {
'all': 'iPhone',
},
'extraEnvironment': {
'OPENID_LOGIN': 'true',
'SCREEN_RESOLUTION': '375x812'
},
'filterTags': '@smokeTest and not @skipOnIphoneResolution and not @skip and @skipOnOC10'
},
'webUI-ocis': {
'suites': {
'all': 'webUIOCIS'
Expand All @@ -95,7 +28,7 @@ config = {
'PHOENIX_CONFIG': '/srv/config/drone/ocis-config.json'
},
'runningOnOCIS': True,
'filterTags': 'not @skip and not @skipOnOCIS',
'filterTags': 'not @skip and not @skipOnOCIS and @singleUpload',
'screenShots': True,
}
},
Expand Down Expand Up @@ -1173,6 +1106,9 @@ def revaService():
'REVA_LDAP_BIND_DN': 'cn=admin,dc=owncloud,dc=com',
'REVA_LDAP_BIND_PASSWORD': 'admin',
'REVA_LDAP_BASE_DN': 'dc=owncloud,dc=com',
'REVA_LOG_LEVEL': 'debug',
'REVA_LOG_PRETTY': 'true',
'REVA_LOG_COLOR': 'true',
},
'commands': [
'mkdir -p $REVA_STORAGE_HOME_DATA_TEMP_FOLDER',
Expand Down
3 changes: 2 additions & 1 deletion tests/acceptance/features/webUIUpload/upload.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@uploadTest
Feature: File Upload

As a user
Expand All @@ -8,7 +9,7 @@ Feature: File Upload
Given user "user1" has been created with default attributes
And user "user1" has logged in using the webUI

@smokeTest
@smokeTest @singleUpload
Scenario: simple upload of a file that does not exist before
When the user uploads file "new-lorem.txt" using the webUI
Then no message should be displayed on the webUI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@uploadTest
Feature: File Upload

As a QA engineer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@uploadTest
Feature: Upload a file

As a user
Expand Down

0 comments on commit dd547a1

Please sign in to comment.