Skip to content

Commit

Permalink
NTR: update waiting timer
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Apr 23, 2024
1 parent 1c32404 commit a8427fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@ export default class AdminLoginAction {
// increase our viewport for admin
// otherwise we don't see a lot (page height)
cy.viewport(1920, 1500);




cy.visit('/admin');

cy.get('#sw-field--username').type('admin');
cy.get('#sw-field--password').type('shopware');

cy.intercept('/admin').as('admin');

cy.get('.sw-button').click();
cy.wait('@admin');
cy.wait(4000);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,18 @@ export default class AdminPluginAction {
*
*/
openPluginConfiguration() {
cy.intercept('**').as('admin');
if (shopware.isVersionGreaterEqual('6.4')) {
cy.visit('/admin#/sw/extension/config/MolliePayments');
} else {
cy.visit('/admin#/sw/plugin/settings/MolliePayments');
}

cy.wait('@admin');
cy.wait(4000);
}

savePlugConfiguration() {
cy.intercept('**').as('admin');
cy.get('.sw-extension-config__save-action').click();
cy.wait('@admin');
cy.wait(4000);
}

}

0 comments on commit a8427fe

Please sign in to comment.