Skip to content

Commit

Permalink
Update 04_mollie.ps1785.Subscriptions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonasB88 committed Oct 2, 2023
1 parent 5f13839 commit 11c2341
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cypress/e2e/ps1785/04_mollie.ps1785.Subscriptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ it('C176305 Check if Subscription options added in Product BO', () => {
cy.get('[class="attribute-quantity"]').last().find('[type="text"]').clear().type('999')
cy.get('#submit').click()
cy.get('.growl-message').contains('Settings updated.')
//Check if Subscription options are in Product Page FO and then register the Subscription product by purchasing it
})
it('Check if Subscription options are in Product Page FO and then register the Subscription product by purchasing it', () => {
cy.visit('/de/')
cy.get('[data-id-product="8"]').click()
cy.get('[aria-label="Subscription"]').should('be.visible') //asserting if there is a Subscription dropdown in product page
Expand All @@ -62,8 +63,8 @@ it('C176305 Check if Subscription options added in Product BO', () => {
cy.get('.ps-shown-by-js > .btn').click()
cy.get('[value="paid"]').click()
cy.get('[class="button form__button"]').click()
cy.get('#content-hook_order_confirmation > .card-block').should('be.visible')
//Check if Subscription options are implemented in My Account FO
});
it('Check if Subscription options are implemented in My Account FO', () => {
cy.visit('/en/')
cy.get('[class="account"]').click()
cy.contains('Subscriptions').click()
Expand Down

0 comments on commit 11c2341

Please sign in to comment.