Commit Graph

47 Commits

Author SHA1 Message Date
Saw-jan
56e5fd20d6 refactor: add trailing-comma in method args and params
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 15:34:02 +05:45
Saw-jan
2c6c769695 refactor: add return type lint rules
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
2ef566b85b refactor: add space related lint rules
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
625dc16417 refactor: add no_useless_else lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
43865a9646 refactor: add trailing_comma lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
98c96efa46 refactor: add indentation lint rule
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 12:26:09 +05:45
Saw-jan
b64384a205 test: refactor upload expired cli test scenario
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 10:31:27 +05:45
Saw-jan
795f1fa6c8 test: fix restarting upload sessions
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 09:31:17 +05:45
Saw-jan
24da404bb2 test: cleanup search data on each scenario
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-13 17:36:47 +05:45
Saw-jan
83ff4d32a3 test: check setting value after update
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-26 10:59:41 +05:45
pradip
5aef1fbd3b test: remove xRequestId parameter 2025-04-24 17:42:55 +05:45
Niraj Acharya
9ffb14ef3b adding test for using auth-app token 2025-04-09 16:48:06 +05:45
pradip
54e3eec1cf test: remove SEND_SCENARIO_LINE_REFERENCES env 2025-04-07 17:35:19 +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
pradip
1848e43f08 tests: grouped email notification using CLI command 2025-03-06 17:14:02 +05:45
amrita-shrestha
6dcaf9c2a1 replace inbucket with mailpit 2025-02-24 12:53:16 +05:45
Sawjan Gurung
bdf274658c test: combine spaces and fix user deletion 2025-02-19 12:43:42 +05:45
Saw-jan
9713e9872b test: use store for personal, shares and created spaces 2025-02-19 10:46:47 +05:45
Niraj Acharya
089ccc1ca3 updating lint rules for test code 2024-12-30 09:18:45 +05:45
Saw-jan
7546e476be test: allow items check for multiple array items 2024-12-11 11:55:47 +05:45
Saw-jan
ad2e310ec3 tests: more checks 2024-12-09 17:33:02 +05:45
Saw-jan
bedddc4728 tests: fix tests 2024-12-09 14:52:23 +05:45
amrita
e83b63ffe6 rename variable name and remove unwanted function 2024-12-02 16:53:12 +05:45
amrita
e76ba90bee remove getResponseXml 2024-12-02 16:51:51 +05:45
Prajwol Amatya
34dc52d426 update the scenarios for service availability check 2024-11-28 16:01:30 +05:45
Prajwol Amatya
c1c6143568 change sse debug addr port 2024-11-28 09:11:52 +05:45
Viktor Scharf
18e0af90b7 add test for checking service ready and health 2024-11-28 09:11:50 +05:45
Ralf Haferkamp
6f90abd22d fix(ocm): Adjust for recend change for federated user IDs
The UserIds as returned by e.g. GetAcceptedUser do already contain
the provider domain in the IDP field now.

Also adjust the provider domain in the OCM config to be really a domain
without URI scheme and path.
2024-11-14 15:51:07 +01:00
Saw-jan
c3b442491d tests: update ocm setup and docs
docs: separate provider config

tests: substitution for local and remote server urls

tests: create local configs

tests: fix vscode debugger config

tests: separate federation share steps
2024-11-11 14:37:52 +05:45
Sabin
b574af4307 removed to do comment 2024-10-29 11:31:14 +05:45
Saw-jan
766ad4b40c ci: make remote.php default
docs: add documentation

test: rename uniquePath to suffixPath
2024-10-21 17:08:25 +05:45
Saw-jan
f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Saw-jan
ca76f79be3 test: get necessary contexts properly 2024-10-08 15:17:44 +05:45
Saw-jan
aeca24ac75 test: add test coverage for #8804 2024-10-04 10:12:59 +05:45
Niraj Acharya
db844fb5ab removing SPACE_ID_FROM_OCIS from test code 2024-10-03 09:08:10 +05:45
Saw-jan
732f2b241e test: rename PROPFIND response check steps
test: fix tests
2024-10-02 13:33:33 +05:45
Saw-jan
ae9ef293af test: only one error per path 2024-09-26 14:53:47 +05:45
Saw-jan
9a818b4ab1 test: custom error message for json validation error 2024-09-26 12:36:15 +05:45
prashant-gurung899
d7fc256009 add test to download preview with all processors
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-09-25 11:42:17 +05:45
Viktor Scharf
ac26cd8035 Merge pull request #10026 from owncloud/checkEmailNotificationOcminvite
[test-only] ApiTest. Check email notification ocminvite
2024-09-13 12:34:51 +02:00
pradip
42dffaf1b6 test: add tests for opening file with non-existing fileId 2024-09-12 16:55:16 +05:45
Viktor Scharf
438e445a1c fix after review 2024-09-12 10:08:43 +02:00
prashant-gurung899
250650265c cleanup parallel deployment tests
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-09-10 12:02:33 +05:45
Jörn Friedrich Dreyer
5ab53b2474 bump reva to 9878984ce702
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-09-05 15:03:05 +02:00
pradip
a956641940 test: add test for opening opendocument file with web using collaboration app 2024-09-02 13:14:27 +05:45
Prajwol Amatya
82a8682a60 added test for public user open file with /app/open endpoint 2024-08-29 16:52:07 +05:45
prashant-gurung899
d8d7b700cd reorganize test folders within the acceptance directory
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-08-28 14:54:45 +05:45