Skip to content

Commit

Permalink
small test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonasB88 committed Apr 3, 2024
1 parent 11c98ae commit 181d52b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,11 @@ Cypress.Commands.add("selectSubscriptionsCarriersCheck", {cacheAcrossSpecs: true
cy.contains('Options saved successfully.').should('be.visible') //checking if saving returns green alert
})
Cypress.Commands.add("CloudSyncUI", {cacheAcrossSpecs: true}, () => {
cy.wait(3000)
cy.iframe('[id^="uid_"]').find('button').should('be.visible')
})
Cypress.Commands.add("PsAccountsUI", {cacheAcrossSpecs: true}, () => {
cy.wait(3000)
cy.get('prestashop-accounts').shadow().find('[id="associate-shop-button"]').click()
// Wait for the popup window to open
cy.window().then(win => {
Expand Down

0 comments on commit 181d52b

Please sign in to comment.