Commit Graph

249 Commits

Author SHA1 Message Date
Sagar Gurung
26c9f889e7 [tests-only][full-ci]Clean up old JSON assertion step (#6013) 2023-04-11 17:09:31 +05:45
Michael Barz
f80cc175fd [full-ci] Do not share versions (#5531)
* change test expectations

* bump reva  version

* add changelog

* fix test

* php style fix

* bump webCommit. fixt contarct tests

* change webBranch

* change webBranch

* new web commit

* fix flaky draw.io file

* fix after review

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-04-06 12:52:38 +02:00
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
Viktor Scharf
e3c5466e69 [api-test] first notification test (#5958)
* notification test

* fix after review

* fix lint
2023-03-31 09:42:58 +02:00
Amrita
76cc388e45 Expand tests scenario for adding multiple user at once (#5864) (#5963) 2023-03-31 08:59:25 +05:45
Amrita
382aa58c8b [tests-only][full-ci]Extend tests coverage for different role capability for spaces (#5853)
* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
2023-03-28 09:10:21 +05:45
Amrita
63ba5613c0 [tests-only][full-ci]Extend tests coverage for different role capability for group (#5742)
* Extend tests coverage for different role capability for group

* Remove unwanted scenario

* Change http status code
2023-03-28 09:09:37 +05:45
Prajwol Amatya
1e5bf171fe [tests-only][full-ci] Forwardport test for send wrong host for adding user in group (#5932)
* added test for admin trying to add user with wrong host

* added test for adding single user to a group with invalid hostname
2023-03-27 15:47:55 +05:45
Prajwol Amatya
264aacca8f test for adding users to a group using invalid JSON (#5931) 2023-03-27 10:41:21 +05:45
Prarup Gurung
d1f0c05723 Revert ldap related code removed 2023-03-21 14:18:12 +05:45
Prarup Gurung
29a23ebb50 Merge pull request #5884 from owncloud/remove-occ-related-leftovers-master
[full-ci] [tests-only] Remove occ related leftovers `master`
2023-03-21 12:11:38 +05:45
Amrita
71011fc4aa [full-ci][tests-only]Expand tests coverage related to user with different role (#5725)
* Refactor tests related to different role

* Use setResponse from When step
2023-03-21 10:03:51 +05:45
Prarup Gurung
8b93c1b8f6 Removed occ related codes 2023-03-21 09:21:01 +05:45
Prarup Gurung
9f99d03fc8 Removed LoggingContext and LoggingHelper 2023-03-17 12:33:26 +05:45
Prarup Gurung
0f9ff603bd Removed log file related steps and implementation 2023-03-17 12:33:18 +05:45
Prarup Gurung
aac714be9a Removed method runOcc from FeatureContext, and refactored code 2023-03-15 17:16:54 +05:45
Amrita
15a4941281 Add tests to add user in a group at once (#5831) 2023-03-15 13:58:04 +05:45
Prajwol Amatya
e836b2d138 added test for getting details of a single group (#5760)
addressed reviews

updated steps with JSON drill-down functionality

reviews addressed

fixed linter error

conflicts resolved

fixed errors

addressed reviews
2023-03-15 12:10:59 +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
Swikriti Tripathi
173850a35c [tests-only][full-ci] Add tests for checking the end of expiration date (#5819)
* Add tests to check the end of an expiration date

* fix style

* fix style

* enable group share test

* skip group share test on ocis
2023-03-15 09:27:45 +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
Swikriti Tripathi
b445f847e8 Refactor test for updating the share (#5789) 2023-03-11 12:47:31 +05:45
Viktor Scharf
94c3df2246 [test-only] add test to filter or (#5771)
* add test to filter or

* lint
2023-03-10 09:05:00 +01:00
Viktor Scharf
8560015c18 [test-only] add api tests to editing user name (#5769)
* add tests to edit user name

* style fix

* fix after review
2023-03-10 09:02:33 +01:00
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
Amrita
8bd4c3a9a2 Add tests to add user in a group at once (#5743) 2023-03-07 14:36:04 +05:45
Viktor Scharf
1e1b4379ae [test-only] ApiTest. Disable/enable user (#5639) 2023-03-06 16:52:55 +05:45
Amrita
4377754573 [tests-only][full-ci]Extend tests related to assign role (#5584)
* Extend assign role test coverage

* Check app Entity has been set or not
2023-03-03 09:17:34 +05:45
Prarup Gurung
b56fcd6677 Removed use of occContext 2023-03-01 15:25:57 +05:45
Prarup Gurung
bc23493200 Removed step and implementation of setting depth infinity 2023-03-01 11:32:16 +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
Prarup Gurung
8541081d76 Removed system config setting steps 2023-02-28 11:21:06 +05:45
Sagar Gurung
028ca42fed Forward port getallgroupmemberswithallmembers to master (#5658)
* Added graph API test for getting all groups along with its members

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Refactor implementation code

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* PR address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Update the local api expected to failure

* Review Address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2023-02-27 11:16:50 +05:45
Artur Neumann
5faceb0950 Merge pull request #5579 from owncloud/add-assignRole-using-graph-api
[tests-only][full-ci]Add api tests to assign role using graph api
2023-02-24 16:53:33 +05:45
Prarup Gurung
77a9be8425 Removed occ invoking command steps 2023-02-24 10:32:45 +05:45
amrita
0b71d10c37 Add graph api tests for assign role 2023-02-23 15:34:11 +05:45
Prarup Gurung
3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
Viktor Scharf
56d3192fc7 [test-only] ApiTest. test for filter appRoleAssigment (#5629)
* add test for filter

* fixed typos
2023-02-23 09:53:12 +01:00
Swikriti Tripathi
0087770191 Api tests for deleting the expiration date of a space (#5606) 2023-02-22 16:50:38 +05:45
Viktor Scharf
5a5e950cca [test-only] increase coverage test for creating space (#5616) 2023-02-22 14:54:19 +05:45
Swikriti Tripathi
77e9d4f920 App tests for updating the exoiration date of a space (#5605) 2023-02-22 09:21:57 +05:45
Viktor Scharf
1730538836 [test-only][full-ci] ApiTest. share space with expiration date (#5562) 2023-02-17 14:03:53 +05:45