Commit Graph
19 Commits
Author SHA1 Message Date
Viktor Scharf 05b0830cbf test: wait for the share sync in the Given steps that create shares (#4158)
* test: wait for the share sync in the Given steps that create shares

Shares are synced (auto-accepted) asynchronously by the sharing service,
so the scenarios waited for it with "user ... has a share ... synced"
after each share. Where they didn't, the following steps could race with
it, e.g. a hide sent before the auto-accept was overwritten by it.

The Given steps that create user and group shares now wait until the
share is synced for each user it was sent to (the members of a group),
unless the user has auto-sync turned off. The "has a share ... synced"
steps that only followed such a Given step are removed, and the line
references of the expected failures are updated.

Assisted-by: Claude Code:claude-opus-5-5

* test: don't wait for the sync of a share with the role Denied

A share with the role Denied gives no access, so it never shows up in
the shared-with-me list of the sharee, and the wait for its sync timed
out.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-29 10:42:57 +00:00
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
pradip 0baccb922a test(refactor): change the structure of When step while moving, copying and renaming 2024-11-19 17:17:59 +05:45
Niraj Acharya a780da88d1 running secure viewer role with ocis wrapper instead of running ocis with GRAPH_AVAILABLE_ROLES 2024-10-25 11:55:50 +05:45
Saw-jan f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Salipa-Gurung 5f9469540d add test coverage for copying file using file id from project space 2024-09-04 16:57:29 +05:45
Salipa-Gurung 321bb6af7e add test coverage for copying file using file id from share space 2024-08-29 17:23:09 +05:45
Saw-jan 878c5f4075 test: ensure share is available before performing actions
test: fix expected-failure lines
2024-07-26 15:19:33 +05:45
Saw-jan 80c72f59be test: wait and check for sync status before action 2024-06-28 09:51:07 +05:45
Sawjan Gurung abb537f08f [tests-only] separate different SharingNG share steps (#9097)
* separate When steps using root and permissions endpoints

test: separate resource sharing GIven step from space share

test: share space via root endpoint in Given steps

test: use existing step

test: fix more steps

* test: separate resource and space link share creation

test: fix php code style
2024-05-08 14:22:52 +05:45
Sabin Panta 288619f626 changing given step of creating share in feature file (#9092) 2024-05-08 10:06:23 +05:45
Nalem7 418e13517d add test for copy file between space in project-space (#7647) 2023-11-06 12:34:54 +05:45
Nalem7 037201828f add test for copy file between personal space and share space using fileID (#7627) 2023-11-01 14:09:05 +05:45
Sabin Panta 1c6600365c [tests-only][full-ci] Refactoring all graphapi related featurefile wording (#7389)
* refactoring the feature file steps

* addressing review
2023-10-30 17:57:42 +05:45
Nalem7 a15fe45d6a add tests for copy file within shares ucing file-id (#7593) 2023-10-27 15:11:32 +05:45
Nalem7 b37578216e add test for copy file between project and personal space (#7495) 2023-10-20 14:22:46 +05:45
Nalem7 1054f0d6cd add test for copy with fileID (#7398) 2023-10-09 09:14:39 +05:45
Sawjan Gurung c59b597984 [tests-only] Run tests with default propfind depth infinity config (#7334)
* use default config for OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY

* remove unnecessary steps

* use default propfind depth infinity value

* use correct step to check the resources

* use correct step to check the resources

* cover depth:infinity enabled test cases

* fix steps

* fix scenario steps

* update expected failure list

* add depth infinity test suite to ci

* update existing tests only

* remove test with depth:infinity
2023-10-03 09:26:31 +05:45
Sagar Gurung ddaa825617 Added test for the copy with file-id in url (#7308) 2023-09-26 18:04:48 +05:45