-
Notifications
You must be signed in to change notification settings - Fork 4.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
Fix and enable remaining navigation block e2e tests #37437
Conversation
@@ -564,125 +547,13 @@ describe( 'Navigation', () => { | |||
expect( quickInserter ).toBeTruthy(); | |||
} ); | |||
|
|||
// The following tests are unstable, roughly around when https://github.com/WordPress/wordpress-develop/pull/1412 | |||
// landed. The block manually tests well, so let's skip to unblock other PRs and immediately follow up. cc @vcanales | |||
it.skip( 'loads frontend code only if the block is present', async () => { |
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.
I've divided this up into two tests.
expect( tagCount ).toBe( 1 ); | ||
} ); | ||
|
||
it.skip( 'loads frontend code only if responsiveness is turned on', async () => { |
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.
This is no longer true, so the test has been removed.
Size Change: 0 B Total Size: 1.13 MB ℹ️ View Unchanged
|
9521576
to
fee3fb9
Compare
This should be ready for review now. |
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.
It's great to have all the tests back again. Thanks Dan!
Description
A few navigation block tests were skipped, either due to being unstable or because they were temporarily skipped while the block underwent a lot of changes.
Now things are a bit more stable, it's a good time to bring these tests back.