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
* resharing.feature: Used sharingNG for sharing in given step
* unlockFiles.feature: Used sharingNG for sharing in given step
* apiSpacesShares suite: Used sharingNG for sharing in given step
* acceptShares.feature: Used sharingNG for sharing in given step
* uploadFile.feature: Used sharingNG for sharing in given step
* coreApiWebdavUploadTUS suite: Used sharingNG for sharing in given step
* tag.feature: Used sharingNG for sharing in given step
* coreApiShareOperationsToShares2 suite: Used sharingNG for sharing in given step
* updateShare.feature: Used sharingNG for sharing in given step
* Fixed line numbers in expected failure
* 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
* tests: add tests for unlocking using file id
* tests: add test for unloing a project space file using fileid
* tests: add test for uploading to a share space file using fileid
* tests: adddress reviews
* Move unlock related tests from core to local api tests
* refactor tests
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
* test:add failing test to expected to failure
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
---------
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
* Link the failing lock tests with correct issues that they are failing with
* Move locks relates tests to new suite
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
* address reviews
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
* Add new scenario for trying to lock a folder
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
---------
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>