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 02f2b14 commit cde2277
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions cypress/e2e/1_moduleConfig.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ describe('PS1786 Module Configuration', {
})
it('03 Enabling All payments in Module BO', () => {
cy.visit('/admin1/')
cy.get('#subtab-AdminParentModulesSf > :nth-child(1)').click()
cy.get('#subtab-AdminModulesSf > .link').click()
cy.get('.pstaggerAddTagInput').type('saferpay')
cy.get('#module-search-button').click()
cy.get('.btn-group > .btn-primary-reverse').click() //clicking the Congifure
cy.OpeningModuleDashboardURL()
cy.get('#subtab-AdminSaferPayOfficialPayment').click()
//todo update selectors
cy.get('.saferpay-group.all-payments > .col-lg-8 > .form-group > :nth-child(1) > .checkbox > .container-checkbox > .checkmark').click()
Expand All @@ -54,11 +50,7 @@ describe('PS1786 Module Configuration', {
})
it('04 Fields and Logs tabs are shown OK', () => {
cy.visit('/admin1/')
cy.get('#subtab-AdminParentModulesSf > :nth-child(1)').click()
cy.get('#subtab-AdminModulesSf > .link').click()
cy.get('.pstaggerAddTagInput').type('saferpay')
cy.get('#module-search-button').click()
cy.get('.btn-group > .btn-primary-reverse').click() //clicking the Congifure
cy.OpeningModuleDashboardURL()
cy.get('#subtab-AdminSaferPayOfficialFields').click()
cy.get('[id="configuration_form"]').should('be.visible')
cy.get('.field-container > :nth-child(1) > img').click()
Expand Down

0 comments on commit cde2277

Please sign in to comment.