Commit Graph

59 Commits

Author SHA1 Message Date
PKiran
30809a7b37 [tests-only] add tests for etag propagation on copy operation using spaces DAV (#4174)
* Transferred spaces etag propagation tests on copy operation from oC10

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>

* Added implementation for copy request operation

* Upto store etag in given

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>

* Fix remaining steps

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>

* Style fix

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>

* Updated feature name

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>

* Address reviews

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>

* Address reviews

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>

Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2022-07-14 16:59:36 +05:45
Viktor Scharf
e3180fc4fd ApiTest. owner does not see the space after deleting the access (#4143)
* owner has not access to the space after removing access
2022-07-11 09:14:50 +02:00
Viktor Scharf
156d9e9e86 ApiTests. refactoring apiSpace suite (#4121) 2022-07-08 09:03:40 +05:45
Viktor Scharf
01677b37b8 add search test
add new line to the end

change coreCommitId

change coreCommitId

revert CORE_BRANCH
2022-06-30 10:47:41 +02:00
jkoberg
42e51cb47c update testing
update testing

expected passes

Signed-off-by: jkoberg <jkoberg@owncloud.com>

update tests

Signed-off-by: jkoberg <jkoberg@owncloud.com>

update the tests

Signed-off-by: jkoberg <jkoberg@owncloud.com>

more unexpected passes

Signed-off-by: jkoberg <jkoberg@owncloud.com>

add more api tests

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-06-14 10:28:19 +02:00
jkoberg
4c2311b9c7 enable resharing
check for removegrant instead addgrant

Signed-off-by: jkoberg <jkoberg@owncloud.com>

add e2e tests

Signed-off-by: jkoberg <jkoberg@owncloud.com>

expected failures

Signed-off-by: jkoberg <jkoberg@owncloud.com>

enable resharing

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-06-14 10:28:19 +02:00
Viktor Scharf
bed3d9f53b add test with no restriction quota (#3814) 2022-05-19 11:05:36 +02:00
Viktor Scharf
16a99678c3 ApiTest. download files (#3809)
* add tests download file

* added ability to download different versions of files

* fix after review
2022-05-18 11:39:16 +02:00
Phil Davis
c796f01396 Adjust acceptance test code 2022-05-12 09:43:50 +05:45
Viktor Scharf
575312c2ce add apiTests. preview of the file (#3731) 2022-05-11 09:13:59 +02:00
kobergj
74139f6c52 Permissions for deleting spaces (#3716)
* check permissions when deleting space

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump feature reva

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-09 11:35:52 +02:00
Phil Davis
8560c3bc00 Minor typo fixes in acceptance tests 2022-05-03 09:48:12 +05:45
Viktor Scharf
ec2401ec46 apiTest: create public link to file with edit permissions 2022-04-13 22:34:35 +02:00
Viktor Scharf
bf1ee8f9ef [tests-only] apiTest: list of trash files and restore files from the trash (#3462)
* apiTest: see trashbin and restore files from trash
2022-04-12 08:51:35 +02:00
Viktor Scharf
7cb9ec2a46 apiTests: getting readmi file and spaceImage file 2022-03-30 21:34:41 +02:00
Michael Barz
d04d93bc82 fix list spaces tests 2022-03-28 20:06:45 +02:00
Viktor Scharf
1d25f03deb [tests-only] ApiTests: sharing subItems inside of space (#3354)
* add apiTests share subItem inside of space
2022-03-27 21:36:13 +02:00
Michael Barz
0773b66325 add space alias config to s3ng and ocis driver 2022-03-16 16:38:32 +01:00
Michael Barz
3a59c7ec4c add driveAlias to the graphAPI 2022-03-16 15:38:40 +01:00
Viktor Scharf
3e2d1582a3 [tests-only] ApiTest: set space image/description to space (#3289)
* add tests: set space image/description to space

* php style fix. add checking that file exists
2022-03-10 09:29:26 +01:00
Michael Barz
94f3d7562a add Api test for adding space managers (#3166)
* add Api test for adding space managers

* add cheking permissions in response

* fix after rebase

* only personal space dispayes owner

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2022-02-17 11:21:07 +01:00
Phil Davis
8386d243ff Adjust test for changed spaces list JSON 2022-02-16 09:51:59 +05:45
Michael Barz
af0a5fac18 Create space with description (#3168)
* send description during create space

* add changelog

* update reva

* add to API test

* only use opaque if not nil

* use forked xattr to fix windows build

Signed-off-by: Michael Barz <mbarz@owncloud.com>
2022-02-15 14:18:27 +01:00
Michael Barz
d3b87fa3a1 fix API tests 2022-02-11 14:56:05 +01:00
Viktor Scharf
493ec780f0 fix after review 2022-02-11 10:43:42 +01:00
Viktor Scharf
85714c113d added checks: who is owner, who has be granted 2022-02-10 20:21:22 +01:00
Viktor Scharf
663d1be94c add apiTests: restore space 2022-02-07 18:30:28 +01:00
Viktor Scharf
828d3eec96 change tests. add disabling/deleting space tests 2022-01-30 20:50:41 +01:00
Viktor Scharf
7a91fc0012 typo corrections 2022-01-30 20:33:02 +01:00
Viktor Scharf
ed81da84e7 add tests remove objects. Add creating subfolder, showing object in folder 2022-01-30 20:33:02 +01:00
Viktor Scharf
5a855bf597 apiTests: add test share Space with role 2022-01-20 19:54:19 +01:00
Michael Barz
e10b524d71 add Tests and Test Steps 2022-01-19 12:15:42 +01:00
Michael Barz
16c7706d62 remove redundancy
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
2022-01-16 11:57:57 +01:00
Michael Barz
1db13d8a39 add tests 2022-01-16 11:57:57 +01:00
Jörn Friedrich Dreyer
fb7a93a46d expect type project instead of share
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-01-07 15:24:58 +00:00
ScharfViktor
f3d3431905 add check OCS status to steps 2021-12-21 18:22:32 +01:00
Phil Davis
b7fc7ee990 Reword Spaces API scenario descriptions 2021-12-21 13:55:59 +05:45
Phil Davis
a8fc6ee79b Apply review sugggestions for share space tests 2021-12-21 09:35:42 +05:45
ScharfViktor
a531db28fb add test share space 2021-12-20 17:48:35 +01:00
Michael Barz
7c2e70f8b6 fix api tests 2021-12-12 17:34:04 +01:00
ScharfViktor
be1c190a56 change name of the space(uniq name) 2021-12-02 10:05:28 +01:00
ScharfViktor
216a62cf2e add Given form for steps 2021-12-02 00:01:52 +01:00
ScharfViktor
581bcae709 add quotaTest 2021-11-29 21:21:10 +01:00
ScharfViktor
f5c763cbec add tests change space 2021-11-23 19:51:15 +01:00
Phil Davis
1a76adccc5 Add test step about 'space contains for user' 2021-11-18 13:39:57 +05:45
Phil Davis
d732c40f62 Refactor spaces API tests 2021-11-11 13:05:46 +05:45
Michael Barz
7ebf257135 Add user bob 2021-11-09 20:16:05 +01:00
Michael Barz
80c299eb93 Upload a file 2021-11-08 17:08:52 +01:00
Michael Barz
86d5c56395 refactor the evaluation of the json response 2021-10-27 17:44:43 +02:00
ScharfViktor
4664e578ca fix after review 2021-10-27 17:41:03 +02:00