This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Filter By Stock: Add E2E for the Product Query Block #7937
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gigitux
added
skip-changelog
PRs that you don't want to appear in the changelog.
category: tests
block: filter by stock
Issues related to the Filter by Stock block.
block-type: product-query
Issues related to/affecting all product-query variations.
labels
Dec 13, 2022
woocommercebot
requested review from
a team and
Aljullu
and removed request for
a team
December 13, 2022 17:28
4 tasks
The release ZIP for this PR is accessible via:
|
Size Change: 0 B Total Size: 1.01 MB ℹ️ View Unchanged
|
TypeScript Errors ReportFiles with errors: 434 🎉 🎉 This PR does not introduce new TS errors. |
dinhtungdu
reviewed
Dec 14, 2022
await openBlockEditorSettings(); | ||
await selectBlockByName( block.slug ); | ||
await setCheckbox( | ||
await getToggleIdByLabel( "Show 'Apply filters' button", 1 ) |
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.
FYI, you don't need to provide the second argument to getToggleIdByLabel
because the utility uses it only for recursion.
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.
Thanks! I updated it! 👍
gigitux
force-pushed
the
add/e2e-filter-by-stock
branch
from
December 14, 2022 12:41
0e0bf52
to
897985e
Compare
Aljullu
approved these changes
Dec 15, 2022
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.
LGTM
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
block: filter by stock
Issues related to the Filter by Stock block.
block-type: product-query
Issues related to/affecting all product-query variations.
skip-changelog
PRs that you don't want to appear in the changelog.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds E2E tests for the Filter By Stock Block and Product Query.
Fixes #7632
Testing
Automated Tests
User Facing Testing