We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6af35 commit 7fbcd8eCopy full SHA for 7fbcd8e
tests/e2e/utils/shopper.ts
@@ -316,7 +316,7 @@ export const addToCartFromShopPage = async (
316
317
// This generic regex will match the aria-label for the "Add to cart" button for any product.
318
// It should work for WC 7.7.0 and later.
319
- // These unicode characters are the smart (or curly) quotes: " ".
+ // These unicode characters are the smart (or curly) quotes: “ ”.
320
const addToCartRegex = new RegExp(
321
`Add\\s+(?:to\\s+cart:\\s*)?\u201C${ product.name }\u201D(?:\\s+to\\s+your\\s+cart)?`
322
);
0 commit comments