rewrite registration scenarion to use the email steps

This commit is contained in:
mahula 2023-03-02 10:00:26 +01:00
parent fede39f308
commit 84b031c967

View File

@ -2,12 +2,12 @@ Feature: User registration
As a user As a user
I want to register to create an account I want to register to create an account
@skip
Scenario: Register successfully Scenario: Register successfully
Given the user navigates to page "/register" Given the user navigates to page "/register"
When the user fills name and email "Regina" "Register" "regina@register.com" When the user fills name and email "Regina" "Register" "regina@register.com"
And the user agrees to the privacy policy And the user agrees to the privacy policy
And the user submits the registration form And the user submits the registration form
Then the user can use a provided activation link Then the user receives an e-mail containing the activation link
And the user can set a password "Aa12345_" When the user opens the activation link in the browser
Then the user can set a password "Aa12345_"
And the user can login with the credentials "regina@register.com" "Aa12345_" And the user can login with the credentials "regina@register.com" "Aa12345_"