Skip to content

Commit

Permalink
Update 03_mollie.ps8.PaymentTests.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonasB88 committed Oct 2, 2023
1 parent 11c2341 commit d46be3e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cypress/e2e/ps8/03_mollie.ps8.PaymentTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ const login = (MollieBOFOLoggingIn) => {
cy.get('#history-link > .link-item').click()
})
}
// //Checking the console for errors
// let windowConsoleError;
// Cypress.on('window:before:load', (win) => {
// windowConsoleError = cy.spy(win.console, 'error');
// })
// afterEach(() => {
// expect(windowConsoleError).to.not.be.called;
// })
//Checking the console for errors
let windowConsoleError;
Cypress.on('window:before:load', (win) => {
windowConsoleError = cy.spy(win.console, 'error');
})
afterEach(() => {
expect(windowConsoleError).to.not.be.called;
})
describe('PS8 Tests Suite', () => {
beforeEach(() => {
cy.viewport(1920,1080)
Expand Down

0 comments on commit d46be3e

Please sign in to comment.