mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 23:16:59 +00:00
test 2
This commit is contained in:
parent
c067efba1a
commit
0e88cd1bb6
@ -1,9 +1,13 @@
|
|||||||
describe("Shopping Cart", () => {
|
describe("Shopping Cart", () => {
|
||||||
it("userss can add products to the cart", () => {
|
it("users can add products to the cart", () => {
|
||||||
cy.visit("/")
|
cy.visit("/")
|
||||||
cy.getBySel("product-tag").eq(0).click()
|
cy.getBySel("product-tag").eq(0).click()
|
||||||
cy.get('[aria-label="Add to Cart"]').click()
|
cy.get('[aria-label="Add to Cart"]').click()
|
||||||
cy.get('[aria-label="Cart items: 1"]').contains("1")
|
cy.get('[aria-label="Cart items: 1"]').contains("1")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it("users can add products to the cart", () => {
|
||||||
|
cy.visit("/")
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user