👩💻 Join our community of thousands of amazing developers!
Recently, I was asked to write a solid test for an online demo e-commerce shop https://demo.prestashop.com. The site loads a temporary demo shop. We want to write a Cypress test that picks an item and adds it to the cart and goes to the checkout. Let's start. First, visit the page.123it('goes to the checkout with one item', () => { cy.visit('/')})You see the loader element at the start. It is outside the iframe itself, let's wait for it to disappear.1234it('goes to the checkout with one item...