Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE: Test stability of t/ui/ui/25-developer_mode.t #3942

Closed
wants to merge 4 commits into from

Conversation

Martchus
Copy link
Contributor

No description provided.

Version 91.0.4472.77 of `chromedriver` changed its behavior so
`Selenium::Remote::WebElement` behaves different as well. This change
adapts our tests to the following changes (in a backwards compatible way):

* `Selenium::Remote::WebElement::get_attribute()` now returns `undef`
  instead of an empty string if the attribute is not present at all.
* `Selenium::Remote::WebElement::get_value()` and `is_selected()` sometimes
  no longer return a value. Likely it depends on how these form properties
  are populated. Possible an unwanted side-effect of the `get_attribute()`
  change.

See https://progress.opensuse.org/issues/93453#note-11
This reverts commit 3babb6f
as tests have been adapted.
…ures

The mocking of status updates was insufficient. It is not enough to
override `updateStatus()` after loading the page because it might have
already been invoked and therefore the initial status update is not
actually prevented. This change allows to disable status updates from the
beginning via a query parameter (which is only evaluated in test mode).
@Martchus
Copy link
Contributor Author

Looks like it is stable now but I'm giving it another run to be sure.

@Martchus
Copy link
Contributor Author

It passed again.

@Martchus Martchus closed this Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant