Nataliia07Lototska / practical_testing_2022

0 stars 0 forks source link

Change profile information #1

Open Nataliia07Lototska opened 1 year ago

Nataliia07Lototska commented 1 year ago

As an authorized user, I want to be able to Edit profile information so that benefit to change previously set profile data.

Nataliia07Lototska commented 1 year ago

Scenario 1: Successful data change Given: The Edit profile dialogue appears When: Enter Username 6–30 characters long and any combination of letters, numbers, or symbols And: Enter First name 6–30 characters long and any combination of letters, numbers, or symbols And: Enter a valid Email format address And: Click the Save button Then: Data is saved in the Edit profile And: The dialogue disappears

Nataliia07Lototska commented 1 year ago

Scenario 2. Input invalid email format Given: The Edit profile dialogue appears When: Enter invalid Email format And: Click the Save button Then: Data isn't changed in the Edit profile And: The dialogue Edit profile is opened And: Dialogue with a warning in red appears with the following text "Email address seems invalid"

Nataliia07Lototska commented 1 year ago

Scenario 3. Leave the required field empty Given: The Edit profile dialogue appears When: Clear Username And: Click the Save button Then: Data isn't changed in the Edit profile And: The dialogue Edit profile is opened And: Dialogue with a warning in red appears with the following text "Please fill in the required field"

Nataliia07Lototska commented 1 year ago

Scenario 4. Input already registered email Given: The Edit profile dialogue appears When: Clear Email And: Enter already registered Email And: Click the Save button Then: Dialogue with a warning Error in red appears with the following text "User with this email already exists" appears And: Data isn't changed in the Edit profile