Navigation and overlays
Button
When I click the "Save" button in the "New Account" modal
Then the modal should close
And the Account record page should be visibleAlways state the outcome of the click.
Link
When I click the "View All" link in the "Recent Cases" section
Then the Cases list page should be visibleIcon-only button
Name the purpose and the landmark:
When I click the search icon next to the "Company" field
Then the Company lookup should openDo not write click the magnifying-glass icon when several are present.
Menu and overflow menu
Opening the menu and choosing the item are separate interactions.
When I open the "More Actions" menu for the record [$.testdata.record.name]
And I click "Delete" in that menu
Then the delete confirmation dialog should openTab
When I open the "Related" tab on the Account record
Then the "Contacts" related list should be visible
And the "Related" tab should be selectedAccordion or expandable section
Write the desired expanded state:
When I expand the "Billing Address" section
Then the section should be expanded
And the "Billing Street" field should be visibleBreadcrumb
When I click "Accounts" in the breadcrumb
Then the Accounts list page should be visibleStepper or wizard
Name the current and target steps:
Given the "Customer Details" step is active
When I complete its required fields and click "Next"
Then the "Review" step should become activeModal dialog
Scope every modal interaction to its title.
When I wait until the "Delete Account" confirmation dialog is ready
And I click "Delete" in the "Delete Account" dialog
Then the dialog should close
And the account should no longer appear in the listDrawer or side panel
When I open the "Filters" drawer
And I wait until the "Filters" drawer is ready
And I select "Open" in the "Status" filter and click "Apply"
Then the drawer should close
And every visible result should have status "Open"Popover
When I click the information icon next to "Risk Score"
Then the "Risk Score" popover should be visible
And it should contain the risk explanationTooltip
When I hover over the "Annual Revenue" information icon
Then a tooltip should appear containing "Estimated yearly revenue"Toast
A toast is transient. Read it immediately, then confirm durable state.
Then I should see a success toast containing "Account was created"
And the Account record page should show "Automation Account {timestamp}"Browser tab or window
Name tabs by purpose, not position.
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"Iframe or embedded application
State when the interaction moves inside or outside the frame.
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 iframeShadow-DOM and web-component surfaces
Describe the visible component exactly as the user sees it. TestZeus handles the technical boundary.
When I select "Warm" from the "Rating" picklistNEVER
Do not mention shadow roots, component tags, internal markup, or generated element IDs in customer-authored tests.