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

Can only be inserted once test excludes the mini-cart template button #46478

Merged
merged 3 commits into from Apr 16, 2024

Conversation

ralucaStan
Copy link
Contributor

@ralucaStan ralucaStan commented Apr 11, 2024

Changes proposed in this Pull Request:

tests/e2e/tests/mini-cart/mini-cart-block.merchant.block_theme.side_effects.spec.ts > Can only be inserted once test excludes the mini-cart template button.
This test was failing for me locally because there is also a Mini-cart template button under Theme.

How to test the changes in this Pull Request:

  1. Make sure this test passes locally
  2. All E2E tests should pass on the CI

Changelog entry

  • Automatically create a changelog entry from the details below.

Significance

  • Patch
  • Minor
  • Major

Type

  • Fix - Fixes an existing bug
  • Add - Adds functionality
  • Update - Update existing functionality
  • Dev - Development related task
  • Tweak - A minor adjustment to the codebase
  • Performance - Address performance issues
  • Enhancement - Improvement to existing functionality

Message

Comment

@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Apr 11, 2024
@ralucaStan ralucaStan marked this pull request as ready for review April 11, 2024 14:40
@ralucaStan ralucaStan requested review from a team and nielslange and removed request for a team April 11, 2024 14:41
@ralucaStan ralucaStan added focus: cart Issues related to the cart. focus: e2e tests Issues related to e2e tests block: mini-cart Issues related to the Mini-Cart block. labels Apr 11, 2024
Copy link
Contributor

github-actions bot commented Apr 11, 2024

Hi @nielslange,

Apart from reviewing the code changes, please make sure to review the testing instructions as well.

You can follow this guide to find out what good testing instructions should look like:
https://github.com/woocommerce/woocommerce/wiki/Writing-high-quality-testing-instructions

@woocommercebot woocommercebot requested a review from a team April 11, 2024 14:55
@github-actions github-actions bot removed the focus: e2e tests Issues related to e2e tests label Apr 15, 2024
Copy link
Member

@nielslange nielslange 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 working on this, @ralucaStan. I've noted a section that's unclear to me, although tests are passing both locally and in CI. Could you help clarify that particular part?

@nielslange nielslange self-requested a review April 16, 2024 13:43
Copy link
Member

@nielslange nielslange left a comment

Choose a reason for hiding this comment

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

With the open question addressed, let's ⛴️ this improvement, @ralucaStan.

@ralucaStan ralucaStan merged commit 466b3a8 into trunk Apr 16, 2024
39 checks passed
@ralucaStan ralucaStan deleted the fix/e2e-mini-cart branch April 16, 2024 14:15
@ralucaStan
Copy link
Contributor Author

I appreciate the thoughtful review @nielslange

@github-actions github-actions bot added this to the 8.9.0 milestone Apr 16, 2024
@github-actions github-actions bot added the needs: analysis Indicates if the PR requires a PR testing scrub session. label Apr 16, 2024
@alopezari alopezari added status: analysis complete Indicates if a PR has been analysed by Solaris and removed needs: analysis Indicates if the PR requires a PR testing scrub session. labels Apr 16, 2024
nielslange pushed a commit that referenced this pull request Apr 20, 2024
…#46478)

* Can only be inserted once test excludes the mini-cart template button

* Use function for testing disabled state

* Account for blocks advertise and change selector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block: mini-cart Issues related to the Mini-Cart block. focus: cart Issues related to the cart. plugin: woocommerce Issues related to the WooCommerce Core plugin. status: analysis complete Indicates if a PR has been analysed by Solaris
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants