Feature: User Management - Standard User Management - Admins can create users and assign a role to them
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
     When I go to "/admin/people"
      And I wait
     Then I should see "People"
      And I should see "Add user"
      And I should see "Name or email contains"
      And I should see "Status"
      And I should see "Role"
      And I should see "Registered date (from)"
      And I should see "Registered date (to)"
      And I should see "Username"
      And I should see "Member for"
      And I should see "Last access"
      And I should see "Operations"

  @javascript @local @development @staging @production
  Scenario: Check if admins can create a new user account as an authenticated user
     When I go to "/admin/people/create"
      And I wait
     When I fill in "tester@vardot.com" for "Email address"
      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 press "Create new account"

  @javascript @cleanup @local @development @staging @production
  Scenario: Delete the Tester user
     When I go to "/admin/people"
      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
      And I wait
      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"
      And I wait 10s
     Then I should see "People"

And fixed Scenario: Add Entity Queue Test Queue and use Test Content type
The order of default visible settings tab had been changed in the Entity Queue module.

@javascript @init @tools @local @development @staging
Scenario: Add Entity Queue Test Queue and use Test Content type
  Given I am a logged in user with the "test_super_admin" user
   When I go to "/admin/structure/entityqueue"
    And I wait
   Then I should see "Add entity queue"
   When I click "Add entity queue"
    And I wait
   Then I should see "Add Entity Queue"
   When I fill in "Test Queue" for "Name"
    And I fill in "test_queue" for "Machine-readable name"
    And I click "Entity settings"
    And I wait
   Then I should see "Content type"
   When I check the box "Test Content"
    And I press "Save"
    And I wait
   Then I should see "The entity queue Test Queue has been added."

Comments

RajabNatshah created an issue. See original summary.

rajab natshah’s picture

Title: Change the Automated Functional Acceptance Testing for [ Feature: User Management - Standard User Management - Admins can create users and assign a role to them ] to work with Drupal 8.7.10 and Drupal 8.8.x » Change Feature: User Management - Standard User Management - Admins can create users and assign a role to them - to work with Drupal 8.7.10 and Drupal 8.8.x

  • RajabNatshah committed 20eae57 on 8.x-7.x
    Issue #3095593: Change Feature: User Management - Standard User...

  • RajabNatshah committed 35bb69f on 8.x-8.x
    Issue #3095593: Change Feature: User Management - Standard User...
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Status: Active » Needs review
Issue tags: +varbase-8.7.3, +varbase-8.8.0
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed

  • RajabNatshah committed a98d3a8 on 8.x-7.x
    Issue #3095593: Fix Entity settings in the Scenario: Add Entity Queue...

  • RajabNatshah committed 4163c36 on 8.x-8.x
    Issue #3095593: Fix Entity settings in the Scenario: Add Entity Queue...

  • RajabNatshah committed 57078af on 8.x-7.x
    Issue #3095593: Fix Entity settings in the Scenario: Add Entity Queue...
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Status: Fixed » Closed (fixed)
rajab natshah’s picture

Issue tags: -varbase-8.8.0