Skip to content

Commit af2cbaf

Browse files
kdimopulublacksmith-welder
authored andcommitted
Location create
1 parent 354f570 commit af2cbaf

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
Feature: Location Create
2+
Background:
3+
Given an administrator user is logged in
4+
Scenario: Simple Location is created
5+
Given the user is on the New Location page
6+
When the user fills in 'Building'
7+
And the user fills in 'Barcode'
8+
And the user clicks on 'Save Location'
9+
Then the 'Location' created message is displayed
10+
Scenario: Simple Location is not created because required field Building is missing
11+
Given the user is on the New Location page
12+
When the user clicks on 'Save Location'
13+
Then the following error message is displayed
14+
| Building - Property is required but was missing |
15+
Scenario: Simple Location is not created because required field Barcode is missing
16+
Given the user is on the New Location page
17+
When the user fills in 'Building'
18+
And the user clicks on 'Save Location'
19+
Then the following error message is displayed
20+
| You must either specify a barcode, a classification, or both a coordinate 1 label and coordinate 1 indicator |
21+
Scenario: Batch Location is created
22+
Given the user is on the New Batch Location page
23+
When the user fills in 'Building'
24+
And the user fills in 'Label' for 'Coordinate Range 1'
25+
And the user fills in 'Range Start' for 'Coordinate Range 1'
26+
And the user fills in 'Range End' for 'Coordinate Range 1'
27+
And the user clicks on 'Create Location'
28+
Then the 'Batch Locations' created message is displayed
29+
Scenario: Batch Location is not created because required fields are missing
30+
Given the user is on the New Batch Location page
31+
When the user clicks on 'Create Locations'
32+
Then the following error messages are displayed
33+
| Building - Property is required but was missing |
34+
| Coordinate Range 1 - Property is required but was missing |
35+
Scenario: Number of Locations is previewed
36+
Given the user is on the New Batch Location page
37+
When the user fills in 'Building'
38+
And the user fills in 'Label' for 'Coordinate Range 1'
39+
And the user fills in 'Range Start' for 'Coordinate Range 1'
40+
And the user fills in 'Range End' for 'Coordinate Range 1'
41+
And the user clicks on 'Preview Locations'
42+
Then the Preview Locations modal with the number of Locations is displayed

0 commit comments

Comments
 (0)