Commit Graph

36 Commits

Author SHA1 Message Date
nirajacharya2
b71a50065d refactoring FeatureContext.php file (#7822) 2023-11-29 09:45:29 +05:45
nirajacharya2
b4b3827805 add query params to the log (#7493) (#7646)
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-11-27 14:24:06 +05:45
Nalem7
804d17c501 add tests for copy file within shares ucing file-id (#7605) 2023-10-30 10:34:40 +05:45
Sawjan Gurung
baac56f358 [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-16 11:42:08 +05:45
Karun Atreya
46fde6240a [tests-only][full-ci] Backport refactoring webdav context removing setresponse() in given/then step (#7480)
* refactoring webdav context (setting response in when step only)

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

* setting response
2023-10-13 16:50:56 +05:45
Saw-jan
b85396a3c0 [tests-only] Remove AppConfigurationContext file (#7396)
include capabilities context

fix return type
2023-10-05 09:56:01 +05:45
Karun Atreya
cc794abb38 refactor given when then steps in settings and tus contexts (#7357)
set resource location from response

addressed the reviews

reset  spaceidfromocis

reset after scenario using after hook
2023-09-27 12:29:56 +05:45
Karun Atreya
9c533c54ac make httpresponse check function to accept response object to get status from (#7270) 2023-09-13 15:11:36 +05:45
Karun Atreya
5c1e7e69a4 refactor given/then step to remove setting response (#7244)
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-07 12:47:24 +05:45
Prajwol Amatya
39758a04b9 [tests-only][full-ci] Backport added test to update file using file id (#7237)
* added test to update file using file id

* changed the datatype of body from Tablenode to string
2023-09-06 18:46:46 +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