Commit 2324895e authored by Christian Keuerleber's avatar Christian Keuerleber
Browse files

TASK: test for user profile

parent 2fb0edc2
Pipeline #7916 canceled with stage
Feature:
As a website user
in order to have the correct user data
I need to be able to use my profile
Scenario: My Profile
Given I am logged in as "monitoringUser"
And I am on "/"
And I click on "My Profile"
And I wait for the ".full-width-dropdown__lvl-down" element to be visible
And I click on "My Profile" inside ".full-width-dropdown__lvl-down"
Then I should see "Username: t3o_monitoring"
And I should see "Name: Monitoring user"
And I log myself out
Scenario: Change Password
Given I am logged in as "monitoringUser"
And I am on "/"
And I click on "My Profile"
And I wait for the ".full-width-dropdown__lvl-down" element to be visible
And I click on "Change Password" inside ".full-width-dropdown__lvl-down"
Then I should see "Update your user-profile"
And I should see an "#femanager_field_password" element
And I should see an "#femanager_field_password_repeat" element
And I log myself out
Scenario: Edit profile
Given I am logged in as "monitoringUser"
And I am on "/"
And I click on "My Profile"
And I wait for the ".full-width-dropdown__lvl-down" element to be visible
And I click on "Edit your profile" inside ".full-width-dropdown__lvl-down"
Then I should see "Update your user-profile"
And I should see an "#femanager_field_password" element
And I should see an "#femanager_field_password_repeat" element
And I should see an "#femanager_field_name" element
And I should see an "#femanager_field_email" element
And I should see an "#femanager_field_www" element
And I should see an "#femanager_field_company" element
And I should see an "#femanager_field_address" element
And I should see an "#femanager_field_zip" element
And I should see an "#femanager_field_city" element
And I should see an "#femanager_field_country" element
And I log myself out
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment