Skip to content

Commit

Permalink
NTR: revert intercept
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Apr 29, 2024
1 parent 442463f commit 565d6d0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,18 @@ export default class AdminOrdersAction {
*
*/
openRefundManager() {
cy.intercept('**').as('page')
cy.wait(1000);

if (shopware.isVersionLower('6.5')) {
// forceClick because if a Shopware update exists, that dialog is above our button
repoOrdersDetails.getMollieActionsButton().click({force: true, waitForAnimations: false});
}

cy.wait(2000);
repoOrdersDetails.getMollieRefundManagerButton().click({force: true, waitForAnimations: false});
// here are automatic reloads and things as it seems
// I really want to test the real UX, so we just wait like a human
cy.wait('@page');
cy.wait(4000);
}


Expand Down

0 comments on commit 565d6d0

Please sign in to comment.