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

Testing: Skip test failures for font decoding warnings #15502

Merged
merged 2 commits into from
May 8, 2019

Conversation

aduth
Copy link
Member

@aduth aduth commented May 8, 2019

This pull request seeks to resolve an issue present in master currently causing all end-to-end tests to fail. There is a bug introduced with WordPress 5.2 which causes a console warning to be logged when loading the Dashicons font for some usage, notably radio buttons:

https://core.trac.wordpress.org/ticket/47183

The end-to-end tests are configured to automatically fail if any unexpected console warnings or errors occur (#8721).

The changes here allow for these specific console warnings to be exempt from this, thus allowing the tests to pass.

Testing instructions:

Ensure end-to-end tests pass (also obvious by Travis build pass):

npm run test-e2e

@aduth aduth added [Type] Bug An existing feature does not function as intended [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. labels May 8, 2019
@gziolo
Copy link
Member

gziolo commented May 8, 2019

I wanted to approve this PR but there is some new failure, it’s related to Classic editor so it might be WP 5.2 related as well.

Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

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

As discussed in private chat, there is a known issue with the updated attribute for Add Media button which is used in one of the tests. Once it's resolved this PR is good to go.

It's blocking other PRs so I'm giving const approved = new Promise() :)

@aduth aduth force-pushed the update/e2e-skip-dashicons-font-warning branch from 8c14127 to 0e89d4f Compare May 8, 2019 17:42
@aduth aduth merged commit 17c3571 into master May 8, 2019
@aduth aduth deleted the update/e2e-skip-dashicons-font-warning branch May 8, 2019 19:35
@youknowriad youknowriad added this to the 5.7 (Gutenberg) milestone May 10, 2019
aduth added a commit that referenced this pull request May 16, 2019
* Testing: Skip test failures for font decoding warnings

* Testing: Fix Classic block Add Media toolbar button click
youknowriad pushed a commit that referenced this pull request May 16, 2019
* Testing: Skip test failures for font decoding warnings

* Testing: Fix Classic block Add Media toolbar button click
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants