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 custom taxonomies test to Playwright #45178

Closed
wants to merge 7 commits into from

Conversation

alvitazwar
Copy link
Contributor

What?

Based on #38570, part of #38851. Migrate custom-taxonomies.test.js

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/plugins/custom-taxonomies.spec.js

Screenshots or screencast

Screen.Recording.2022-10-21.at.12.11.32.AM.mov

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

👋 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.

@alvitazwar
Copy link
Contributor Author

alvitazwar commented Oct 20, 2022

@Mamaduka Can you please help me to review this PR?

@Mamaduka Mamaduka changed the title Add Custom taxonomies test case Migrate custom taxonomies test to Playwright Oct 21, 2022
@Mamaduka Mamaduka added [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. and removed First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository labels Oct 21, 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.

@alvitazwar, let's do a similar refactoring for this test case as we did in #43964.

  • Inline helper utility.
  • Try to use role selectors whenever possible.

@alvitazwar
Copy link
Contributor Author

@Mamaduka I addressed the feedback regarding the inline approach and use of role selectors. Can you please check?

@alvitazwar
Copy link
Contributor Author

@Mamaduka Can you please check again?

@Mamaduka
Copy link
Member

@alvitazwar, can you rebase this branch on top of the latest trunk? It should resolve the issue with CI.

@alvitazwar alvitazwar requested a review from kevin940726 as a code owner June 15, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [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