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