correct method call in step definition

This commit is contained in:
mahula 2023-03-02 09:59:18 +01:00
parent 48cede9222
commit fede39f308

View File

@ -18,7 +18,7 @@ And('the user agrees to the privacy policy', () => {
})
And('the user submits the registration form', () => {
registrationPage.submitRegistrationPage()
registrationPage.submitRegistrationForm()
cy.get(registrationPage.RegistrationThanxHeadline).should('be.visible')
cy.get(registrationPage.RegistrationThanxText).should('be.visible')
})