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

Migrate Fullscreen mode test to Playwright #43963

Merged
merged 10 commits into from
Oct 25, 2022

Conversation

alvitazwar
Copy link
Contributor

@alvitazwar alvitazwar commented Sep 7, 2022

What?

Based on #38570, part of #38851. Migrate fullscreen-mode.test.js to its Playwright counterpart.

Why?

See #38570 for its background and rationale.

This is split into a new PR for easier review.

How?

See #38570 for the proposed migration steps.

Testing Instructions

npm run test:e2e:playwright /test/e2e/specs/editor/various/fullscreen-mode.spec.js

Screencast

Screen.Recording.2022-09-30.at.3.46.40.PM.mov

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Sep 7, 2022
@github-actions
Copy link

github-actions bot commented Sep 7, 2022

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @alvitazwar! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@skorasaurus skorasaurus added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Sep 7, 2022
@alvitazwar
Copy link
Contributor Author

@ntwb, @nerrad can you please review this?

@alvitazwar
Copy link
Contributor Author

@kevin940726 Can you please review this PR?

@Mamaduka Mamaduka removed the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Oct 25, 2022
Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

Thanks for contributing, @alvitazwar!

I left a few suggestions, which should help us make the e2e test more stable.

test/e2e/specs/editor/various/fullscreen-mode.spec.js Outdated Show resolved Hide resolved
test/e2e/specs/editor/various/fullscreen-mode.spec.js Outdated Show resolved Hide resolved
test/e2e/specs/editor/various/fullscreen-mode.spec.js Outdated Show resolved Hide resolved
test/e2e/specs/editor/various/fullscreen-mode.spec.js Outdated Show resolved Hide resolved
test/e2e/specs/editor/various/fullscreen-mode.spec.js Outdated Show resolved Hide resolved
test/e2e/specs/editor/various/fullscreen-mode.spec.js Outdated Show resolved Hide resolved
Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

@alvitazwar, it looks like ESLint checks are failing. Let's fix that, and I think we can merge the PR.

@Mamaduka Mamaduka changed the title Add Full Screen Test case Migrate Fullscreen mode test to Playwright Oct 25, 2022
Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

Thank you, @alvitazwar!

@Mamaduka Mamaduka merged commit f808cff into WordPress:trunk Oct 25, 2022
@github-actions github-actions bot added this to the Gutenberg 14.5 milestone Oct 25, 2022
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants