mirror of
https://github.com/owncloud/ocis.git
synced 2025-04-18 23:44:07 +03:00
[tx] updated from transifex
This commit is contained in:
parent
4d47ed6b91
commit
1e5658121b
@ -1,3 +1,3 @@
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=eae32d564f8b2e016624b584b0e99addf802ca63
|
||||
WEB_BRANCH=stable-11.0
|
||||
WEB_COMMITID=e1cf1c3116e99c8f9e5970fee6d49be9e82f0a1c
|
||||
WEB_BRANCH=test/bump-ocis-stable-7.1-commit-id
|
||||
|
428
.drone.star
428
.drone.star
@ -84,222 +84,222 @@ config = {
|
||||
"skip": False,
|
||||
},
|
||||
"localApiTests": {
|
||||
"basic": {
|
||||
"suites": [
|
||||
"apiArchiver",
|
||||
"apiContract",
|
||||
"apiCors",
|
||||
"apiAsyncUpload",
|
||||
"apiDownloads",
|
||||
"apiDepthInfinity",
|
||||
"apiLocks",
|
||||
"apiActivities",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
"settingsAndNotification": {
|
||||
"suites": [
|
||||
"apiSettings",
|
||||
"apiNotification",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
"emailNeeded": True,
|
||||
"extraEnvironment": {
|
||||
"EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
"EMAIL_PORT": EMAIL_PORT,
|
||||
},
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "notifications",
|
||||
"NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
"NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
"NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
},
|
||||
},
|
||||
"graphBasicAndGroup": {
|
||||
"suites": [
|
||||
"apiServiceAvailability",
|
||||
"apiGraph",
|
||||
"apiGraphGroup",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
},
|
||||
"graphUser": {
|
||||
"suites": [
|
||||
"apiGraphUser",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
},
|
||||
"spaces": {
|
||||
"suites": [
|
||||
"apiSpaces",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
"spacesShares": {
|
||||
"suites": [
|
||||
"apiSpacesShares",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
"spacesDavOperation": {
|
||||
"suites": [
|
||||
"apiSpacesDavOperation",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
"search1": {
|
||||
"suites": [
|
||||
"apiSearch1",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
"search2": {
|
||||
"suites": [
|
||||
"apiSearch2",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
"sharingNg1": {
|
||||
"suites": [
|
||||
"apiSharingNgShares",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
},
|
||||
"sharingNg2": {
|
||||
"suites": [
|
||||
"apiSharingNgPermissions",
|
||||
"apiReshare",
|
||||
"apiSharingNgAdditionalShareRole",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
},
|
||||
"sharingNgShareInvitation": {
|
||||
"suites": [
|
||||
"apiSharingNgDriveInvitation",
|
||||
"apiSharingNgItemInvitation",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
},
|
||||
"sharingNgLinkShare": {
|
||||
"suites": [
|
||||
"apiSharingNgDriveLinkShare",
|
||||
"apiSharingNgItemLinkShare",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
},
|
||||
"accountsHashDifficulty": {
|
||||
"skip": False,
|
||||
"suites": [
|
||||
"apiAccountsHashDifficulty",
|
||||
],
|
||||
"accounts_hash_difficulty": "default",
|
||||
},
|
||||
"antivirus": {
|
||||
"suites": [
|
||||
"apiAntivirus",
|
||||
],
|
||||
"skip": False,
|
||||
"antivirusNeeded": True,
|
||||
"extraServerEnvironment": {
|
||||
"ANTIVIRUS_SCANNER_TYPE": "clamav",
|
||||
"ANTIVIRUS_CLAMAV_SOCKET": "tcp://clamav:3310",
|
||||
"POSTPROCESSING_STEPS": "virusscan",
|
||||
"OCIS_ASYNC_UPLOADS": True,
|
||||
"OCIS_ADD_RUN_SERVICES": "antivirus",
|
||||
"ANTIVIRUS_DEBUG_ADDR": "0.0.0.0:9297",
|
||||
},
|
||||
},
|
||||
"searchContent": {
|
||||
"suites": [
|
||||
"apiSearchContent",
|
||||
],
|
||||
"skip": False,
|
||||
"tikaNeeded": True,
|
||||
},
|
||||
"ocm": {
|
||||
"suites": [
|
||||
"apiOcm",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
"federationServer": True,
|
||||
"emailNeeded": True,
|
||||
"extraEnvironment": {
|
||||
"EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
"EMAIL_PORT": EMAIL_PORT,
|
||||
},
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "ocm,notifications",
|
||||
"OCIS_ENABLE_OCM": True,
|
||||
"OCM_OCM_INVITE_MANAGER_INSECURE": True,
|
||||
"OCM_OCM_SHARE_PROVIDER_INSECURE": True,
|
||||
"OCM_OCM_STORAGE_PROVIDER_INSECURE": True,
|
||||
"OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "%s" % dirs["ocmProviders"],
|
||||
# mail notifications
|
||||
"NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
"NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
"NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
},
|
||||
},
|
||||
"wopi": {
|
||||
"suites": [
|
||||
"apiCollaboration",
|
||||
],
|
||||
"skip": False,
|
||||
"collaborationServiceNeeded": True,
|
||||
"extraServerEnvironment": {
|
||||
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
|
||||
},
|
||||
},
|
||||
"authApp": {
|
||||
"suites": [
|
||||
"apiAuthApp",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "auth-app",
|
||||
"PROXY_ENABLE_APP_AUTH": True,
|
||||
},
|
||||
},
|
||||
"cliCommands": {
|
||||
"suites": [
|
||||
"cliCommands",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
"antivirusNeeded": True,
|
||||
"emailNeeded": True,
|
||||
"extraEnvironment": {
|
||||
"EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
"EMAIL_PORT": EMAIL_PORT,
|
||||
},
|
||||
"extraServerEnvironment": {
|
||||
"NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
"NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
"NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
"ANTIVIRUS_SCANNER_TYPE": "clamav",
|
||||
"ANTIVIRUS_CLAMAV_SOCKET": "tcp://clamav:3310",
|
||||
"OCIS_ASYNC_UPLOADS": True,
|
||||
"OCIS_ADD_RUN_SERVICES": "antivirus,notifications",
|
||||
},
|
||||
},
|
||||
# "basic": {
|
||||
# "suites": [
|
||||
# "apiArchiver",
|
||||
# "apiContract",
|
||||
# "apiCors",
|
||||
# "apiAsyncUpload",
|
||||
# "apiDownloads",
|
||||
# "apiDepthInfinity",
|
||||
# "apiLocks",
|
||||
# "apiActivities",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# },
|
||||
# "settingsAndNotification": {
|
||||
# "suites": [
|
||||
# "apiSettings",
|
||||
# "apiNotification",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# "emailNeeded": True,
|
||||
# "extraEnvironment": {
|
||||
# "EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
# "EMAIL_PORT": EMAIL_PORT,
|
||||
# },
|
||||
# "extraServerEnvironment": {
|
||||
# "OCIS_ADD_RUN_SERVICES": "notifications",
|
||||
# "NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
# "NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
# "NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
# "NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
# "NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
# },
|
||||
# },
|
||||
# "graphBasicAndGroup": {
|
||||
# "suites": [
|
||||
# "apiServiceAvailability",
|
||||
# "apiGraph",
|
||||
# "apiGraphGroup",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# },
|
||||
# "graphUser": {
|
||||
# "suites": [
|
||||
# "apiGraphUser",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# },
|
||||
# "spaces": {
|
||||
# "suites": [
|
||||
# "apiSpaces",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# },
|
||||
# "spacesShares": {
|
||||
# "suites": [
|
||||
# "apiSpacesShares",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# },
|
||||
# "spacesDavOperation": {
|
||||
# "suites": [
|
||||
# "apiSpacesDavOperation",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# },
|
||||
# "search1": {
|
||||
# "suites": [
|
||||
# "apiSearch1",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# },
|
||||
# "search2": {
|
||||
# "suites": [
|
||||
# "apiSearch2",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# },
|
||||
# "sharingNg1": {
|
||||
# "suites": [
|
||||
# "apiSharingNgShares",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# },
|
||||
# "sharingNg2": {
|
||||
# "suites": [
|
||||
# "apiSharingNgPermissions",
|
||||
# "apiReshare",
|
||||
# "apiSharingNgAdditionalShareRole",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# },
|
||||
# "sharingNgShareInvitation": {
|
||||
# "suites": [
|
||||
# "apiSharingNgDriveInvitation",
|
||||
# "apiSharingNgItemInvitation",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# },
|
||||
# "sharingNgLinkShare": {
|
||||
# "suites": [
|
||||
# "apiSharingNgDriveLinkShare",
|
||||
# "apiSharingNgItemLinkShare",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# },
|
||||
# "accountsHashDifficulty": {
|
||||
# "skip": False,
|
||||
# "suites": [
|
||||
# "apiAccountsHashDifficulty",
|
||||
# ],
|
||||
# "accounts_hash_difficulty": "default",
|
||||
# },
|
||||
# "antivirus": {
|
||||
# "suites": [
|
||||
# "apiAntivirus",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "antivirusNeeded": True,
|
||||
# "extraServerEnvironment": {
|
||||
# "ANTIVIRUS_SCANNER_TYPE": "clamav",
|
||||
# "ANTIVIRUS_CLAMAV_SOCKET": "tcp://clamav:3310",
|
||||
# "POSTPROCESSING_STEPS": "virusscan",
|
||||
# "OCIS_ASYNC_UPLOADS": True,
|
||||
# "OCIS_ADD_RUN_SERVICES": "antivirus",
|
||||
# "ANTIVIRUS_DEBUG_ADDR": "0.0.0.0:9297",
|
||||
# },
|
||||
# },
|
||||
# "searchContent": {
|
||||
# "suites": [
|
||||
# "apiSearchContent",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "tikaNeeded": True,
|
||||
# },
|
||||
# "ocm": {
|
||||
# "suites": [
|
||||
# "apiOcm",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# "federationServer": True,
|
||||
# "emailNeeded": True,
|
||||
# "extraEnvironment": {
|
||||
# "EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
# "EMAIL_PORT": EMAIL_PORT,
|
||||
# },
|
||||
# "extraServerEnvironment": {
|
||||
# "OCIS_ADD_RUN_SERVICES": "ocm,notifications",
|
||||
# "OCIS_ENABLE_OCM": True,
|
||||
# "OCM_OCM_INVITE_MANAGER_INSECURE": True,
|
||||
# "OCM_OCM_SHARE_PROVIDER_INSECURE": True,
|
||||
# "OCM_OCM_STORAGE_PROVIDER_INSECURE": True,
|
||||
# "OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "%s" % dirs["ocmProviders"],
|
||||
# # mail notifications
|
||||
# "NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
# "NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
# "NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
# "NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
# },
|
||||
# },
|
||||
# "wopi": {
|
||||
# "suites": [
|
||||
# "apiCollaboration",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "collaborationServiceNeeded": True,
|
||||
# "extraServerEnvironment": {
|
||||
# "GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
|
||||
# },
|
||||
# },
|
||||
# "authApp": {
|
||||
# "suites": [
|
||||
# "apiAuthApp",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# "extraServerEnvironment": {
|
||||
# "OCIS_ADD_RUN_SERVICES": "auth-app",
|
||||
# "PROXY_ENABLE_APP_AUTH": True,
|
||||
# },
|
||||
# },
|
||||
# "cliCommands": {
|
||||
# "suites": [
|
||||
# "cliCommands",
|
||||
# ],
|
||||
# "skip": False,
|
||||
# "withRemotePhp": [True],
|
||||
# "antivirusNeeded": True,
|
||||
# "emailNeeded": True,
|
||||
# "extraEnvironment": {
|
||||
# "EMAIL_HOST": EMAIL_SMTP_HOST,
|
||||
# "EMAIL_PORT": EMAIL_PORT,
|
||||
# },
|
||||
# "extraServerEnvironment": {
|
||||
# "NOTIFICATIONS_SMTP_HOST": EMAIL_SMTP_HOST,
|
||||
# "NOTIFICATIONS_SMTP_PORT": EMAIL_SMTP_PORT,
|
||||
# "NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
# "NOTIFICATIONS_SMTP_SENDER": EMAIL_SMTP_SENDER,
|
||||
# "NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
# "ANTIVIRUS_SCANNER_TYPE": "clamav",
|
||||
# "ANTIVIRUS_CLAMAV_SOCKET": "tcp://clamav:3310",
|
||||
# "OCIS_ASYNC_UPLOADS": True,
|
||||
# "OCIS_ADD_RUN_SERVICES": "antivirus,notifications",
|
||||
# },
|
||||
# },
|
||||
},
|
||||
"apiTests": {
|
||||
"numberOfParts": 7,
|
||||
"skip": False,
|
||||
"numberOfParts": 0,
|
||||
"skip": True,
|
||||
"skipExceptParts": [],
|
||||
},
|
||||
"e2eTests": {
|
||||
|
@ -192,10 +192,21 @@ Feature: create auth-app token
|
||||
When user "Admin" tries to delete the last created auth-app token using the auth-app API
|
||||
Then the HTTP status code should be "403"
|
||||
|
||||
|
||||
@env-config
|
||||
Scenario: try to create auth-app token for non-existing user
|
||||
Given the config "AUTH_APP_ENABLE_IMPERSONATION" has been set to "true"
|
||||
And user "Admin" has created auth-app token for user "Alice" with expiration time "72h" using the auth-app API
|
||||
When user "Alice" lists the all her drives using the auth-app token
|
||||
Then the HTTP status code should be "200"
|
||||
Then the HTTP status code should be "200"
|
||||
|
||||
|
||||
Scenario: admin user tries to creates user using auth-app token
|
||||
And user "Admin" has created auth-app token with expiration time "1s" using the auth-app API
|
||||
When the administrator tries to creates user "Brian" using auth-app token
|
||||
Then the HTTP status code should be "401"
|
||||
|
||||
|
||||
Scenario: user tries to their drives using auth-app token
|
||||
Given user "Alice" has created auth-app token with expiration time "1s" using the auth-app API
|
||||
When user "Alice" lists the all her drives using the auth-app token
|
||||
Then the HTTP status code should be "401"
|
||||
|
Loading…
x
Reference in New Issue
Block a user