Commit Graph
2875 Commits
Author SHA1 Message Date
amrita-shrestha 34fe308d85 add step to check activities exist or not for sharee 2025-04-16 12:56:01 +05:45
Deyan Zhekov 89835a2b9d Remove Given steps for the Scenario
Reduce the total steps for the following scenario:
 - user gets in-app and email notifications when space membership expires
2025-04-11 16:21:54 +03:00
Prashant Gurung f2885d8781 Merge pull request #11185 from owncloud/test/access-resource-using-token
[tests-only][full-ci] add test to access resource of another user using impersonation token.
2025-04-11 17:24:37 +05:45
Sawjan Gurung 01c687d3df Merge pull request #11230 from owncloud/test/rename-step
[tests-only] test: rename step name
2025-04-11 16:45:49 +05:45
Niraj Acharya cc9501eea1 fix report path in sonar properties 2025-04-11 13:36:13 +05:45
Saw-jan 9b8c4d7379 test: rename step name
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-04-11 13:01:39 +05:45
Amrita 7725b6a764 Merge pull request #11209 from owncloud/list-grant-role-permission
[tests-only][full-ci]Add tests related to list permission for listgrant role
2025-04-11 11:59:46 +05:45
prashant-gurung899 7a0b59bb6d add test to access resource of another user using their auth-app token
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-04-11 10:06:02 +05:45
Niraj Acharya a1df9e6716 add code coverage flag to the debug build and add docs for generating the coverage report 2025-04-11 09:12:09 +05:45
amrita-shrestha c2007e12f5 list grant roles permission 2025-04-10 15:41:29 +05:45
Sawjan Gurung c118bada1e Merge pull request #11219 from owncloud/test/shareNg-9369
[tests-only][full-ci]added test to download archive of folder shared with Secure Viewer role
2025-04-10 15:33:09 +05:45
Amrita 5ed7a3ef8b Merge pull request #11225 from owncloud/use-minio-to-check-cache
[tests-only][full-ci]Use minio client to check if cache exists
2025-04-10 14:35:10 +05:45
Prajwol Amatya ffa47b6b4a added test to download archive of folder shared with Secure Viewer role 2025-04-10 14:17:17 +05:45
Amrita ffe8b7fc4e Merge pull request #11214 from owncloud/add-test-for-listing-shared-resource-activites
[tests-only][full-ci]Add test cases to validate JSON response for shared resource activity listing (list grant roles)
2025-04-10 11:15:07 +05:45
amrita-shrestha 195eb7449d update check cache script 2025-04-10 11:12:02 +05:45
amrita 7deef3a8b5 add list activites tests for shared resource 2025-04-10 09:43:49 +05:45
Deyan Zhekov b360e75f13 Add step for in-app notification in the same Scenario 2025-04-09 19:19:22 +03:00
Deyan Zhekov 458d00db2f Add Then step for the in-app notificatio 2025-04-09 16:56:21 +03:00
Deyan Zhekovandnirajacharya2 2fa35c9554 Remove the expirationDateTime
Co-authored-by: nirajacharya2 <122071597+nirajacharya2@users.noreply.github.com>
2025-04-09 16:33:07 +03:00
Deyan Zhekov c3b0f73077 Scenario moved to spaceNotification.feature 2025-04-09 16:33:07 +03:00
Deyan ZhekovandPrajwol Amatya 2f1293ed1a Update the step for sending space share invitation
Co-authored-by: Prajwol Amatya <83579989+PrajwolAmatya@users.noreply.github.com>
2025-04-09 16:33:07 +03:00
Deyan ZhekovandPrashant Gurung 7043039704 Update scenario title
Co-authored-by: Prashant Gurung <53248463+prashant-gurung899@users.noreply.github.com>
2025-04-09 16:33:07 +03:00
Deyan Zhekov ee5d8b73e5 Add new API acceptance test for issue #10882 2025-04-09 16:33:07 +03:00
Sawjan Gurung 674291eb7c Merge pull request #11166 from owncloud/use-auth-app-token
[tests-only][full-ci] adding test for using auth-app token
2025-04-09 18:34:32 +05:45
Sawjan Gurung 7cd70c9de9 Merge pull request #11194 from owncloud/test/shared-removed-ocm
[tests-only][full-ci] add test to check in-app notification for share removed event OCM
2025-04-09 17:39:25 +05:45
prashant-gurung899 ce74968901 add test to check in-app notification for share removed event OCM
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-04-09 16:48:57 +05:45
Niraj Acharya 9ffb14ef3b adding test for using auth-app token 2025-04-09 16:48:06 +05:45
Prajwol Amatya 4543f3af3f added test to check share-types property by sharer after sharee is deleted 2025-04-09 16:28:44 +05:45
Pradip Subedi 941f192f79 Merge pull request #11204 from owncloud/test/enable-scenario-line-references
[tests-only][full-ci] Remove SEND_SCENARIO_LINE_REFERENCES env
2025-04-08 10:07:40 +05:45
pradip 54e3eec1cf test: remove SEND_SCENARIO_LINE_REFERENCES env 2025-04-07 17:35:19 +05:45
prashant-gurung899 d2bfefc11f add test to check in-app notification for share received from federation user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-04-07 10:28:53 +05:45
Prashant Gurung 9be6fe734c Merge pull request #10997 from owncloud/test/ocm-share-removed-notifications
[tests-only][full-ci] add test to disable in-app notification for share removed event by federated user
2025-04-07 09:44:03 +05:45
amrita ea06924165 add tests for list grant share by me and share with me 2025-04-03 17:47:23 +05:45
Amrita 92ed184cb3 Merge pull request #11182 from owncloud/update-list-grant-role-for-shared-resource
[tests-only][full-ci]Add tests for updating list grant related shares permission
2025-04-03 16:15:59 +05:45
amrita e9f4d3870b add tests for updating shares permission 2025-04-03 14:18:25 +05:45
Prajwol Amatya 00d56361a5 add test to check oc:shareid on propfind response on the sharejail root 2025-04-03 13:08:05 +05:45
Prajwol Amatya c05a26a280 Merge pull request #11193 from owncloud/test/shareNg-8355
[tests-only][full-ci] add test coverage for sharer listing link share of project space
2025-04-03 11:56:45 +05:45
Sawjan Gurung fd7cbeb3be Merge pull request #11198 from owncloud/fix/test-handler
[full-ci] fix: test, handler flakyness
2025-04-03 11:28:01 +05:45
Sawjan Gurung 2e70d60004 Merge pull request #11197 from owncloud/fix/test-postprocessing
[full-ci] fix: test, file postprocessing flakyness
2025-04-03 11:27:31 +05:45
Michal Klos 54847d3dfa fix: handler config
In handler Post: service was started with ocis.ServiceEnvConfigs containing only last env key-value
In test: possible that test was ok when server was started with default config due to timing
2025-04-02 16:13:46 +02:00
Michal Klos 84564e1b9a fix: test, file postprocessing flakyness
The file post processing logic for virus seems correct.
Test seems to have correct expectations.
The reason for random fails can be timing of results propagation.

Test CI output:
Scenario: list all upload sessions that are currently in postprocessing                            # /drone/src/tests/acceptance/features/cliCommands/uploadSessions.feature:25
    Given the following configs have been set:                                                       # OcisConfigContext::theConfigHasBeenSetToValue()
      | config                           | value     |
      | POSTPROCESSING_STEPS             | virusscan |
      | ANTIVIRUS_INFECTED_FILE_HANDLING | abort     |
    And user "Alice" has uploaded file "filesForUpload/filesWithVirus/eicar.com" to "/virusFile.txt" # FeatureContext::userHasUploadedAFileTo()
    And the config "POSTPROCESSING_DELAY" has been set to "10s"                                      # OcisConfigContext::theConfigHasBeenSetTo()
    And user "Alice" has uploaded file with content "uploaded content" to "/file1.txt"               # FeatureContext::userHasUploadedAFileWithContentTo()
    And user "Alice" has uploaded file with content "uploaded content" to "/file2.txt"               # FeatureContext::userHasUploadedAFileWithContentTo()
    When the administrator lists all the upload sessions with flag "processing"                      # CliContext::theAdministratorListsAllTheUploadSessions()
    Then the command should be successful                                                            # CliContext::theCommandShouldBeSuccessful()
    And the CLI response should contain these entries:                                               # CliContext::theCLIResponseShouldContainTheseEntries()
      | file1.txt |
      | file2.txt |
    And the CLI response should not contain these entries:                                           # CliContext::theCLIResponseShouldContainTheseEntries()
      | virusFile.txt |
      The resource 'virusFile.txt' was found in the response.
      Failed asserting that true is not true.
2025-04-02 13:54:50 +02:00
Prajwol Amatya dec8d2599b add test coverage for sharer listing link share of project space 2025-04-02 16:20:56 +05:45
prashant-gurung899 d62a142668 test: add test to disable email notification for share removed event by federated user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-04-02 15:31:28 +05:45
amrita c3bc7bd7d6 add tests for sharing with list grants roles 2025-04-02 13:33:36 +05:45
Niraj Acharya b7f16c9c9b adjusting line numbers in expected to fail file 2025-04-02 10:32:14 +05:45
Juan Pablo Villafañez b29dc771f4 Merge pull request #11163 from owncloud/search_prevent_file_indexing
feat: include special directories that won't be indexed
2025-04-01 15:32:38 +02:00
prashant-gurung899 077bf58b56 add test to create auth-app token with user-id by non-existent user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-04-01 15:24:42 +05:45
prashant-gurung899 78724e9f5a add test to create auth-app token using user-id without expiration
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-04-01 14:11:17 +05:45
Deyan Zhekov 65f2fac208 Add missing dynamic property $sharingNgContext 2025-03-31 17:05:48 +03:00
prashant-gurung899 7376540828 separate and refactor auth-app token related scenarios
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-03-31 16:10:37 +05:45