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 authored and mandan2 committed Oct 17, 2023
1 parent 3681979 commit 27fd3b7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cypress/e2e/ps8/03_mollie.ps8.PaymentTestsOrdersAPI.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 27fd3b7

Please sign in to comment.