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

[Gecko Bug 1492499] webdriver: fix is_fullscreen assertions #13804

Merged
merged 3 commits into from
Nov 1, 2018

Conversation

moz-wptsync-bot
Copy link
Collaborator

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

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
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

@andreastt
Copy link
Member

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
@whimboo
Copy link
Contributor

whimboo commented Nov 1, 2018

This looks like a timeout.

Yes, this is somehow related to the dbus daemon:

PID 29093 | (firefox:29100): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
PID 29093 | Failed to connect to socket /tmp/dbus-ChVPOZYHzP: Connection refused

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?

@andreastt
Copy link
Member

@whimboo No, I don’t have time to investigate this.

@jgraham
Copy link
Contributor

jgraham commented Nov 1, 2018

It's just trying to run too many tests I think.

@jgraham jgraham merged commit 29c3aa8 into master Nov 1, 2018
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1492499 branch November 2, 2018 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants