Commit Graph

290 Commits

Author SHA1 Message Date
Saw-jan 335144e50b add tests to check 425 too early behavior
add tests to check 425 too early behavior

add delay postprocessing suite pipeline

add step def
2023-01-06 11:47:35 +05:45
Swikriti Tripathi eab79a427f Extended public link tests to have more checks 2023-01-05 13:39:16 +05:45
Swikriti Tripathi 03139c3ac2 get resource id as public 2023-01-05 12:58:17 +05:45
Swikriti Tripathi ea9bf8d80b adress review 2023-01-05 12:58:17 +05:45
Swikriti Tripathi 2693161164 Address review 2023-01-05 12:58:17 +05:45
Swikriti Tripathi d058278f44 fex style 2023-01-05 12:58:17 +05:45
Swikriti Tripathi 7dbfcf63e0 Adds api tests to download folder from public link 2023-01-05 12:58:17 +05:45
Viktor Scharf 1ff8665b78 fix after review 2023-01-05 12:15:56 +05:45
Viktor Scharf e05dc0e57e add test 2023-01-05 12:14:25 +05:45
Saw-jan 0514ae1085 add missing helpers and context
remove core caching
2023-01-05 09:23:50 +05:45
Saw-jan 42fb4a68e4 fix: get test suites for core api tests
remove oc10 specific test suites

provide behat config with make command

fix typo

add missing helpers
2023-01-05 09:23:30 +05:45
Saw-jan c59392bc1e copy feature files from core 2023-01-05 09:22:52 +05:45
Kiran Parajuli 35d4cb53ae Typo fixes on comments with reverting substr related changes
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2023-01-05 09:21:34 +05:45
Kiran Parajuli 88de0070a7 Only define bootstrap constants for local api tests, skip for other tests run
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2023-01-05 09:21:34 +05:45
Kiran Parajuli 7d152e2ad1 Copied acceptance tests infrastructures from oC/core
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2023-01-05 09:21:34 +05:45
Swikriti Tripathi 63f5bbcd1d address reviews 2023-01-05 07:42:32 +05:45
Swikriti Tripathi 6a4ee395bf Adds tests for sending PATCH request to other user's space
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-01-05 07:42:32 +05:45
Swikriti Tripathi 1d51c1ccbd [tests-only][full-ci] Forward port send invalid UUID master (#5321)
* add test

* fix after review

* fix

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-01-04 17:00:59 +05:45
Phil Davis 549b2a8a8d Merge pull request #5149 from owncloud/getUserWithGraph
[tests-only][full-ci]Added test for getting user information by admin or normal user using Graph API
2022-12-31 10:51:25 +05:45
Florian Schade 21797fb22d [full-ci] Bump libre-graph-api-go and drive group permissions (#5312)
* Bump libre-graph-api-go
Expose drive group permissions

Co-authored-by: kobergj <jkoberg@owncloud.com>
2022-12-30 17:23:56 +01:00
Phil Davis d0087f98b8 Apply suggestions from code review 2022-12-30 17:32:21 +05:45
sagargurung1001@gmail.com b9fda28235 Review address for separate functon 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com a05a746297 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 1874280a56 Addressed review 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com e15afb04d4 Implement user drive information 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 46575abe11 Drive infor assertion 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 265db41819 remove before 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com c80e773234 Added drive info check 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 6ff9d6196f Added expected to failure file 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 9f0a22af7e Added test for getting user information by admin using Graph API 2022-12-30 17:31:35 +05:45
sagargurung1001@gmail.com 9a86777df6 Rebase and review address 2022-12-29 15:38:17 +05:45
sagargurung1001@gmail.com 3ca033dab7 Addressed review 2022-12-29 15:38:17 +05:45
sagargurung1001@gmail.com 821069d190 Extend Propfind of space to space-member 2022-12-29 15:38:17 +05:45
Phil Davis 0c10ee4d2d Adjust parameter name to theResponseShouldContain 2022-12-29 12:34:11 +05:45
Phil Davis 07d3ff7dfb Refactor theResponseShouldContain test step 2022-12-29 12:34:11 +05:45
Swikriti Tripathi 1ceaca7364 Add api test for propfind contract testing 2022-12-29 11:08:28 +05:45
Sawjan Gurung 334811186c [tests-only][full-ci] Add CORS API tests (#5187) 2022-12-16 11:55:18 +05:45
Prarup Gurung 00efd8af2e [full-ci] [tests-only] Added api test for edit user using graph API (#5150) 2022-12-14 14:15:18 +05:45
Prarup Gurung 6949dbd125 [full-ci] [tests-only] Added api test for sharing spaces to group (#5023) 2022-12-14 14:13:55 +05:45
Jörn Friedrich Dreyer d359a7c2cf [full-ci] standalone graph service with LDAP (#5199)
* standalone graph service with LDAP

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* no panic on PATCH and DELETE

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix apitoken yaml key

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update user, fix response codes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix group creation return code

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* remove unknown user property

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix create return code checks in graph feature context

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* updating uses 200 OK when returning a body

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* revert user statusCreated change for now

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* revert return code changes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-12 12:46:10 +01:00
Viktor Scharf 881b60926d check urestricted quota (#5173) 2022-12-08 11:01:03 +01:00
sagargurung1001@gmail.com c5d5d9d136 Added test for space public link 2022-12-07 14:03:14 +05:45
Sawjan Gurung 2469af12ac [tests-only][full-ci] Extend API contract tests for GET drives/spaces (#5151)
* do not set response from helper functions

* extend list spaces tests

* fix php code style
2022-12-05 17:42:51 +01:00
Artur Neumann cff0ecc777 Merge pull request #5163 from owncloud/setUnrestrictedQuota
[test-only] ApiTest. check unrestricted quota
2022-12-01 10:03:32 +05:45
Viktor Scharf 51e88c9fff check urestricted quota 2022-11-30 15:54:46 +01:00
Prarup Gurung ad66bf2d1f [full-ci] [tests-only] Added api test for delete user using graph API (#5102)
* Added api test for delete user using graph API

* Added scenario, admin user tries to delete another admin user

* Added scenario, delete user with username having different case

* Addressed reviews
2022-11-30 14:09:09 +01:00
sagargurung1001@gmail.com 4124173a51 Review Address 2022-11-29 11:54:28 +05:45
sagargurung1001@gmail.com 9813fe2841 Replace asserting userID with regex match 2022-11-28 14:34:23 +05:45
sagargurung1001@gmail.com 82049df3ee Refactored and added test to get user information with GraphAPI 2022-11-28 14:34:23 +05:45
sagargurung1001@gmail.com 1a8c4008d1 Added test to get user information with GraphAPI 2022-11-28 14:32:55 +05:45