Skip to content

Commit

Permalink
EMA-145 - Security findings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanyi committed Jun 30, 2024
1 parent 7528550 commit a925e31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev/testv2/cypress/integration/web-extend.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@ describe('Web extend scripts', function () {
cy.get('#product-addtocart-button').click();
cy.get('.counter-number').should('contain', '2');

// Wait for the cart to update
cy.wait(100);
cy.get('.action.showcart').click();
cy.wait(300);
cy.get('#top-cart-btn-checkout').click();

cy.wait(1000);

// Check if we are on the checkout page (if not, reload the page)
cy.url().then(url => {
cy.log(url);

Expand All @@ -85,6 +88,7 @@ describe('Web extend scripts', function () {
cy.visit('/checkout');
}
});

cy.wait(1000);

cy.get('#checkout-step-shipping input.input-text[name="username"]').type('[email protected]');
Expand Down

0 comments on commit a925e31

Please sign in to comment.