Commit Graph

392 Commits

Author SHA1 Message Date
Sagar Gurung
5db4656d62 Added test to search when share is no accepted yet. (#6043) 2023-04-18 16:46:11 +05:45
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
7baac4f050 [tests-only][full-ci] Api test for user trying to set own personal space quota (#5979)
* api test for user trying to set their own personal space quota

* removed duplicate scenarios for set quota

* updated expected scenario

* fix wrong status code

* updated expected failure scenario after wrong status code fix

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2023-04-04 12:41:34 +05:45
Prarup Gurung
1a31aba659 Merge pull request #5983 from owncloud/remove-core-issue-tag-and-refactor-ocis-issus-tag
[full-ci] [tests-only] Removed core issue tag, refactored ocis-reva, ocis issue tag
2023-04-03 03:58:54 -07:00
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
f3bf0894fc Removed core issue tag, refactored ocis-reva, ocis issue tag 2023-03-31 17:27:18 +05:45
Viktor Scharf
5c2a011519 [test-only] add issue tag to failed tests (#5978)
* add issue tag to failed tests

* bump webCommit
2023-03-31 11:38:15 +02:00
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
Swikriti Tripathi
270bf06840 add skip on stable tag (#5940) 2023-03-28 15:11:41 +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
27fa742b4a api test to set quota by users with different roles (#5854) 2023-03-27 10:41: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
ad061c661f Merge pull request #5838 from owncloud/remove-runOcc-method-from-FeatureContext-master
[full-ci] [tests-only] Remove `runOcc` method from `FeatureContext`
2023-03-16 10:01:16 +05:45
Prajwol Amatya
ea8181548a added test for getting non-existing group (#5830) 2023-03-15 21:17:41 +05:45
Prarup Gurung
01c1f63c39 Fixed line numbers in expected failure 2023-03-15 17:17:02 +05:45
Prarup Gurung
aac714be9a Removed method runOcc from FeatureContext, and refactored code 2023-03-15 17:16:54 +05:45
prajwol
ce9ad277f9 added test for getting group with UTF-8 characters in name 2023-03-15 14:31:24 +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