Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Not A Defect
-
Component/s: acceptance-test-harness
-
Labels:None
-
Similar Issues:
Description
I am reliably observing a race condition in the MatrixAuthorizationStrategy page object when trying to add 2 users in succession
MatrixAuthorizationStrategy auth = security.useAuthorizationStrategy(MatrixAuthorizationStrategy.class); auth.addUser("alice").admin(); auth.addUser("bob").developer();
the addition of the second user fails with :
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for alert to be present (tried for 10 second(s) with 500 milliseconds interval)
looking at a screen recoring this may be due to the fact that the tooltip for the recently added "administrator" permission for alice is showing a tooltip that is partially obscuring the button
using
- acceptance-test-harness 1.74
- selenium/standalone-firefox-debug:2.53 docker image for firefox (docker run -d -p 4444:4444 -p 5900:5900 -e no_proxy=localhost -e SCREEN_WIDTH=1680 -e SCREEN_HEIGHT=1090 selenium/standalone-firefox-debug:2.53.1)
- BROWSER=remote-webdriver-firefox
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Summary | MatrixAuthorizationStrategy PO not clicking in button due to tooltip | MatrixAuthorizationStrategy PO failing to add users |
Assignee | Oliver Gondža [ olivergondza ] | James Nord [ teilo ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Remote Link | This issue links to "jenkinsci/acceptance-test-harness#593 (Web Link)" [ 25339 ] |
Description |
I am reliably observing a race condition in the MatrixAuthorizationStrategy page object when trying to add 2 users in succession {noformat} MatrixAuthorizationStrategy auth = security.useAuthorizationStrategy(MatrixAuthorizationStrategy.class); auth.addUser("alice").admin(); auth.addUser("bob").developer(); {noformat} the addition of the second user fails with : {noformat} org.openqa.selenium.TimeoutException: Expected condition failed: waiting for alert to be present (tried for 10 second(s) with 500 milliseconds interval) {noformat} looking at a screen recoring this may be due to the fact that the tooltip for the recently added "administrator" permission for alice is showing a tooltip that is partially obscuring the button !image-2020-07-22-10-35-47-975.png|thumbnail! using * acceptance-test-harness 1.74 * selenium/standalone-firefox-debug:2.53 docker image for firefox * BROWSER=remote-webdriver-firefox |
I am reliably observing a race condition in the MatrixAuthorizationStrategy page object when trying to add 2 users in succession {noformat} MatrixAuthorizationStrategy auth = security.useAuthorizationStrategy(MatrixAuthorizationStrategy.class); auth.addUser("alice").admin(); auth.addUser("bob").developer(); {noformat} the addition of the second user fails with : {noformat} org.openqa.selenium.TimeoutException: Expected condition failed: waiting for alert to be present (tried for 10 second(s) with 500 milliseconds interval) {noformat} looking at a screen recoring this may be due to the fact that the tooltip for the recently added "administrator" permission for alice is showing a tooltip that is partially obscuring the button !image-2020-07-22-10-35-47-975.png|thumbnail! using * acceptance-test-harness 1.74 * selenium/standalone-firefox-debug:2.53 docker image for firefox ({{docker run -d -p 4444:4444 -p 5900:5900 -e no_proxy=localhost -e SCREEN_WIDTH=1680 -e SCREEN_HEIGHT=1090 selenium/standalone-firefox-debug:2.53.1}}) * BROWSER=remote-webdriver-firefox |
Resolution | Not A Defect [ 7 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Assignee | James Nord [ teilo ] |
was caused by using the `2.53.1` image of selenium. when moving to the matching `3.14` (or higher) and setting the appropriate `--shm-size` I could not longer reproduce the issue that I was seeing.