64 lines
1.9 KiB
Gherkin
64 lines
1.9 KiB
Gherkin
Feature: Navigation
|
|
|
|
Background:
|
|
Given I am logged in as "admin@perauset.org"
|
|
|
|
Scenario: Dashboard loads
|
|
Then I should see heading "Dashboard"
|
|
And I should see "Stays"
|
|
|
|
Scenario: Navigate to Boats
|
|
When I click "Boats" in the sidebar
|
|
Then I should see heading "Boat Trips"
|
|
|
|
Scenario: Navigate to Kitchen
|
|
When I click "Kitchen" in the sidebar
|
|
Then I should see heading "Kitchen"
|
|
|
|
Scenario: Navigate to Inventory
|
|
When I click "Inventory" in the sidebar
|
|
Then I should see heading "Inventory"
|
|
|
|
Scenario: Navigate to Finance
|
|
When I click "Finance" in the sidebar
|
|
Then I should see heading "Finance"
|
|
|
|
Scenario: Navigate to Retreats
|
|
When I click "Retreats" in the sidebar
|
|
Then I should see heading "Retreats"
|
|
|
|
Scenario: Navigate to Rooms
|
|
When I click "Rooms" in the sidebar
|
|
Then I should see heading "Rooms"
|
|
|
|
Scenario: Navigate to Boat Management
|
|
When I click "Boat Management" in the sidebar
|
|
Then I should see heading "Fleet Management"
|
|
|
|
Scenario: Navigate to Users
|
|
When I click "Users" in the sidebar
|
|
Then I should see heading "Users & Roles"
|
|
|
|
Scenario: Navigate to Audit Log
|
|
When I click "Audit Log" in the sidebar
|
|
Then I should see heading "Audit Log"
|
|
|
|
Scenario: Navigate to My Stays
|
|
When I click "My Stays" in the sidebar
|
|
Then I should see heading "My Stays"
|
|
|
|
Scenario: Navigate to My Profile
|
|
When I click "My Profile" in the sidebar
|
|
Then I should see heading "My Profile"
|
|
|
|
# The Operations "Stays" and "Tasks" sidebar links share their labels with the
|
|
# personal "My Stays"/"My Tasks" links (i18n: nav.stays == nav.my_stays), so
|
|
# they are exercised via direct URL navigation instead of the ambiguous sidebar.
|
|
Scenario: Open the Stays operations page
|
|
When I navigate to "/stays"
|
|
Then I should see heading "Stays"
|
|
|
|
Scenario: Open the Tasks operations page
|
|
When I navigate to "/tasks"
|
|
Then I should see heading "Tasks"
|