- id: button-antd-T01 name: Generate report (primary button click) canonical_type: button implementation_source: antd implementation_variant: null implementation_component: 'AntD: Button' task_template: activate secondary_template: null browsergym_goal: Click the “Generate report” button in the Report card. The task will finish automatically when done. ui_copy: 'Goal: Click the “Generate report” button in the Report card.' setup_description: 'Baseline isolated card in the center of the viewport titled “Report”. The card contains a short paragraph (“Create a one-time report from the current data.”) and a single Ant Design primary Button labeled “Generate report”. The button is enabled, medium size (default), and shows no loading spinner initially. When clicked, the UI immediately shows a small toast message (“Report queued”) and the button label changes to “Queued” (still the same button instance). No other Buttons are present on the page; there are no modals, drawers, or overlays involved. ' scene_context: theme: light spacing: comfortable layout: isolated_card placement: center scale: default instances: 1 guidance: text clutter: none difficulty: difficulty_bucket: easy tier: L0 axes_ratings: precision_requirement: 1 target_acquisition: 1 density_choice_interference: 1 depth_layering: 1 feedback_dynamics: 2 semantic_observability: 1 disambiguation_load: 1 justification: Single large labeled button in an uncluttered card; success is triggered by one click with immediate visible feedback. success_trigger: human_readable: - The “Generate report” button action is invoked exactly once. - The invocation must come from the only Button on the page (the Report card action). canonical_predicate: predicate_type: equals target_state: event: button_clicked button_id: antd-btn-generate-report click_count: 1 tolerance: null require_confirm: false confirm_control: null require_correct_instance: false target_instance_label_or_id: null terminal_condition: task ends when predicate holds negative_cases: - Clicking anywhere else on the page without clicking “Generate report”. - Clicking the button more than once (click_count ≠ 1). - Triggering keyboard focus without activating the button (no click/activation event recorded). expected_interaction_path: Click the “Generate report” button once → observe toast/label change. notes: "Instrumentation: assign data-testid='antd-btn-generate-report' and log click_count for that id." - id: button-antd-T02 name: Show details popover (open overlay) canonical_type: button implementation_source: antd implementation_variant: popover_trigger implementation_component: 'AntD: Button + Popover' task_template: open_overlay secondary_template: null browsergym_goal: Open the details popover by clicking the “Show details” button. The task will finish automatically when done. ui_copy: 'Goal: Open the details popover by clicking “Show details”.' setup_description: 'Baseline isolated card centered on the page titled “Plan summary”. Inside the card there is a single Ant Design default Button labeled “Show details”. The button triggers an AntD Popover on click (not hover). The popover appears directly below the button and contains a short bulleted list (3 items) describing the plan. Initial state: the popover is closed and no overlay is visible. There are no other Buttons on the page and no other overlays that could appear. ' scene_context: theme: light spacing: comfortable layout: isolated_card placement: center scale: default instances: 1 guidance: text clutter: none difficulty: difficulty_bucket: easy tier: L0 axes_ratings: precision_requirement: 1 target_acquisition: 1 density_choice_interference: 1 depth_layering: 2 feedback_dynamics: 2 semantic_observability: 2 disambiguation_load: 1 justification: One labeled trigger button; the only extra step is that the desired state is an opened popover overlay. success_trigger: human_readable: - The details popover is open (visible) and anchored to the “Show details” button. - The open state must be the result of activating the “Show details” button. canonical_predicate: predicate_type: equals target_state: overlay_id: antd-popover-plan-details is_open: true trigger_button_id: antd-btn-show-details tolerance: null require_confirm: false confirm_control: null require_correct_instance: false target_instance_label_or_id: null terminal_condition: task ends when predicate holds negative_cases: - The popover remains closed. - A different overlay (if any) is open instead of the plan details popover. - The button receives focus but is not activated (no open event). expected_interaction_path: Click “Show details” → verify popover opens below the button. notes: Checker can read Popover open state (e.g., data-open='true') for overlay_id='antd-popover-plan-details'. - id: button-antd-T03 name: Unsaved changes dialog (confirm discard) canonical_type: button implementation_source: antd implementation_variant: modal_footer_buttons implementation_component: 'AntD: Modal (open) + Button (footer actions)' task_template: confirm_cancel secondary_template: null browsergym_goal: In the open “Unsaved changes” dialog, click the “Discard changes” button (not Cancel). The task will finish automatically when done. ui_copy: 'Dialog: Unsaved changes. Choose: Cancel or Discard changes.' setup_description: 'The page loads with an Ant Design Modal already open (modal_flow layout). Modal title: “Unsaved changes”. Modal body text explains that leaving now will lose edits. In the footer there are exactly two AntD Buttons: 1) “Cancel” (default button) on the left 2) “Discard changes” (primary + danger styling) on the right Initial state: no selection has been made; the modal is awaiting a choice. Clicking one of the footer buttons immediately closes the modal and shows a small inline status line behind it (“Choice recorded: …”). No other Buttons exist behind the modal. ' scene_context: theme: light spacing: comfortable layout: modal_flow placement: center scale: default instances: 2 guidance: text clutter: none difficulty: difficulty_bucket: easy tier: L0 axes_ratings: precision_requirement: 1 target_acquisition: 2 density_choice_interference: 1 depth_layering: 2 feedback_dynamics: 2 semantic_observability: 2 disambiguation_load: 2 justification: Only two clearly labeled modal buttons; the main challenge is selecting the correct instance (Discard vs Cancel). success_trigger: human_readable: - The modal choice state equals “discard”. - The recorded choice must come from clicking the “Discard changes” button in the modal footer. canonical_predicate: predicate_type: equals target_state: modal_id: antd-modal-unsaved choice: discard tolerance: null require_confirm: false confirm_control: null require_correct_instance: true target_instance_label_or_id: Discard changes terminal_condition: task ends when predicate holds negative_cases: - Clicking “Cancel” instead of “Discard changes”. - Closing the modal via the close (X) icon or clicking the mask (no choice recorded). - Making no selection (modal remains open and choice is unset). expected_interaction_path: Identify the modal footer → click “Discard changes”. notes: 'Instrumentation: expose modal choice state in a test store; tag buttons with data-testid (e.g., antd-btn-discard, antd-btn-cancel).' - id: button-antd-T04 name: Reset filters (form section button) canonical_type: button implementation_source: antd implementation_variant: null implementation_component: 'AntD: Button' task_template: clear_reset secondary_template: null browsergym_goal: In the Filters section, click the “Reset filters” button. The task will finish automatically when done. ui_copy: 'Filters: Use Reset filters to clear selections.' setup_description: 'The page shows a form_section labeled “Filters” with several non-button controls (a text input for “Keyword”, a Select for “Status”, and two Checkboxes). At the bottom of the section there are two Ant Design Buttons placed side-by-side: • “Reset filters” (default button) • “Apply filters” (primary button) Initial state: the form shows pre-filled values (e.g., Status = “Open”, a checkbox checked), indicating that there is something to reset. Clicking “Reset filters” clears the form controls back to their defaults and shows a small inline message under the buttons: “Filters reset”. Clicking “Apply filters” would show a different message (“Filters applied”) but is not the goal. ' scene_context: theme: light spacing: comfortable layout: form_section placement: center scale: default instances: 2 guidance: text clutter: low difficulty: difficulty_bucket: easy tier: L1 axes_ratings: precision_requirement: 1 target_acquisition: 2 density_choice_interference: 1 depth_layering: 1 feedback_dynamics: 2 semantic_observability: 2 disambiguation_load: 2 justification: Two labeled buttons in a simple form; success depends on choosing the correct button among Reset vs Apply. success_trigger: human_readable: - The Filters section reports the reset action as completed. - The completion must be triggered by activating the “Reset filters” button (not Apply). canonical_predicate: predicate_type: equals target_state: event: reset_filters invoked: true source_button_id: antd-btn-reset-filters tolerance: null require_confirm: false confirm_control: null require_correct_instance: true target_instance_label_or_id: Reset filters terminal_condition: task ends when predicate holds negative_cases: - Clicking “Apply filters” instead of “Reset filters”. - Clearing a single input manually without using the reset button (no reset event). - Reset triggered more than once (reset_count ≠ 1), if the page tracks count. expected_interaction_path: Locate the Filters section → click “Reset filters” → observe “Filters reset”. notes: 'Checker: listen for reset_filters event or read a data-state flag (e.g., data-filters-reset=''true'').' - id: button-antd-T05 name: Save settings at bottom (scroll to find) canonical_type: button implementation_source: antd implementation_variant: null implementation_component: 'AntD: Button' task_template: scroll_find secondary_template: null browsergym_goal: Scroll the Settings panel until you find the “Save changes” button, then click it. The task will finish automatically when done. ui_copy: 'Settings panel: scroll to the bottom to Save changes.' setup_description: 'The UI is a settings_panel layout: a tall card with its own internal scroll region (the page itself does not need to scroll). The panel contains multiple setting rows with toggles and helper text; none of these rows contain Buttons. The only Button in the entire panel is an Ant Design primary Button labeled “Save changes” located in a sticky footer area that becomes visible only near the bottom of the panel. Initial state: the panel is scrolled to the top, so the footer and the “Save changes” button are not visible. When “Save changes” is clicked, the button briefly shows a loading spinner for ~500ms and then changes to a disabled “Saved” state. ' scene_context: theme: light spacing: comfortable layout: settings_panel placement: center scale: default instances: 1 guidance: text clutter: medium difficulty: difficulty_bucket: mid tier: L1 axes_ratings: precision_requirement: 2 target_acquisition: 2 density_choice_interference: 1 depth_layering: 1 feedback_dynamics: 3 semantic_observability: 2 disambiguation_load: 2 justification: Requires scrolling within a panel to reveal the only button; feedback includes a short loading state before completion. success_trigger: human_readable: - The “Save changes” action is invoked once from the Settings panel footer button. - After invocation, the button enters the Saved state (e.g., disabled with label “Saved”). canonical_predicate: predicate_type: equals target_state: event: save_settings invoked: true source_button_id: antd-btn-save-changes click_count: 1 tolerance: null require_confirm: false confirm_control: null require_correct_instance: false target_instance_label_or_id: null terminal_condition: task ends when predicate holds negative_cases: - Stopping after scrolling without clicking the button. - Clicking the button multiple times (e.g., during loading) so click_count ≠ 1. - Scrolling the outer page instead of the settings panel scroll region so the button is never revealed. expected_interaction_path: Scroll inside the settings panel → reach footer → click “Save changes” → wait for Saved state. notes: 'Instrumentation: internal scroll container should be focusable; button has data-testid=''antd-btn-save-changes''.' - id: button-antd-T06 name: Match the dashed button style (visual reference) canonical_type: button implementation_source: antd implementation_variant: type_variants implementation_component: 'AntD: Button (type variants)' task_template: match_reference secondary_template: null browsergym_goal: Click the button that matches the Target sample style shown in the card (same look and emphasis). The task will finish automatically when done. ui_copy: 'Target sample: click the matching button below.' setup_description: 'Centered isolated card titled “Button style matcher”. At the top-right of the card there is a small “Target sample” swatch that visually renders an Ant Design dashed button (outlined with a dashed border) with no special color emphasis. Below the sample, four AntD Buttons are displayed in a single row, all enabled and same size: • “Primary” (type=primary) • “Default” (type=default) • “Dashed” (type=dashed) • “Link” (type=link) Initial state: none of the buttons have been clicked; clicking any button records the selection and shows “Selected: