Pradip Subedi
a66ae6783d
[tests-only][full-ci] test: fix flaky grouped email notification ( #12882 )
...
* test:start auth-bearer service separately instead of via OCIS_ADD_RUN_SERVICES
* test: fix timezone-dependent expiry assertions and flaky email notification
* test: simplify host timezone detection and log the UTC fallback
* test: oonly run cli commands test suite
* test: run all suites
* test: resolve the expiry timestamp in the timezone the mail was sent in
* test: inline the UTC expiration date conversion and drop the helper
* test: simplify the mail timezone formatter and restore the CI coverage guard
2026-10-01 16:37:56 +05:45
Prajwol Amatya
52891efd4e
[tests-only][full-ci] test: add test for public link brute-force protection ( #13008 )
...
test: add test for public link brute-force protection
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
2026-10-01 11:03:09 +05:45
Prajwol Amatya
e30b6fbadd
[tests-only][full-ci] test: add test to share resources from vault ( #12608 )
...
test: add test to share resources from vault
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
2026-08-24 12:01:48 +05:45
Prajwol Amatya
b265241288
[tests-only][full-ci] test: add tests related to vault storage ( #12482 )
...
* test: test setup for vault storage
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: add test to create file and folder in vault storage
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: add test to check acr value from jwt token
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: setup vault storage in ci
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: update extraServerEnvironment
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: setup playwright
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: set keycloak true
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: add env KC_URL
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: add ignore https errors
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: check url
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: setup vault storage
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: add test to check drive and vault resource isolation
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: add test to check drive and vault resource isolation
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
* test: store selectors in variable
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
---------
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com >
2026-07-14 10:53:02 +05:45
nirajacharya2
84c0641d7c
[tests-only][full-ci] health check for k8s services when restarting services using ociswrapper ( #12014 )
...
* test: attach response body to the error message
test: use helper method to determine k8s
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: wait k8s service using health checks
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: store initial env
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix intial env load
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: wait for old pod to be deleted
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: improve logging
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: improve logging
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: increase wait timeout
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: separate functions
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: check if env updated
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: remove unnecessary frontend service env
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix service config
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: revert service config
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: check service health
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: check grpc server
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: handle missing port
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: do not count emtpy value env
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: log req-res timestamp
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: save initial env and reuse
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: delete user with retry
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: check grpc after health cehck
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: unset extra envs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix public link test
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: disable grpc checks
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix test
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: retry on 500 without explicit wait
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
---------
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com >
2026-06-22 09:37:21 +02:00
Ashim Shrestha
d6ab9216b0
[tests-only][full-ci] Test: run ocm test suite over k8s ( #11869 )
...
* test: run ocm tests over k8s setup
Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com >
* address review
Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com >
---------
Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com >
2026-02-27 16:26:20 +05:45
Niraj Acharya
77ec7d1559
test: run tests on kubernetes with ociswrapper
2025-09-05 12:28:06 +05:45
Saw-jan
a5a5c77c77
test: get single share form share store
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-06-30 13:00:12 +05:45
Lukas Hirt
b933f48b68
test: adjust PHP code to support v8.4
...
The implicite nullable type has been deprecated.
This fixes it by explicitely typing every nullable type.
PHP is also bumped in composer and drone to v8.4.
2025-06-26 09:10:01 +02:00
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