Open Nataliia07Lototska opened 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
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"
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"
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
As an authorized user, I want to be able to Edit profile information so that benefit to change previously set profile data.