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
* 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