Multi-tab and history flow
Open help in a new tab, switch tabs, scroll, go back/forward
Hypothetical docs help flow: open a blank-target help link, switch tabs, scroll to an anchor, return via history.
# multi-tab-flow.stk — tabs, scroll, history (hypothetical)
Platform: web
Group: Help Navigation
Scenario: Open help tab, read docs, return to app @smoke @nav
Given I navigate to "$BASE_URL/dashboard"
And I wait for "dashboard"
Then I should see "Dashboard"
When I click on "Open help"
And I switch to tab "Help"
And I wait for see "Documentation"
Then I should see "Documentation"
And I should be on "/help"
When I scroll to "Keyboard shortcuts"
And I click on "Keyboard shortcuts"
And I wait for see "Control+S"
Then I should see containing "Control+S"
When I press "Control+S"
Then I should see "Shortcut captured"
When I switch to tab "0"
And I wait for "dashboard"
Then I should see "Dashboard"
And I should be on "/dashboard"
Scenario: History back and forward after deep link @nav
Given I navigate to "$BASE_URL/dashboard"
When I click on "Reports"
And I wait until be on "/reports"
Then I should be on "/reports"
When I click on "Weekly summary"
And I wait until be on "/reports/weekly"
Then I should see "Weekly summary"
When I go back
And I wait until be on "/reports"
Then I should be on "/reports"
And I should see "Reports"
When I go forward
And I wait until be on "/reports/weekly"
Then I should be on "/reports/weekly"
When I refresh
And I wait for see "Weekly summary"
Then I should see "Weekly summary"
Scenario: Hover menu then open settings @nav
Given I navigate to "$BASE_URL/dashboard"
When I hover on "Profile"
Then I should see "Settings"
And I should see "Sign out"
When I click on "Settings"
And I wait until be on "/settings"
Then I should be on "/settings"
And I should have "Save settings" be visibleCommands used
navigate, click, switch, wait, should, scroll, press, go, refresh, hover