Step 1: Creating scenarios that have new steps

Write new scenarios and feature files that contain new steps that extend the base configuration context API.


For step 1, you create the new feature file.

The following text is an example of a new Email_Supervisor_Ext.feature file. It contains several new steps, including "I am the supervisor of "<user>".

Feature: Email functionality

  As a supervisor,
  I want to administer my team's access to email functionality

  Background:
    Given I am a user with the "Underwriting Supervisor" role

  Scenario: Set a user's email address
    Given I am the supervisor of "Alice Applegate"
    When I set the user's email address to "aapplegate@customer.com"
    Then the user's primary email address should be "aapplegate@customer.com"

For more information on creating scenarios, see Writing scenarios