Merge pull request #29728 from woocommerce/e2e/e2e-update-checkout-naming

Update test naming for the Cart tests to include adding product from shop page
This commit is contained in:
Ron Rennick 2021-04-29 15:49:18 -03:00 committed by GitHub
commit 4b99a24af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const runCartPageTest = () => {
await expect(page).toMatchElement('.cart-empty', {text: 'Your cart is currently empty.'});
});
it('should add the product to the cart when "Add to cart" is clicked', async () => {
it('should add the product to the cart from the shop page', async () => {
await shopper.goToShop();
await shopper.addToCartFromShopPage(simpleProductName);