Cases 34–47 · Actions, navigation, and overlays
Case 34 — Click a button
Name the button, its scope, and resulting state.
When I click the "Save" button in the "New Account" modal
Then the modal should close
And the Account record page should be visibleCase 35 — Click a link
When I click the "View All" link in the "Recent Cases" section
Then the Cases list page should be visibleCase 36 — Use an icon-only control
Name purpose and location.
When I click the search icon next to the "Company" field
Then the Company lookup should openCase 37 — Open an overflow menu and choose an action
Opening the menu does not complete the choice.
When I open the "More Actions" menu in the row for [$.testdata.account.name]
And I click "Edit" in that menu
Then the "Edit Account" form should openCase 38 — Select a tab
When I open the "Related" tab on the Account record
Then the "Related" tab should be selected
And the "Contacts" related list should be visibleCase 39 — Expand an accordion
When I expand the "Billing Address" section
Then the section should be expanded
And the "Billing Street" field should be visibleCase 40 — Advance a wizard or stepper
Given the "Customer Details" step is active
When I complete every required field in that step
And I click "Next"
Then the "Review" step should become activeDo not click Next without asserting the target step.
Case 41 — Confirm a modal dialog
Then the "Delete Account" confirmation dialog should be visible
And it should name [$.testdata.account.name]
When I click "Delete" in the "Delete Account" dialog
Then the dialog should close
And the account should no longer appear in the listCase 42 — Use a drawer or side panel
When I open the "Filters" drawer
And I wait until the "Filters" drawer is ready
And I select "Open" from the "Status" picklist in the drawer
And I click "Apply"
Then the drawer should close
And every visible result should have status "Open"Case 43 — Read a popover
When I click the information icon next to "Risk Score"
Then the "Risk Score" popover should appear
And it should contain the risk explanationCase 44 — Read a tooltip
When I hover over the information icon next to "Annual Revenue"
Then a tooltip should appear containing "Estimated yearly revenue"Case 45 — Handle a success toast
Read the transient message, then confirm a durable state.
Then I should see a success toast containing "Account was created"
And the Account record page should show "Automation Account {timestamp}"Case 46 — Switch to a new browser tab
Name tabs by purpose.
When I click the lookup icon next to the "Company" field
And I wait until a Company lookup tab opens
And I switch to the Company lookup tab
And I select "ACME"
Then I should return to the original form
And the "Company" field should show "ACME"Case 47 — Interact inside an iframe
When I wait until the "Invoice Console" iframe is loaded
And I click "New Invoice" inside the iframe
Then the "New Invoice" form should be visible inside the iframeState explicitly when returning to the outer page.