Skip to content

Initial implementation of the TestRendered event for reftests#20197

Merged
jgraham merged 2 commits intomasterfrom
test_rendered
Nov 26, 2019
Merged

Initial implementation of the TestRendered event for reftests#20197
jgraham merged 2 commits intomasterfrom
test_rendered

Conversation

@jgraham
Copy link
Contributor

@jgraham jgraham commented Nov 11, 2019

This implements the changes detailed in web-platform-tests/rfcs#34

@wpt-pr-bot wpt-pr-bot added infra wptrunner The automated test runner, commonly called through ./wpt run labels Nov 11, 2019
@jugglinmike
Copy link
Contributor

Would you mind adding some documentation for this feature?

@jgraham
Copy link
Contributor Author

jgraham commented Nov 12, 2019

https://phabricator.services.mozilla.com/D52684 for the gecko changes and https://treeherder.mozilla.org/#/jobs?repo=try&revision=f9b130cf3d577ac8feed26408f4a91d253c7ca7d for a try push containing these changes and the gecko changes.

This is described in RFC #34. The TestRendered event is emitted for
reftests with a `reftest-wait` class on the root at the point at which
the screenshot would occurs if that class was not present. It provides
a hook for test authors to dynamically modify the DOM after the
initial layout and paint are complete.
@jgraham
Copy link
Contributor Author

jgraham commented Nov 12, 2019

Would you mind adding some documentation for this feature?

I wouldn't. And indeed I have now added some.

Copy link
Member

@gsnedders gsnedders left a comment

Choose a reason for hiding this comment

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

(but I think I'd rather a further +1 here)

@jgraham jgraham closed this Nov 26, 2019
@jgraham jgraham reopened this Nov 26, 2019
Copy link
Contributor

@Ms2ger Ms2ger left a comment

Choose a reason for hiding this comment

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

+1 if you checked that the azure test failures are not relevant

Co-Authored-By: Michael[tm] Smith <mike@w3.org>
@jgraham jgraham merged commit 7b20b28 into master Nov 26, 2019
@jgraham jgraham deleted the test_rendered branch November 26, 2019 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs infra wptrunner The automated test runner, commonly called through ./wpt run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants