Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Justas Vaitkus authored and Justas Vaitkus committed Jul 12, 2024
1 parent da77952 commit 6a95a7b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/02-authorizeAfterAuthorization.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ describe('PS1789 Tests Suite -> Authorization + After order creation', {
it('A2A guest PM visible', () => {
cy.clearCookies()
cy.visit('/en/home/1-spproduct.html', { headers: {"Accept-Encoding": "gzip, deflate"}})
cy.changeCurrencyCHF()
cy.guestCheckoutCHF()
//cy.changeCurrencyCHF()
cy.guestCheckout()
cy.contains('Accounttoaccount').should('be.visible')
})

it('Twint guest success', () => {
cy.clearCookies()
cy.visit('/en/home/1-spproduct.html', { headers: {"Accept-Encoding": "gzip, deflate"}})
cy.changeCurrencyCHF()
cy.guestCheckout()
cy.guestCheckoutCHF()
cy.contains('Twint').click({ force: true })
cy.get('.condition-label > .js-terms').click({ force: true })
cy.contains('Place order').click()
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/03-authorizeBeforeAuthorization.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('PS1789 Tests Suite -> Authorization + order creation before authorizat
cy.clearCookies()
cy.visit('/en/home/1-spproduct.html', { headers: {"Accept-Encoding": "gzip, deflate"}})
// cy.changeCurrencyCHF()
cy.guestCheckoutCHF()
cy.guestCheckout()
cy.contains('Accounttoaccount').should('be.visible')

})
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/04-captureAfterAuthorization.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('PS1789 Tests Suite -> With auto capture payments + create order after
cy.clearCookies()
cy.visit('/en/home/1-spproduct.html', { headers: {"Accept-Encoding": "gzip, deflate"}})
// cy.changeCurrencyCHF()
cy.guestCheckoutCHF()
cy.guestCheckout()
cy.contains('Accounttoaccount').should('be.visible')

})
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/05-captureBeforeAuthorization.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('PS1789 Tests Suite -> With auto capture payments and order creation be
cy.clearCookies()
cy.visit('/en/home/1-spproduct.html', { headers: {"Accept-Encoding": "gzip, deflate"}})
// cy.changeCurrencyCHF()
cy.guestCheckoutCHF()
cy.guestCheckout()
cy.contains('Accounttoaccount').should('be.visible')

})
Expand Down

0 comments on commit 6a95a7b

Please sign in to comment.