Sagar Gurung
dc98e7a6b9
[tests-only][full-ci]Refactor check for no of items in json schema ( #8632 )
...
* Refactor check for no of items in json schema
* test(api): fix json schema
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com >
2024-03-13 16:54:40 +05:45
Sawjan Gurung
9b8ec4e5e6
[tests-only] check for invalid schema validators ( #8533 )
...
* test(api): check schema validators
* test(api): check schema validators
* test(api): check schema validators
* test(api): fix schema
* test(api): fix php code style
* test(api): fix schema
2024-02-28 16:56:03 +05:45
Sawjan Gurung
3cea035d6d
[tests-only] use new json schema assertion lib that supports latest schema drafts ( #8503 )
...
* test(api): use new json schema assertion lib that supports latest schema drafts
* test(api): fix json schema
* test(api): fix method call
* test(api): update expected failure lines
* test(api): add custom schema validator
* test(api): add custom schema validator
* test(api): add custom schema validator
* test(api): add custom schema validator
* test(api): make json array validation strict
* test(api): fix php code style
* test(api): update expected failure lines
2024-02-23 16:24:22 +05:45
Nalem7
a5d7c292db
skip spacecontext subsitutions for reva ( #8422 )
2024-02-09 18:47:37 +05:45
Sawjan Gurung
571af9ecce
[tests-only] add API test coverage for issue-8242 ( #8295 )
...
* add test coverage for issue-8242
* add test coverage for issue-8242
2024-02-07 13:38:43 +01:00
Sawjan Gurung
704b372205
[tests-only] extend share invite json response assertion ( #8348 )
...
* rename %eTag% to %etag_pattern% for clarity
* check more response properties
2024-02-05 11:43:19 +05:45
Nalem7
d73351af89
[tests-only][full-ci] Make graph api default in test ( #8290 )
...
* make graph api default in test
* skip quota test in reva
2024-01-30 17:14:56 +05:45
Swikriti Tripathi
00717481f7
[tests-only]test: add test for shared with me ( #8010 )
...
* test: add test for shared with me
* test: add test for shared with me shared file
* add missing field and add test to expected to fail
* address review
* test: move file
* tests: make differente funtion for regex fileid pattern matching
2024-01-25 09:47:56 +05:45
Viktor Scharf
ec37788829
change naming in test ( #8140 )
2024-01-08 23:41:31 +01:00
Prarup Gurung
87d3762381
Added test for sending share invitation to user with role
2023-12-19 16:57:09 +05:45
nirajacharya2
8a6fcc7b70
refactoring FeatureContext.php file ( #7548 )
2023-11-28 14:03:07 +05:45
Viktor Scharf
91ae5172f6
[full-ci]Enforce pass by default. changed api tests ( #7706 )
...
* set enforce pass by default. change tests
* fix tests
* fix test
2023-11-13 23:37:12 +01:00
nirajacharya2
cbfd894243
add query params to the log ( #7493 ) ( #7399 )
...
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com >
2023-10-31 12:17:50 +05:45
Nalem7
a15fe45d6a
add tests for copy file within shares ucing file-id ( #7593 )
2023-10-27 15:11:32 +05:45
Sawjan Gurung
8eb7f7aa96
[tests-only] skip sharing tests in reva ( #7591 )
...
* do not use spacesContext
* skip sharing tests in reva
* update expected failure list
* do not cleanup status codes
* skip shares tests in reva
* update expected failure list
2023-10-27 12:37:09 +05:45
Sawjan Gurung
bd955f75ed
[tests-only] Log requests and responses for the failing tests ( #7371 )
...
* log request-response to a file
show logs in ci
move hooks to one place
* preserve logs between suites
* ignore logs
* Refactor and beautify logs
* fix php style
* add log step in ci pipeline
* get expected-failure file from env if available
2023-10-13 13:22:27 +05:45
Karun Atreya
903ab8e1f8
[tests-only] [full-ci] removing the setresponse in given/then step in webdav context ( #7403 )
...
* refactoring the given steps in the webdav context
* refactored remaining given/when/then steps
* return file id
* trim trailing from the folder path
* add missing when step and make other minor corrections
* set responseXml and correct status code check
* correct the naming of steps and helper functions
2023-10-11 16:15:31 +05:45
Saw-jan
dd95d73e0d
remove AppConfigurationContext file
2023-10-03 14:10:20 +05:45
Karun Atreya
49d9d3bd24
[tests-only][full-ci] removing the setresponse in given/then step in SettingContext and TUSContext ( #7298 )
...
* refactor given when then steps in settings and tus contexts
* set resource location from response
* addressed the reviews
* reset spaceidfromocis
* reset after scenario using after hook
2023-09-25 13:32:42 +05:45
Karun Atreya
eed0de141f
[tests-only][full-ci] removing the setresponse in given/then step in AppConfigurationContext and AuthContext ( #7186 )
...
* removing setting response in the given steps
* use response interface
* use the returned response
* check success response
* changed to inline variable
* changed variable response_xml to responseXml
2023-09-06 13:36:27 +05:45
Karun Atreya
9c3511d2b0
make httpresponse check function to accept response object to get status from ( #7169 )
2023-09-01 09:50:48 +05:45
Prajwol Amatya
3566b965c6
[tests-only][full-ci] added test to update file using file id ( #6990 )
...
* added test to update file using file id
* changed the datatype of body from Tablenode to string
2023-08-25 12:01:27 +05:45
Prajwol Amatya
db098fa4f5
refactored acceptance test code to store response data related to public shares on single store ( #6930 )
2023-08-03 13:51:22 +05:45
Prajwol Amatya
21af4b3d6d
refactor acceptance code to store response data of user or group shares on single store ( #6775 )
2023-07-26 12:01:09 +05:45
Prarup Gurung
4455480e9e
Do not register space context for reva
2023-06-30 14:52:56 +05:45
Viktor Scharf
753c8f2372
[full-ci][tests-only] Check id file owner in response ( #6627 )
...
* check owner as spaceId in sharing response
* fix after review
2023-06-27 12:50:10 +02:00
Sagar Gurung
b18ac5d46b
Use triats in correct way ( #6430 )
2023-06-02 14:36:05 +05:45
amrita
73c327bdf0
Remove file sharing app
2023-05-04 12:42:14 +05:45
amrita
a34c6c42a8
Remove tag skipOnOcis notToImplementOnOCIS oImplementOnOCIS comments-app-required federation-app-required notifications-app-required systemtags-app-required local_storage
2023-05-04 12:42:14 +05:45
Phil Davis
9b9d88e7d6
Cleanup acceptance tests ( #6195 )
2023-05-02 17:25:56 +05:45
Phil Davis
7fb93058cf
tidy up acceptance tests
2023-04-21 14:59:50 +05:45
Sagar Gurung
b52597d6d1
[tests-only][full-ci]Json assertion apigraph master branch ( #5989 )
...
* Json assertion for api graph suite
* Review Address
2023-04-05 14:05:34 +05:45
Prajwol Amatya
16f8c49de9
[tests-only][full-ci]Forwardport json drill apispacesshares ( #5965 )
...
* Replace the key and value paris step with the current json assertion step
* Fix red CI for undefined step
---------
Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
2023-04-03 09:46:01 +05:45
Artur Neumann
0492fb040d
[tests-only] fix not optional parameter after optional ( #5981 )
2023-03-31 21:23:01 +05:45
Prarup Gurung
8b93c1b8f6
Removed occ related codes
2023-03-21 09:21:01 +05:45
Prarup Gurung
aac714be9a
Removed method runOcc from FeatureContext, and refactored code
2023-03-15 17:16:54 +05:45
Sagar Gurung
67296caf14
Forward port json drill apispaces ( #5818 )
...
* Added json schema for response check in apiSpaces suite
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
* Review Address
* Added schema for space management feature
* Added new schema asper change in master
* fix feature file
---------
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
2023-03-15 10:06:58 +05:45
Prarup Gurung
68ed280e27
Cleaned up orphaned methods in SetupHelper
2023-03-14 12:17:39 +05:45
Prarup Gurung
810b7b5279
Refactored code where SetupHelper::runOcc method is used
2023-03-14 12:17:31 +05:45
Prarup Gurung
06169628af
Removed method isTestingOnOcis, and refactored code
2023-03-13 12:08:42 +05:45
Prarup Gurung
152f71ca3b
Removed method isTestingOnOc10, and refactored code
2023-03-13 10:09:45 +05:45
Prarup Gurung
7177c412a8
Merge pull request #5777 from owncloud/forward-port-remove-isTestingOnOcisOrReva
...
[full-ci] [tests-only] Remove `isTestingOnOcisOrReva`
2023-03-09 16:27:31 +05:45
Swikriti Tripathi
249adc7cd7
Seperate test steps for positive and negative cases ( #5773 )
...
fix php style
use the correct step
fix other steps
fix other php style
remove unwanted param
Refactor test function for handeling errors
fix return types
clean up code
address reviews
2023-03-09 16:21:50 +05:45
Prarup Gurung
65d11ef634
Removed restoreParameters methods
2023-03-09 14:25:23 +05:45
Prarup Gurung
fab9bfc734
Removed method isTestingOnOcisOrReva, and refactored its use
2023-03-09 14:25:15 +05:45
Sawjan Gurung
0c4f53a03e
Json drill for coreApiCapabilities Suite ( #5672 )
...
Refactor acording to core
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
Review Address
Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com >
2023-02-28 15:13:36 +05:45
Viktor Scharf
3e3d3f9de2
[test-only] ApiTest. get users of members of several groups ( #5575 )
...
* get users with group filter
* fix test
2023-02-16 16:34:13 +01:00
Kiran Parajuli
7d152e2ad1
Copied acceptance tests infrastructures from oC/core
...
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com >
2023-01-05 09:21:34 +05:45