mirror of
https://github.com/vercel/commerce.git
synced 2025-05-20 00:16:59 +00:00
10 lines
278 B
TypeScript
10 lines
278 B
TypeScript
describe('Shopping Cart', () => {
|
|
it('users can add products to the cart', () => {
|
|
cy.visit('/');
|
|
|
|
cy.getBySel('product-label').eq(0).click();
|
|
cy.location('pathname').should('include', '/product/');
|
|
cy.get('[aria-label="Add item to cart"]').click();
|
|
});
|
|
});
|