-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[Gecko Bug 1492499] webdriver: fix is_fullscreen assertions #13804
Conversation
The "is True" and "is False" style is unnecessary as the return values are boolean, which means "assert is_fullscreen(session)" and "assert not is_fullscreen(session)" is sufficient. Depends on D8404 Differential Revision: https://phabricator.services.mozilla.com/D8405 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1492499 gecko-commit: 246b45eae45c12e0755be1665208309d2e9f4b6f gecko-integration-branch: autoland gecko-reviewers: automatedtester
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already reviewed downstream.
This looks like a timeout. |
To be able to reuse is_fullscreen() in other tests, we need to uplift it to the support.helpers package. Depends on D8407 Differential Revision: https://phabricator.services.mozilla.com/D8408 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1492499 gecko-commit: cbca19a1e3f4dfa31d45c00d4ef1de1b459cd16a gecko-integration-branch: autoland gecko-reviewers: automatedtester
For the time being we need to poll for document.hidden to become true because certain driver implementations, such as geckodriver, occasionally does not wait until the DOM property is propagated to the child process. Depends on D8408 Differential Revision: https://phabricator.services.mozilla.com/D8409 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1492499 gecko-commit: bfe0c0f39dd340c80c0d418cf20b1eac89d65b35 gecko-integration-branch: autoland gecko-reviewers: automatedtester
Yes, this is somehow related to the dbus daemon:
Maybe this is the reason why we fail all the window related wdspec tests. I think we should file a new issue for that. Will you do that @andreastt? |
@whimboo No, I don’t have time to investigate this. |
It's just trying to run too many tests I think. |
The "is True" and "is False" style is unnecessary as the return
values are boolean, which means "assert is_fullscreen(session)"
and "assert not is_fullscreen(session)" is sufficient.
Depends on D8404
Differential Revision: https://phabricator.services.mozilla.com/D8405
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1492499
gecko-commit: 246b45eae45c12e0755be1665208309d2e9f4b6f
gecko-integration-branch: autoland
gecko-reviewers: automatedtester