Commit Graph

603 Commits

Author SHA1 Message Date
Karun Atreya
71daf3f6ba refactor given when then steps in fileversions context (#7269)
migrating set response from helper function to when step in preview feature

separate single when/then steps by converting to helper function

use of httpstatuscode check function in given step and rebased

change function name

remove use of setresponse in then step

set the returned response
2023-09-13 16:24:42 +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
Sabin Panta
47eb710523 [tests-only][full-ci] refactoring user creation Given steps from provisioning into GraphContext (#7019) (#7259)
* refactored the user creation given statement from provisioning to graph api

added getUser steps that covers the steps for user with user light role

* added userlight step tests to check drive information and updated expected failure files

* added usercreation initiation code

* deleted seperate tests for user light role

* remove unnecesary changes

* add user not initialize step

* corrected the testcode

* moved the steps from graph to provisioning file

* fix creating single ldap user

* fix: user check method

* initialize user via graph

* addressing reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-09-11 15:02:06 +05:45
Amrita
9b40810b21 [tests-only][full-ci] Add test coverage for file preview using space dav version (#7218)
* Add tests for preview using space dav~

* use makeDavRequest to get preview of resource

---------

Co-authored-by: prajwol <prajwolamatya11@gmail.com>
2023-09-11 12:27:18 +05:45
Sagar Gurung
b45b35014a Backport/server panic password set (#7251)
* Added test for server getting panic when adding password to a link

* Change test case
2023-09-08 13:06:37 +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
620b44c90a send X-Request-Id in header of every request (#7238) 2023-09-07 10:33:44 +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
Phil Davis
8c1e39e824 Merge pull request #7191 from owncloud/backport-move-search-related-file
[tests-only][full-ci] Backport move search related file
2023-09-03 11:27:18 +05:45
Sagar Gurung
117b990d5a Make test code better for CI (#7193) 2023-09-01 18:39:29 +05:45
nabim777
4cd05c8d06 move files in apiFullTextSearch 2023-09-01 16:49:47 +05:45
Phil Davis
20bea0cef6 Fix spacing of scenario description
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-08-22 18:46:25 +05:45
Swikriti Tripathi
3fb6b94698 Fix the test step ordering 2023-08-22 16:23:17 +05:45
nirajacharya2
3e6b8da6a1 added skip on stable 3.0 tag (#7073) 2023-08-22 13:16:08 +05:45
Nalem7
358bfef42e adding skip on stable3.0 (#7078) 2023-08-22 10:12:57 +05:45
nirajacharya2
d623575db2 [tests-only][full-ci] removed a scenario and added a example table (#7076)
* removing the scenario and adding a example table

* removing the scenario and adding a example table
2023-08-21 15:32:19 +05:45
Nalem7
63bb316303 refactoring the tag creating step using data table (#7051) 2023-08-18 16:44:22 +05:45
nirajacharya2
3156360d66 adding test for deprovisioning notification using date format (#7065) 2023-08-18 16:41:23 +05:45
Nalem7
267c16f8e5 add test for sharee searches project spaces files using a tag (#7036) 2023-08-18 10:28:13 +05:45
Prajwol Amatya
84bc7d88e2 added tests for reading content of a file by fileId using WebDav API (#6958) 2023-08-18 09:58:25 +05:45
Nalem7
3a03ccbf59 add test for sharee searches project spaces files by content (#7039) 2023-08-17 12:36:51 +05:45
Karun Atreya
997187226f added scenario for searching inside folder in shares (#6982) 2023-08-16 12:41:55 +05:45
nirajacharya2
5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Viktor Scharf
0258b2bfff [test-only]ApiTest. Deprovisioning notification tests (#6994)
* add create/delete notification tests

* fix grammar

---------

Co-authored-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-14 13:01:04 +05:45
nabim777
d5762f2050 add test for search project space files by content 2023-08-10 10:41:45 +05:45
Nalem7
cbe945af4a add test for search version restored files by content (#6970) 2023-08-09 14:15:59 +05:45
Phil Davis
760c074097 Merge pull request #6957 from owncloud/api-tag-remove
[tests-only][full-ci] removed api tag from antivirus test
2023-08-09 10:52:34 +05:45
Nalem7
3093a8456a add test for search project space folders by tag (#6968) 2023-08-08 16:25:39 +05:45
Nalem7
3eb5a22375 add test for search version restored files by tag (#6974) 2023-08-08 12:15:26 +05:45
ownClouders
ed784efebd removed api tag from antivirus test 2023-08-08 10:39:30 +05:45
KarunAtreya
2238806060 added test scenario for searching inside folder in space 2023-08-08 09:43:53 +05:45
KarunAtreya
60bfd5f6cf added test scenario for searching inside particular folder only 2023-08-07 09:31:50 +05:45
Nalem7
048d67c712 add api test for search files using tag in project spaces (#6853) 2023-08-04 17:29:02 +05:45
Swikriti Tripathi
389877e56d Remove skipOnStable2.0 tag (#6959) 2023-08-03 23:06:30 +02:00
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
Karun Atreya
c5fbd6f539 move resharing.feature from apiSpaces to apiReshare (#6936) 2023-08-02 15:03:42 +05:45
Phil Davis
2989dc6890 Merge pull request #6665 from owncloud/frontend_resharing_disabled
[tests-only][full-ci] added scenarios for disabling frontend_enable_resharing
2023-08-01 18:29:01 +05:45
Sawjan Gurung
d7dd979897 [tests-only][full-ci] Fix preview test scenario (#6931)
* fix preview test scenario

* setup ocis with custom fonts

* remove passing test from expected-failure
2023-08-01 17:33:43 +05:45
KarunAtreya
dcbd45948e added scenarios for share and reshare disabling frontend_enable_resharing env 2023-08-01 16:44:02 +05:45
Saw-jan
57c78b0a19 skip new behavior tests for reva-master 2023-07-31 12:57:00 +05:45
Saw-jan
a2ee62bde1 adjust tests expectation 2023-07-31 12:57:00 +05:45
nirajacharya2
614fcca440 added extra 4 second to wait until getting tags request is send (#6848) 2023-07-26 14:12:58 +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
Karun Atreya
078c7e036c added step to check notification with subject and resource (#6675) 2023-07-26 10:07:45 +05:45
Nalem7
de550b73a1 add api test for search restored file through tag (#6709) 2023-07-25 14:54:27 +05:45
Amrita
6900a80511 Add more tests coverage (#6854) 2023-07-25 12:27:42 +05:45
amrita
1138412aff Add hidden file also 2023-07-25 12:24:36 +05:45
Salipa-Gurung
926e547f99 add test for downloading space 2023-07-25 12:24:26 +05:45
Swikriti Tripathi
98d6796800 fix the syntax of the test step (#6871) 2023-07-24 14:10:22 +05:45
Swikriti Tripathi
fb7ba62726 [tests-only][full-ci]Retry listing notifications (#6839)
* Retry listing notifications

* use loop instaed

* use loop instaed

* throw exception

* use do while loop
2023-07-24 11:31:38 +05:45