58 lines
2.3 KiB
Gherkin
58 lines
2.3 KiB
Gherkin
Feature: Page Title Management
|
|
As a user navigating the Tímmál application
|
|
I want page titles to update based on the current page
|
|
So that I can identify which page I'm on from the browser tab
|
|
|
|
Background:
|
|
Given the page title system is initialized
|
|
|
|
Scenario: Default page title on application load
|
|
When I first load the application
|
|
Then the page title should be "Tímmál"
|
|
|
|
Scenario: Setting a page name updates the title
|
|
When I navigate to the "Dashboard" page
|
|
Then the page title should be "Dashboard - Tímmál"
|
|
|
|
Scenario: Changing between different pages
|
|
When I navigate to the "Dashboard" page
|
|
Then the page title should be "Dashboard - Tímmál"
|
|
When I navigate to the "Projects" page
|
|
Then the page title should be "Projects - Tímmál"
|
|
When I navigate to the "Reports" page
|
|
Then the page title should be "Reports - Tímmál"
|
|
|
|
Scenario: Clearing page name returns to default
|
|
Given I am on the "Settings" page
|
|
And the page title is "Settings - Tímmál"
|
|
When I clear the page name
|
|
Then the page title should be "Tímmál"
|
|
|
|
Scenario: Page title with special characters
|
|
When I navigate to the "Reports & Analytics" page
|
|
Then the page title should be "Reports & Analytics - Tímmál"
|
|
|
|
Scenario: Page title with unicode characters
|
|
When I navigate to the "Paramètres" page
|
|
Then the page title should be "Paramètres - Tímmál"
|
|
|
|
Scenario: Multiple users share the same page title state
|
|
Given user "Alice" sets the page name to "Dashboard"
|
|
When user "Bob" checks the page title
|
|
Then user "Bob" should see "Dashboard - Tímmál"
|
|
|
|
Scenario Outline: Various page names
|
|
When I navigate to the "<page_name>" page
|
|
Then the page title should be "<expected_title>"
|
|
|
|
Examples:
|
|
| page_name | expected_title |
|
|
| Dashboard | Dashboard - Tímmál |
|
|
| Projects | Projects - Tímmál |
|
|
| Tasks | Tasks - Tímmál |
|
|
| Reports | Reports - Tímmál |
|
|
| Settings | Settings - Tímmál |
|
|
| Profile | Profile - Tímmál |
|
|
| Time Tracking | Time Tracking - Tímmál |
|
|
| User Management | User Management - Tímmál |
|