Skip to content

Commit 6352d02

Browse files
kdimopulublacksmith-welder
authored andcommitted
Agent Create
1 parent 207ae21 commit 6352d02

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
Feature: Agent Create
2+
Background:
3+
Given an administrator user is logged in
4+
And the user is on Agents page
5+
And the user clicks on 'Create Agent'
6+
Scenario: Agent type Person is created
7+
When the user clicks on 'Person' in the dropdown menu
8+
And the user fills in 'Primary Part of Name' with 'Person Agent' in the 'Name Forms' form
9+
And the user clicks on 'Save'
10+
Then the 'Agent' created message is displayed
11+
And the user is on the agent_person edit page
12+
Scenario: Agent type Person is not created because required fields are missing
13+
When the user clicks on 'Person' in the dropdown menu
14+
And the user clicks on 'Save'
15+
Then the following error messages are displayed
16+
| Primary Part of Name - Property is required but was missing |
17+
Scenario: Agent type Family is created
18+
When the user clicks on 'Family' in the dropdown menu
19+
And the user fills in 'Family Name' with 'Family Agent' in the 'Name Forms' form
20+
And the user clicks on 'Save'
21+
Then the 'Agent' created message is displayed
22+
And the user is on the agent_family edit page
23+
Scenario: Agent type Family is not created because required fields are missing
24+
When the user clicks on 'Family' in the dropdown menu
25+
And the user clicks on 'Save'
26+
Then the following error messages are displayed
27+
| Family Name - Property is required but was missing |
28+
Scenario: Agent type Corporate Entity is created
29+
When the user clicks on 'Corporate Entity' in the dropdown menu
30+
And the user fills in 'Primary Part of Name' with 'Corporate Agent' in the 'Name Forms' form
31+
And the user clicks on 'Save'
32+
Then the 'Agent' created message is displayed
33+
And the user is on the agent_corporate_entity edit page
34+
Scenario: Agent type Corporate Entity is not created because required fields are missing
35+
When the user clicks on 'Corporate Entity' in the dropdown menu
36+
And the user clicks on 'Save'
37+
Then the following error messages are displayed
38+
| Primary Part of Name - Property is required but was missing |
39+
Scenario: Agent type Software is created
40+
When the user clicks on 'Software' in the dropdown menu
41+
And the user fills in 'Software Name' with 'Software Agent' in the 'Name Forms' form
42+
And the user clicks on 'Save'
43+
Then the 'Agent' created message is displayed
44+
And the user is on the agent_software edit page
45+
Scenario: Agent type Software is not created because required fields are missing
46+
When the user clicks on 'Software' in the dropdown menu
47+
And the user clicks on 'Save'
48+
Then the following error messages are displayed
49+
| Software Name - Property is required but was missing |
50+

0 commit comments

Comments
 (0)