Commit b40320e8 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3258410: Update Varbase profile from ~8.8.0 to ~9.0.0 on the Vardoc...

Issue #3258410: Update Varbase profile from ~8.8.0 to ~9.0.0 on the Vardoc 4.0.x branch to work with Drupal ~9
parent 9b62e390
Loading
Loading
Loading
Loading
+16 −15
Original line number Diff line number Diff line
@@ -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"
@@ -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
+9 −7
Original line number Diff line number Diff line
@@ -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"
@@ -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"
@@ -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."