Commit Graph

136 Commits

Author SHA1 Message Date
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
Michael Barz
c3511c71ac adapt spaces context 2022-05-02 09:53:50 +02:00
David Christofas
5b0988f307 fix local api test
URL decode href before comparing with a given string
2022-05-02 09:53:50 +02:00
jkoberg
622e0774da decode href in xml response
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:52:48 +02:00
Viktor Scharf
33cb8a4e63 addSteps: clean project space after test 2022-04-27 08:58:36 +02:00
Ralf Haferkamp
095e3c3f77 skip test that requires ocs provisioning API
When using the GraphAPI skip ocs specific test
2022-04-27 08:58:36 +02:00
Ralf Haferkamp
5d4800b570 move test away from accounts api, use graph to get userid 2022-04-27 08:58:36 +02:00
Artur Neumann
2ac2680e68 Merge pull request #3518 from owncloud/createLinkToFileWithEditPermitions
[test-only]apiTest: create public link to file with edit permissions
2022-04-25 10:01:04 +05:45
saw-jan
bddfade253 update expected to fail file, refactor comment doc
exlude TestHelpers from codacy as done for other test context files

Signed-off-by: saw-jan <saw.jan.grg3e@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
e078abc7fd Add group existane check methods
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiran
e39f49ef11 Helper and context refactorings
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiran
ce0e47b365 Setup ci for graph tests
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran
5b04aa1ee7 Implement context for core
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Kiran Parajuli
9e2962d561 added graph helper
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +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
jkoberg
f6739402ec add /home/ tests to expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-01-10 16:00:26 +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
Phil Davis
60c41c4f6f More baseUrl refactoring 2021-12-22 10:25:28 +05:45
Phil Davis
5dc6573efc Refactor baseUrl in SpacesContext 2021-12-22 09:49:44 +05:45
Phil Davis
cd87508020 Refactor userHasSharedSpace 2021-12-22 09:31:18 +05:45
ScharfViktor
f3d3431905 add check OCS status to steps 2021-12-21 18:22:32 +01:00
Phil Davis
3afb6cc4d7 Refactor SpacesContext 2021-12-21 21:25:45 +05:45
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