Created
April 15, 2019 02:55
-
-
Save bcarun/6426215a827ad9b9c5664843eb53c3ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Create Employee | |
Scenario: WITH ALL REQUIRED FIELDS IS SUCCESSFUL | |
-------------------------------------------------------------------------------- | |
IMPORTANT NOTE - Field name in Employee.java is used as DataTable column header. | |
-------------------------------------------------------------------------------- | |
Given user wants to create an employee with the following attributes | |
| id | firstName | lastName | dateOfBirth | startDate | employmentType | email | | |
| 100 | Rachel | Green | 1990-01-01 | 2018-01-01 | Permanent | [email protected] | | |
And with the following phone numbers | |
| id | type | isdCode | phoneNumber | extension | | |
| 102 | Mobile | +1 | 2141112222 | | | |
| 103 | Office | +1 | 8362223000 | 333 | | |
When user saves the new employee 'WITH ALL REQUIRED FIELDS' | |
Then the save 'IS SUCCESSFUL' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment