for more coherent reading of scenario's storyline change completely to the user as the actor

This commit is contained in:
mahula 2023-02-03 14:51:26 +01:00
parent d3f8c22fdb
commit a8a107628d
5 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ Feature: User Authentication - reset password
# | bibi@bloxberg.de | Aa12345_ | Bibi Bloxberg |
Scenario: Reset password from signin page successfully
Given the browser navigates to page "/login"
Given the user navigates to page "/login"
And the user navigates to the forgot password page
When the user enters the e-mail address "bibi@bloxberg.de"
And the user submits the e-mail form

View File

@ -11,7 +11,7 @@ Feature: User authentication
# | bibi@bloxberg.de | Aa12345_ | Bibi Bloxberg |
Scenario: Log in successfully
Given the browser navigates to page "/login"
Given the user navigates to page "/login"
When the user submits the credentials "bibi@bloxberg.de" "Aa12345_"
Then the user is logged in with username "Bibi Bloxberg"

View File

@ -4,7 +4,7 @@ Feature: User registration
@skip
Scenario: Register successfully
Given the browser navigates to page "/register"
Given the user navigates to page "/register"
When the user fills name and email "Regina" "Register" "regina@register.com"
And the user agrees to the privacy policy
And the user submits the registration form

View File

@ -12,7 +12,7 @@ Feature: User profile - change password
Given the user is logged in as "bibi@bloxberg.de" "Aa12345_"
Scenario: Change password successfully
Given the browser navigates to page "/profile"
Given the user navigates to page "/profile"
And the user opens the change password menu
When the user fills the password form with:
| Old password | Aa12345_ |

View File

@ -3,7 +3,7 @@ import { OverviewPage } from "../../e2e/models/OverviewPage";
import { SideNavMenu } from "../../e2e/models/SideNavMenu";
import { Toasts } from "../../e2e/models/Toasts";
Given("the browser navigates to page {string}", (page: string) => {
Given("the user navigates to page {string}", (page: string) => {
cy.visit(page);
});