cypress testing

This commit is contained in:
David Bomba 2023-03-12 15:57:20 +11:00
parent 9f8c5ad1be
commit e48d521d03

View File

@ -30,10 +30,6 @@ describe('Test Invoices', () => {
cy.contains('Continue').click();
cy.get('#cardholder-name').type('Cypress Test');
// cy.contains('Card number').type('4242424242424242');
// cy.contains('MM / YY').type('1024');
// cy.contains('CVC').type('100');
cy.get("iframe").then($iframe => {
const $body = $iframe.contents().find("body");
@ -49,6 +45,9 @@ describe('Test Invoices', () => {
});
cy.get('#pay-now').click();
cy.url().should('include', '/payments');
});