Commit Graph

68 Commits

Author SHA1 Message Date
Viktor Scharf
cb2822b8b7 [tests-only] [full-ci] ApiTest. after each test users delete their personal space (#4433)
* after each test users delete their personal space

* Simplify deleteAllPersonalSpaces

* Simplify deleteAllPersonalSpaces()

Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-08-23 10:42:27 +02:00
sagargurung1001@gmail.com
e17d43a940 Add etag propagation for delete files folder for spaces 2022-08-22 09:22:07 +05:45
Viktor Scharf
84f8f797c9 [test-only]Api test. check that link or share exist for space members (#4348)
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2022-08-18 15:08:57 +05:45
Phil Davis
02adcbd92a Merge pull request #4381 from owncloud/selectOnlyAvailableRoleForSpaceShare
[tests-only][full-ci]Select Available role only while sharing space
2022-08-12 14:20:00 +05:45
Swikriti Tripathi
7c9ecac6fc Add tests removed by core PR-40275
update core commit id

update expected to fail file
2022-08-11 15:58:13 +05:45
sagargurung1001@gmail.com
c41cf352cd Select Available role only while sharing space 2022-08-11 14:28:54 +05:45
sagargurung1001@gmail.com
1cea024889 Addressed review for the implementation 2022-08-10 14:24:54 +05:45
sagargurung1001@gmail.com
9a9b5c4c7c Add /Shares realated tests from core 2022-08-10 12:54:25 +05:45
Viktor Scharf
d7c406edde add tests changing quota 2022-08-04 13:11:51 +02:00
Michael Barz
cce04f94ff set virtual owner on non-personal spaces 2022-08-01 12:53:24 +02:00
Phil Davis
04909d63da Enhance getSpaceByNameManager test code 2022-07-29 10:28:37 +05:45
Viktor Scharf
ecee8b6737 [tests-only] [full-ci] Api test. edit public link (#4263)
* add test edit public link

* Minor edits to public link tests

* Adjust public link tests for comments of Sagar

* change line in expected failures

Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-07-26 11:27:28 +02:00
sagargurung1001@gmail.com
c0d53fbd44 Move Implementation operation 2022-07-25 11:29:51 +05:45
Viktor Scharf
d736747ae6 [tests-only] ApiTest. Share space via link (#4241)
* add test share space via link
* Bump core commit
2022-07-21 17:42:39 +02:00
sagargurung1001@gmail.com
db471818a2 Added implementation for copy operations 2022-07-20 12:15:53 +05:45
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
PKiran
8434405faf [tests-only] remove dedicated spaces cleanup for the localAPI tests (#4172)
* No space cleanup in after scene

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

* Deleted method 'deleteAllSpacesOfTheType'

Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-07-13 16:31:10 +05:45
Michael Barz
2a113e9f7d use spaceID 2022-07-11 10:44:09 +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
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
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
5d4800b570 move test away from accounts api, use graph to get userid 2022-04-27 08:58:36 +02:00
Parajuli Kiran
e39f49ef11 Helper and context refactorings
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
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
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
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
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
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
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
1db13d8a39 add tests 2022-01-16 11:57:57 +01: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
ScharfViktor
a531db28fb add test share space 2021-12-20 17:48:35 +01:00