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.
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
And the fails look like:
Also have a look at other test suites for any similar intermittent failures.