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 65c2311 commit 80f07f8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions dev/testv2/cypress/integration/web-extend.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,16 @@ describe('Web extend scripts', function () {
cy.get('.action.showcart').click();
cy.get('#top-cart-btn-checkout').click();

// cy.wait(1000);
cy.visit('/checkout');
cy.wait(1000);
cy.url().then(url => {
cy.log(url);

if (url.includes('checkout/cart')) {
cy.log('Reload checkout page');
cy.visit('/checkout');
}
});
cy.wait(1000);

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

0 comments on commit 80f07f8

Please sign in to comment.