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

Update e2e tests so they pass with WP 5.9 #106

Merged
merged 6 commits into from
Jan 26, 2022
Merged

Conversation

kienstra
Copy link
Contributor

@kienstra kienstra commented Jan 20, 2022

Changes

  • Update e2e tests so they pass on 5.9-RC3
  • Luckily, GCB itself already works with 5.9-RC3, including Twenty Twentytwo

Testing Instructions

  • Not needed, this only touches testing files
  • Just a quick sanity check of the code would be great

@kienstra kienstra changed the title [Don't merge] Bump the e2e test Core version to 5.9-RC3 to see if tests pass [Don't merge yet] Bump the e2e test Core version to 5.9-RC3 to see if tests pass Jan 20, 2022
@@ -187,7 +187,7 @@ describe( 'AllFields', () => {
await page.click( `[value=${ fields.radio.value }` );

// Click away from the block so the <ServerSideRender> displays.
await ( await findByRole( $blockEditorDocument, 'button', { name: 'Document' } ) ).click();
await ( await findByRole( $blockEditorDocument, 'textbox', { name: /add title/i } ) ).click();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Clicking away from the block is hacky, I've had to change this several times.

They actually didn't
bump the Core version.
@kienstra kienstra changed the title [Don't merge yet] Bump the e2e test Core version to 5.9-RC3 to see if tests pass Bump the e2e test Core version to 5.9-RC3 to see if tests pass Jan 20, 2022
@kienstra kienstra marked this pull request as ready for review January 20, 2022 21:53
@kienstra kienstra changed the title Bump the e2e test Core version to 5.9-RC3 to see if tests pass Updates to tests so e2e tests pass Jan 20, 2022
@kienstra kienstra changed the title Updates to tests so e2e tests pass Update e2e tests so they pass with WP 5.9 Jan 20, 2022
@kienstra
Copy link
Contributor Author

Thanks so much, @dreamwhisper!

@kienstra kienstra merged commit 6e318de into develop Jan 26, 2022
@kienstra kienstra deleted the try/e2e-tests-5.9 branch January 26, 2022 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants