Loading tests/features/vardoc/02-user-management/02-02-admins-can-create-users-and-assign-role-them.feature +16 −15 Original line number Diff line number Diff line Loading @@ -3,9 +3,11 @@ As a site admin user I want to be able to create new user accounts and assign roles to them So that they will be able to use the site. Background: Given I am a logged in user with the "webmaster" user @javascript @local @development @staging @production Scenario: Check if admins can see all parts and filters in the People administration page Given I am a logged in user with the "webmaster" user When I go to "/admin/people" And I wait Then I should see "People" Loading @@ -20,31 +22,30 @@ So that they will be able to use the site. @javascript @local @development @staging @production Scenario: Check if admins can create a new user account as an authenticated user Given I am a logged in user with the "webmaster" user When I go to "/admin/people/create" And I wait When I fill in "Tester" for "First name" And I fill in "Tester family" for "Last name" And I fill in "tester@vardot.com" for "Email address" And I fill in "Tester" for "Username" When I fill in "tester@vardot.com" for "Email" And I fill in "tester" for "Username" And I fill in "dD.123123ddd" for "Password" And I fill in "dD.123123ddd" for "Confirm password" And I scroll to bottom And I press "Create new account" @javascript @cleanup @local @development @staging @production Scenario: Delete the Tester user Given I am a logged in user with the "webmaster" user Scenario: Delete the tester user When I go to "/admin/people" And I fill in "Tester" for "Name or email contains" And I fill in "tester" for "Name or email contains" And I press "Filter" And I wait Then I should see "Tester" When I click "Edit" in the "Tester" row Then I should see "tester" When I click "Edit" in the "tester" row And I wait And I scroll to bottom And I press "Cancel account" And I wait Then I should see "Are you sure you want to cancel the account Tester?" When I select the radio button "Delete the account and its content." And I press "Cancel account" Then I should see "Are you sure you want to cancel the account tester?" When I select the radio button "Delete the account and its content. This action cannot be undone." And I scroll to bottom And I press "Confirm" And I wait 10s Then I should see "People" No newline at end of file tests/features/vardoc/04-content-structure/04-05-standard-bredcrumbs.feature +9 −7 Original line number Diff line number Diff line Loading @@ -4,8 +4,8 @@ I want to be able to see the back path So that I can see path I followed to locate the current page usually near the top of the page @javascript @local @development @staging @production Scenario: Add the Test Basic page root page to the main menu. Given I am a logged in user with the "webmaster" user Scenario: Add the Test Basic page root page to the main menu Given I am a logged in user with the "Site admin" user When I go to "/node/add/page" And I wait And I fill in "Test Basic page root title" for "Title" Loading @@ -13,15 +13,16 @@ So that I can see path I followed to locate the current page usually near the to And I expand the field "edit-menu" And I wait And I check the box "Provide a menu link" And I select "<Main navigation>" from "Parent item" And I select "<Main navigation>" from "Parent link" And I select "published" from "edit-moderation-state-0-state" And I press the "Save" button And I wait Then I should see "Basic page Test Basic page root title has been created." Then I should see "Test Basic page root title" And I should see "Test Basic page root body" @javascript @local @development @staging @production Scenario: Add the Test Basic page sub 1, then check the breadcrumb. Given I am a logged in user with the "webmaster" user Scenario: Add the Test Basic page sub 1, then check the breadcrumb Given I am a logged in user with the "Site admin" user When I go to "/node/add/page" And I wait And I fill in "Test Basic page sub 1 title" for "Title" Loading @@ -29,7 +30,8 @@ So that I can see path I followed to locate the current page usually near the to And I expand the field "edit-menu" And I wait And I check the box "Provide a menu link" And I select "Test Basic page root title" from "Parent item" And I select "Test Basic page root title" from "Parent link" And I select "published" from "edit-moderation-state-0-state" And I press the "Save" button And wait Then I should see "Basic page Test Basic page sub 1 title has been created." Loading Loading
tests/features/vardoc/02-user-management/02-02-admins-can-create-users-and-assign-role-them.feature +16 −15 Original line number Diff line number Diff line Loading @@ -3,9 +3,11 @@ As a site admin user I want to be able to create new user accounts and assign roles to them So that they will be able to use the site. Background: Given I am a logged in user with the "webmaster" user @javascript @local @development @staging @production Scenario: Check if admins can see all parts and filters in the People administration page Given I am a logged in user with the "webmaster" user When I go to "/admin/people" And I wait Then I should see "People" Loading @@ -20,31 +22,30 @@ So that they will be able to use the site. @javascript @local @development @staging @production Scenario: Check if admins can create a new user account as an authenticated user Given I am a logged in user with the "webmaster" user When I go to "/admin/people/create" And I wait When I fill in "Tester" for "First name" And I fill in "Tester family" for "Last name" And I fill in "tester@vardot.com" for "Email address" And I fill in "Tester" for "Username" When I fill in "tester@vardot.com" for "Email" And I fill in "tester" for "Username" And I fill in "dD.123123ddd" for "Password" And I fill in "dD.123123ddd" for "Confirm password" And I scroll to bottom And I press "Create new account" @javascript @cleanup @local @development @staging @production Scenario: Delete the Tester user Given I am a logged in user with the "webmaster" user Scenario: Delete the tester user When I go to "/admin/people" And I fill in "Tester" for "Name or email contains" And I fill in "tester" for "Name or email contains" And I press "Filter" And I wait Then I should see "Tester" When I click "Edit" in the "Tester" row Then I should see "tester" When I click "Edit" in the "tester" row And I wait And I scroll to bottom And I press "Cancel account" And I wait Then I should see "Are you sure you want to cancel the account Tester?" When I select the radio button "Delete the account and its content." And I press "Cancel account" Then I should see "Are you sure you want to cancel the account tester?" When I select the radio button "Delete the account and its content. This action cannot be undone." And I scroll to bottom And I press "Confirm" And I wait 10s Then I should see "People" No newline at end of file
tests/features/vardoc/04-content-structure/04-05-standard-bredcrumbs.feature +9 −7 Original line number Diff line number Diff line Loading @@ -4,8 +4,8 @@ I want to be able to see the back path So that I can see path I followed to locate the current page usually near the top of the page @javascript @local @development @staging @production Scenario: Add the Test Basic page root page to the main menu. Given I am a logged in user with the "webmaster" user Scenario: Add the Test Basic page root page to the main menu Given I am a logged in user with the "Site admin" user When I go to "/node/add/page" And I wait And I fill in "Test Basic page root title" for "Title" Loading @@ -13,15 +13,16 @@ So that I can see path I followed to locate the current page usually near the to And I expand the field "edit-menu" And I wait And I check the box "Provide a menu link" And I select "<Main navigation>" from "Parent item" And I select "<Main navigation>" from "Parent link" And I select "published" from "edit-moderation-state-0-state" And I press the "Save" button And I wait Then I should see "Basic page Test Basic page root title has been created." Then I should see "Test Basic page root title" And I should see "Test Basic page root body" @javascript @local @development @staging @production Scenario: Add the Test Basic page sub 1, then check the breadcrumb. Given I am a logged in user with the "webmaster" user Scenario: Add the Test Basic page sub 1, then check the breadcrumb Given I am a logged in user with the "Site admin" user When I go to "/node/add/page" And I wait And I fill in "Test Basic page sub 1 title" for "Title" Loading @@ -29,7 +30,8 @@ So that I can see path I followed to locate the current page usually near the to And I expand the field "edit-menu" And I wait And I check the box "Provide a menu link" And I select "Test Basic page root title" from "Parent item" And I select "Test Basic page root title" from "Parent link" And I select "published" from "edit-moderation-state-0-state" And I press the "Save" button And wait Then I should see "Basic page Test Basic page sub 1 title has been created." Loading