Skip to content

Commit

Permalink
Location view
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu committed Mar 4, 2025
1 parent 3506790 commit a4161f9
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions staff_features/locations/location_view.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Feature: Location View
Background:
Given an administrator user is logged in
Scenario: Search Location by building
Given a Location has been created
When the user clicks on 'Browse'
And the user clicks on 'Locations'
And the user filters by text with the Location building
Then the Location is in the search results
Scenario: View Location from the search results
Given a Location has been created
When the user clicks on 'Browse'
And the user clicks on 'Locations'
And the user filters by text with the Location building
And the user clicks on 'View'
Then the Location view page is displayed
Scenario: Sort Location by description
Given two Locations have been created with a common keyword in their building
And the two Locations are displayed sorted by ascending description
When the user clicks on 'Location'
Then the two Locations are displayed sorted by descending description
Scenario: Sort Locations by building
Given two Locations have been created with a common keyword in their building
And the two Locations are displayed sorted by ascending description
When the user clicks on 'Building'
Then the two Locations are displayed sorted by ascending building
Scenario: Sort Locations by floor
Given two Locations have been created with a common keyword in their building
And the two Locations are displayed sorted by ascending description
When the user clicks on 'Floor'
Then the two Locations are displayed sorted by ascending floor
Scenario: Sort Locations by room
Given two Locations have been created with a common keyword in their building
And the two Locations are displayed sorted by ascending description
When the user clicks on 'Room'
Then the two Locations are displayed sorted by ascending room
Scenario: Sort Locations by area
Given two Locations have been created with a common keyword in their building
And the two Locations are displayed sorted by ascending description
When the user clicks on 'Area'
Then the two Locations are displayed sorted by ascending area

0 comments on commit a4161f9

Please sign in to comment.