webUI Public Link sharing scenario intermittent failures
Open
@phil-davis is already working on this.
Since Mar 10, 2026.
- Dominant language
- PHP
- Stars
- 8.8k
- Forks
- 2.1k
- Avg merge
- 20h 7m
- Merged PRs (30d)
- 41
Description
Some scenarios seem to fail intermittently, but usually pass on the 2nd try.
(webUI test CI has been configured so that failed scenarios are run again to see if they pass the 2nd time, just to reduce the frequency of failure of the whole CI run)
Example: https://drone.owncloud.com/owncloud/core/40687/121/18
--- Failed scenarios:
/drone/src/tests/acceptance/features/webUISharingPublic2/savePublicLinkShare.feature:72 (on line 79)
/drone/src/tests/acceptance/features/webUISharingPublic2/savePublicLinkShare.feature:158 (on line 169)
/drone/src/tests/acceptance/features/webUISharingPublic2/savePublicLinkShare.feature:177 (on line 187)
51 scenarios (48 passed, 3 failed)
And the fails look like:
Scenario: mount public link share of a file (all permissions set) to local server # /drone/src/tests/acceptance/features/webUISharingPublic2/savePublicLinkShare.feature:72
Given user "Brian" has been created with default attributes and without skeleton files # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
And user "Alice" has uploaded file with content "original content" to "lorem.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has created a public link share with settings # FeatureContext::userHasCreatedAPublicLinkShareWithSettings()
| path | /lorem.txt |
| permissions | read,update,create,delete |
And the public has accessed the last created public link using the webUI # WebUISharingContext::thePublicAccessesTheLastCreatedPublicLinkUsingTheWebUI()
When the public adds the public link to "%local_server%" as user "Brian" using the webUI # WebUISharingContext::thePublicAddsThePublicLinkToUsingTheWebUI()
element click intercepted: Element <a id="change-server" href="#">...</a> is not clickable at point (875, 71). Other element would receive the click: <a id="current-server" href="#">...</a>
(Session info: chrome=74.0.3729.169)
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Linux 5.15.0-164-generic x86_64) (WebDriver\Exception\ElementClickIntercepted)
Scenario: mount public link share of a folder that already exists in remote server # /drone/src/tests/acceptance/features/webUISharingPublic2/savePublicLinkShare.feature:158
Given using server "REMOTE" # FeatureContext::usingServer()
And user "Brian" has been created with default attributes and without skeleton files # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
And user "Brian" has created folder "/PARENT" # FeatureContext::userHasCreatedFolder()
And using server "LOCAL" # FeatureContext::usingServer()
And user "Alice" has created folder "/PARENT" # FeatureContext::userHasCreatedFolder()
And user "Alice" has uploaded file with content "original content" to "/PARENT/lorem.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has created a public link share with settings # FeatureContext::userHasCreatedAPublicLinkShareWithSettings()
| path | /PARENT |
| permissions | read |
And the public has accessed the last created public link using the webUI # WebUISharingContext::thePublicAccessesTheLastCreatedPublicLinkUsingTheWebUI()
When the public adds the public link to "%remote_server%" as user "Brian" using the webUI # WebUISharingContext::thePublicAddsThePublicLinkToUsingTheWebUI()
element click intercepted: Element <a id="change-server" href="#">...</a> is not clickable at point (875, 71). Other element would receive the click: <a id="current-server" href="#">...</a>
(Session info: chrome=74.0.3729.169)
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Linux 5.15.0-164-generic x86_64) (WebDriver\Exception\ElementClickIntercepted)
Scenario: unshare mounted public link share in remote server # /drone/src/tests/acceptance/features/webUISharingPublic2/savePublicLinkShare.feature:177
Given using server "REMOTE" # FeatureContext::usingServer()
And user "Brian" has been created with default attributes and without skeleton files # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
And using server "LOCAL" # FeatureContext::usingServer()
And user "Alice" has created folder "/PARENT" # FeatureContext::userHasCreatedFolder()
And user "Alice" has uploaded file with content "original content" to "/PARENT/lorem.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has created a public link share with settings # FeatureContext::userHasCreatedAPublicLinkShareWithSettings()
| path | /PARENT |
| permissions | read |
And the public has accessed the last created public link using the webUI # WebUISharingContext::thePublicAccessesTheLastCreatedPublicLinkUsingTheWebUI()
When the public adds the public link to "%remote_server%" as user "Brian" using the webUI # WebUISharingContext::thePublicAddsThePublicLinkToUsingTheWebUI()
Page\PublicLinkFilesPage::addToServer could not find 'change server' prompt (SensioLabs\Behat\PageObjectExtension\PageObject\Exception\ElementNotFoundException)
Also have a look at other test suites for any similar intermittent failures.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.