Commit Graph
221 Commits
Author SHA1 Message Date
pradip 5aef1fbd3b test: remove xRequestId parameter 2025-04-24 17:42:55 +05:45
Sawjan Gurung f59b176b0a Merge pull request #11168 from owncloud/test-auth-app-expire
[tests-only][full-ci] adding test for using expired auth-app token
2025-04-22 13:51:30 +05:45
ownClouders e26afdc94e [tx] updated from transifex 2025-04-22 13:04:00 +05:45
amrita c888d4e162 remove testing app unused code 2025-04-22 09:53:15 +05:45
amrita-shrestha 34fe308d85 add step to check activities exist or not for sharee 2025-04-16 12:56:01 +05:45
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
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
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
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
Prajwol Amatya ffa47b6b4a added test to download archive of folder shared with Secure Viewer role 2025-04-10 14:17:17 +05:45
amrita 7deef3a8b5 add list activites tests for shared resource 2025-04-10 09:43:49 +05:45
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
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 54e3eec1cf test: remove SEND_SCENARIO_LINE_REFERENCES env 2025-04-07 17:35:19 +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
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 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
Deyan Zhekov 65f2fac208 Add missing dynamic property $sharingNgContext 2025-03-31 17:05:48 +03:00
amrita-shrestha c45952546d add -test-for-disabling-share-expiry 2025-03-28 15:14:29 +05:45
Niraj Acharya ff68659b4e adding test for trying to create auth app-token without expiry using cli 2025-03-28 12:03:25 +05:45
nirajacharya2 aa2bd01185 Merge pull request #10993 from owncloud/create-auth-app-for-non-existing-user
[tests-only][full-ci] adding test for create token for non-existing user and deleting token by a different user
2025-03-27 13:47:47 +05:45
Niraj Acharya ac5c136f04 adding test for create token for non-existing user and deleting token by a different user 2025-03-27 09:32:43 +05:45
pradip f77cbd890e test: test only from federated user's case 2025-03-26 12:52:26 +05:45
pradip 60e0a4f55f test: federated user tries redeleting connection with random idp 2025-03-24 17:23:18 +05:45
Pradip Subedi 1eec3be20b Merge pull request #11017 from owncloud/test/test-coverage-for-deleted-user
[tests-only][full-ci] Test coverage for federated user trying to delete deleted federation connection
2025-03-24 12:16:39 +05:45
amrita ca05b26636 add tests for share expiry 2025-03-20 15:46:27 +05:45
Sawjan Gurung 9278e61c74 Merge pull request #11140 from owncloud/update-create-auth-app-usr-id-test
[tests-only][full-ci]updating test related to creating auth-app token with user-id
2025-03-20 09:54:40 +05:45
Niraj Acharya 69dd781cb7 updating test related to creating auth-app token with user-id 2025-03-19 15:49:44 +05:45
Saw-jan b10bce6848 test: check share sync and role
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-03-19 14:03:15 +05:45
pradip 375e2305a6 test: test coverage for trying to delete deleted user 2025-03-19 09:54:14 +05:45
Prajwol Amatya a3d08f2542 Merge pull request #11039 from owncloud/test-concurrent-ocm-sharing
[tests-only][full-ci] added test to share resources concurrently to federated user
2025-03-18 16:42:54 +05:45
Prajwol Amatya e6af462296 added test to list shares after disabling Editor role 2025-03-17 12:42:04 +05:45
Prajwol Amatya f21c668312 added test to share resources concurrently to federated user 2025-03-17 09:59:13 +05:45
amrita-shrestha b69bb7cd1b refactor code to handle single notification event 2025-03-13 09:13:18 +05:45
amrita 4c82aebad4 empty stored service config 2025-03-12 14:21:13 +05:45
nirajacharya2 9cdb05ead9 Merge pull request #10987 from owncloud/create-auth-app-usr-id
[tests-only][full-ci] adding test for creating auth-app token using user-id
2025-03-11 10:18:11 +00:00
amrita 4b5a06fce3 add hard coded event id 2025-03-11 10:37:54 +05:45
Niraj Acharya 3a12609670 adding test for creating auth-app token using user-id 2025-03-11 09:19:54 +05:45
pradip 1848e43f08 tests: grouped email notification using CLI command 2025-03-06 17:14:02 +05:45
prashant-gurung899 fe01fec98a add test to enable federated shared resource
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-03-06 16:19:55 +05:45
prashant-gurung899 5411c5ecf0 test: add test to create folder inside federated share
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-02-28 12:15:02 +05:45
Prajwol Amatya 316bd72ccd added test to enable disable share permissions role for federated shares 2025-02-28 10:00:31 +05:45
prashant-gurung899 0e7e3bb4d3 add test to hide federated shared resource
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-02-27 17:33:48 +05:45
Amrita 9b2b7e968f Merge pull request #11040 from owncloud/replace-inbucket-with-mailpit
[tests-only][full-ci] Replace inbucket with mailpit
2025-02-24 13:31:58 +05:45
amrita-shrestha 6dcaf9c2a1 replace inbucket with mailpit 2025-02-24 12:53:16 +05:45
Saw-jan e25958e692 test: skip spaces that are marked as deleted
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-02-24 12:16:45 +05:45
Saw-jan 456b18d6af test: fix shares space search 2025-02-19 17:26:14 +05:45