File size: 85,291 Bytes
360df42 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 | - id: dialog_modal-antd-T01
name: Open a basic modal dialog
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: null
implementation_component: 'AntD: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "Newsletter settings" dialog. The task will finish automatically when done.
ui_copy: 'Goal: Open the "Newsletter settings" dialog.'
setup_description: |
Layout: isolated_card centered in the viewport. The page shows a single card titled "Dialogs".
Inside the card there is a short paragraph and one primary button labeled "Newsletter settings".
Clicking "Newsletter settings" opens an Ant Design Modal with:
- Title: "Newsletter settings"
- Body: a short static description (no form fields)
- Footer: two buttons: "Cancel" (secondary) and "OK" (primary)
- Standard close icon (×) in the top-right of the modal header
- Default behavior: clicking the mask/outside closes the modal only if implemented by default settings for this task page (do not rely on it for success)
Initial state: the modal is closed. No other modals exist on the page. No distractors.
Feedback: when the modal opens, focus is trapped inside the modal and the background is dimmed by a mask.
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: 1
semantic_observability: 1
disambiguation_load: 1
justification: Single modal instance with one clearly labeled trigger; success is simply the modal becoming visible.
success_trigger:
human_readable:
- The AntD Modal instance labeled 'Newsletter settings' is open/visible.
- The checker must confirm the correct modal instance (by data-testid or title) is the one that is open.
canonical_predicate:
predicate_type: equals
target_state:
open: true
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Newsletter settings
terminal_condition: task ends when predicate holds
negative_cases:
- Any other overlay/popover is open but the 'Newsletter settings' modal is still closed.
- A different modal instance is open (not applicable here, but guard against mis-binding).
- The modal briefly opens and immediately closes (open must be stable for the checker sample).
expected_interaction_path:
- Click the 'Newsletter settings' button.
- Wait for the modal to appear (title and footer visible).
notes: 'Instrumentation: add data-testid=''modal-newsletter-settings'' to the Modal root; expose canonical state {open:boolean}.'
- id: dialog_modal-antd-T02
name: Cancel and close an open modal
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: default_footer
implementation_component: 'AntD: Modal'
task_template: confirm_cancel
secondary_template: null
browsergym_goal: Close the "Delete draft" dialog by clicking "Cancel". The task will finish automatically when done.
ui_copy: 'A modal titled "Delete draft" is open. Buttons: Cancel, OK.'
setup_description: |
Layout: isolated_card centered. The page loads with an Ant Design Modal already open.
Modal configuration:
- Title: "Delete draft"
- Body: static warning text (no inputs)
- Footer: "Cancel" and "OK"
- Close icon (×) is present in the header.
- Mask is present (clicking outside may close depending on default behavior), and Escape may close depending on default behavior.
Initial state: the modal is open and focused. Background content is inert. There is a single underlying card but it is not relevant.
Feedback: after closing, a small non-interactive status line below the card updates to "Last action: canceled" (for debugging only).
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: 1
disambiguation_load: 1
justification: The dialog is already open and the 'Cancel' button is clearly labeled in the footer.
success_trigger:
human_readable:
- The 'Delete draft' modal is closed.
- The modal's recorded close_reason equals 'cancel' (footer Cancel button).
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: cancel
tolerance: null
require_confirm: true
confirm_control: Cancel
require_correct_instance: true
target_instance_label_or_id: Delete draft
terminal_condition: task ends when predicate holds
negative_cases:
- The modal closes via the close icon (×) instead of the Cancel button.
- The modal closes via clicking the mask/outside instead of Cancel.
- The modal closes via the Escape key instead of Cancel.
- The modal remains open.
- A different modal instance is closed (not applicable here, but guard against mis-binding).
expected_interaction_path:
- Locate the footer buttons.
- Click 'Cancel'.
- Ensure the modal disappears.
notes: 'Checker note: track close_reason from onCancel handler vs other close paths.'
- id: dialog_modal-antd-T03
name: Close modal using the header X
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: closable_header
implementation_component: 'AntD: Modal'
task_template: activate
secondary_template: null
browsergym_goal: Close the "Help" dialog using the close (×) icon. The task will finish automatically when done.
ui_copy: A modal titled "Help" is open. Close it with the × icon.
setup_description: |
Layout: isolated_card centered. The page loads with one Ant Design Modal open.
Modal configuration:
- Title: "Help"
- Body: short help text and a link-styled line (non-interactive in this benchmark)
- Footer: hidden (no OK/Cancel buttons) so the primary close affordance is the header close icon (×).
- The close icon (×) is visible in the top-right corner of the modal header.
- Mask and Escape are enabled but should not be used for this task (they count as wrong close reason).
Initial state: modal is open; background is dimmed.
Feedback: after closing, a small status text below the card updates to "Last close: header-x".
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: 2
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 2
disambiguation_load: 1
justification: Only one modal is present; the close icon is visible and is the intended primary affordance.
success_trigger:
human_readable:
- The 'Help' modal is closed.
- The modal's recorded close_reason equals 'close_icon'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: close_icon
tolerance: null
require_confirm: true
confirm_control: Header close (×)
require_correct_instance: true
target_instance_label_or_id: Help
terminal_condition: task ends when predicate holds
negative_cases:
- The modal closes via mask/outside click instead of the header close icon.
- The modal closes via Escape key instead of the header close icon.
- The modal closes via any footer button (none should exist).
- The modal remains open.
expected_interaction_path:
- Move to the top-right of the modal header.
- Click the × close icon.
- Verify the modal disappears.
notes: 'Instrumentation: expose close_reason values: cancel, ok, close_icon, mask_click, escape_key.'
- id: dialog_modal-antd-T04
name: Dismiss modal by clicking outside on the mask
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: mask_closable_true
implementation_component: 'AntD: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Dismiss the "Quick preview" dialog by clicking outside it (on the dimmed background). The task will finish
automatically when done.
ui_copy: 'A "Quick preview" modal is open. Tip: you can close it by clicking outside.'
setup_description: |
Layout: isolated_card centered. One Ant Design Modal is open on page load.
Modal configuration:
- Title: "Quick preview"
- Body: a short preview paragraph
- Footer: no buttons (footer hidden)
- Header close icon (×) is hidden (closable=false) to ensure the intended dismissal is mask click.
- maskClosable=true (clicking the mask / dimmed background closes the modal)
- keyboard=true (Escape could also close, but should NOT count as success for this task)
Initial state: modal is open; background is dimmed by the mask.
Feedback: after closing, a debug status text updates to "Last close: mask".
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: easy
tier: L1
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: The modal is already open and the mask is a large target, but the agent must click outside the dialog rather
than pressing Escape.
success_trigger:
human_readable:
- The 'Quick preview' modal is closed.
- The modal's recorded close_reason equals 'mask_click'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: mask_click
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Quick preview
terminal_condition: task ends when predicate holds
negative_cases:
- The modal closes via Escape key instead of mask click.
- The modal closes via any close icon (should not exist).
- The modal remains open.
expected_interaction_path:
- Click on the dimmed area outside the modal content (the mask).
- Confirm the modal disappears.
notes: AntD supports maskClosable to close on outside click. Use a distinct close_reason for mask dismissal.
- id: dialog_modal-antd-T05
name: Open the correct dialog when two are available
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: two_instances
implementation_component: 'AntD: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "Security settings" dialog (the one marked with the orange "Secondary" badge). The task will finish
automatically when done.
ui_copy: In "Account settings", open the "Security settings" dialog (orange Secondary badge).
setup_description: |
Layout: form_section centered in the viewport. The page shows a realistic "Account settings" form with several read-only fields (Name, Email, Time zone).
In the form header there are two adjacent buttons that can open dialogs:
1) "Profile details" with a small blue badge labeled "Primary"
2) "Security settings" with a small orange badge labeled "Secondary"
Each button opens its own Ant Design Modal instance:
- "Profile details" modal title: "Profile details"
- "Security settings" modal title: "Security settings"
Both modals use default footer buttons ("Cancel", "OK") and a header close icon (×).
Initial state: both modals are closed. Only one modal can be open at a time.
Distractors: the form contains several non-modal controls (read-only inputs and help text), but they are not required for success.
Feedback: when a modal opens, the title appears at the top of the overlay.
scene_context:
theme: light
spacing: comfortable
layout: form_section
placement: center
scale: default
instances: 2
guidance: mixed
clutter: low
difficulty:
difficulty_bucket: mid
tier: L1
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 2
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 1
disambiguation_load: 3
justification: Two similar dialog triggers appear in the same header; the agent must choose the correct labeled instance
(using both text and the badge cue).
success_trigger:
human_readable:
- The modal instance titled 'Security settings' is open/visible.
- The 'Profile details' modal must remain closed.
canonical_predicate:
predicate_type: equals
target_state:
open: true
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Security settings
terminal_condition: task ends when predicate holds
negative_cases:
- The 'Profile details' modal is opened instead of 'Security settings'.
- Both modals are closed.
- The correct modal opens and then is immediately closed before the checker samples the open state.
expected_interaction_path:
- Locate the two dialog buttons in the form header.
- Click 'Security settings' (orange 'Secondary' badge).
- Verify the modal titled 'Security settings' appears.
notes: 'Checker: disambiguate instances by title or data-testid (e.g., modal-security-settings).'
- id: dialog_modal-antd-T06
name: Close a non-dismissible modal by clicking OK
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: non_dismissible_requires_ok
implementation_component: 'AntD: Modal'
task_template: confirm_cancel
secondary_template: null
browsergym_goal: Close the "Session timeout" dialog by clicking "OK". The task will finish automatically when done.
ui_copy: A "Session timeout" modal is open. Click OK to close it.
setup_description: |
Layout: isolated_card centered, but the page uses COMPACT spacing (reduced padding and smaller gaps).
One Ant Design Modal is open on load.
Modal configuration:
- Title: "Session timeout"
- Body: static message: "Your session is about to expire."
- Footer: "OK" (primary) and "Cancel" (secondary) buttons
- maskClosable=false (clicking outside does NOT close)
- keyboard=false (Escape does NOT close)
- Header close icon (×) is hidden (closable=false) to force footer interaction.
Initial state: modal is open.
Feedback: when "OK" is clicked, the OK button shows a brief loading spinner for ~300ms before the modal closes.
scene_context:
theme: light
spacing: compact
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: mid
tier: L1
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 2
depth_layering: 2
feedback_dynamics: 3
semantic_observability: 2
disambiguation_load: 1
justification: Outside click and Escape are disabled and the header close icon is removed, so the agent must use the correct
footer button and wait for the close animation after a short loading state.
success_trigger:
human_readable:
- The 'Session timeout' modal is closed.
- The modal's recorded close_reason equals 'ok'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: ok
tolerance: null
require_confirm: true
confirm_control: OK
require_correct_instance: true
target_instance_label_or_id: Session timeout
terminal_condition: task ends when predicate holds
negative_cases:
- The modal is closed via Cancel (close_reason='cancel').
- The modal is closed via mask click or Escape (should be impossible, but must not count).
- The modal remains open because the agent clicked the message body or mask.
expected_interaction_path:
- Locate the footer action buttons.
- Click 'OK'.
- Wait for the spinner/transition and confirm the modal disappears.
notes: AntD Modal supports disabling mask click and Escape via maskClosable/keyboard; ensure instrumentation records ok
vs cancel.
- id: dialog_modal-antd-T07
name: Scroll a long modal to find the close control
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: long_content_footer_in_body
implementation_component: 'AntD: Modal'
task_template: scroll_find
secondary_template: null
browsergym_goal: In the "Release notes" dialog, scroll to the bottom and click "Close preview". The task will finish automatically
when done.
ui_copy: 'Release notes dialog: scroll to the bottom and click "Close preview".'
setup_description: |
Layout: isolated_card, but the modal is positioned near the BOTTOM-RIGHT of the viewport (custom style top/left offsets).
The page loads with an Ant Design Modal open.
Modal configuration:
- Title: "Release notes"
- Body: a long, scrollable block of text (~3 screens tall). The modal body scrolls; the page behind does not.
- Footer: hidden (footer=null).
- At the very end of the scrollable body content there is a single primary button labeled "Close preview".
- Header close icon (×) is present but should NOT be used (it produces a different close_reason).
Initial state: modal open; scroll position is at the top of the release notes.
Feedback: after clicking "Close preview", the modal closes and a debug status line shows "Last close: close-preview".
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: bottom_right
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: mid
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: The required button is out of view inside a scrollable modal body, so the agent must scroll within the
dialog (not the page) and then click the correct close control.
success_trigger:
human_readable:
- The 'Release notes' modal is closed.
- The modal's recorded close_reason equals 'close_preview_button'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: close_preview_button
tolerance: null
require_confirm: true
confirm_control: Close preview
require_correct_instance: true
target_instance_label_or_id: Release notes
terminal_condition: task ends when predicate holds
negative_cases:
- Closing via the header close icon (×) instead of 'Close preview'.
- Closing via mask click or Escape instead of 'Close preview'.
- Scrolling the underlying page instead of the modal body (button never reached).
- Modal remains open because the button was not reached/clicked.
expected_interaction_path:
- Ensure focus is in the modal.
- Scroll the modal body down until the 'Close preview' button appears.
- Click 'Close preview' to close the modal.
notes: 'Checker: ensure scroll container is the modal body; record close_reason=''close_preview_button'' from that specific
button.'
- id: dialog_modal-antd-T08
name: Close only the top modal in a stacked pair
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: stacked_nested
implementation_component: 'AntD: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "Advanced options" dialog, then close only "Advanced options" using the close (×) icon so that
"Settings" stays open. The task will finish automatically when done.
ui_copy: Settings is open. Open Advanced options, then close only Advanced options with × (keep Settings open).
setup_description: |
Layout: isolated_card centered, DARK theme.
The page loads with an Ant Design Modal already open:
- Outer modal title: "Settings"
- Outer body contains static text and a primary button labeled "Advanced options…"
- Outer modal is not closable by mask click (maskClosable=false) to prevent accidental closure.
Clicking "Advanced options…" opens a SECOND Ant Design Modal (inner/topmost):
- Inner modal title: "Advanced options"
- Inner modal has a header close icon (×) in the top-right.
- Inner modal footer is hidden (no buttons), to focus the task on the close icon.
Initial state: only the "Settings" modal is open. The "Advanced options" modal is closed.
During the task, two modals can be present simultaneously (stacked).
Feedback: a small debug line under the page indicates which modals are currently open (for developers), but agents should rely on the visible titles.
scene_context:
theme: dark
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 2
guidance: text
clutter: none
difficulty:
difficulty_bucket: hard
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 1
depth_layering: 4
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 4
justification: The agent must manage a two-layer modal stack and interact with the correct (top) instance while ensuring
the underlying modal remains open.
success_trigger:
human_readable:
- The inner modal titled 'Advanced options' is closed with close_reason='close_icon'.
- The outer modal titled 'Settings' remains open/visible.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: close_icon
related_instances:
Settings:
open: true
tolerance: null
require_confirm: true
confirm_control: Header close (×)
require_correct_instance: true
target_instance_label_or_id: Advanced options
terminal_condition: task ends when predicate holds
negative_cases:
- Closing the outer 'Settings' modal (even if 'Advanced options' is also closed).
- Closing both modals.
- Leaving 'Advanced options' open.
- Closing 'Advanced options' via Escape/mask click instead of the close icon (if those paths are enabled).
expected_interaction_path:
- In the 'Settings' modal, click 'Advanced options…' to open the inner modal.
- In the 'Advanced options' modal header, click the × close icon.
- Verify 'Settings' is still visible and 'Advanced options' is gone.
notes: Checker should identify each modal instance by title or data-testid and track open state for both; enforce outer
remains open.
- id: dialog_modal-antd-T09
name: Drag a draggable modal to a target corner
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: draggable_modal
implementation_component: 'AntD: Modal (modalRender + react-draggable)'
task_template: drag_operation
secondary_template: null
browsergym_goal: Drag the "Notes" dialog so it sits near the top-right corner of the page. The task will finish automatically
when done.
ui_copy: 'Draggable dialog: Move the "Notes" dialog near the top-right corner.'
setup_description: |
Layout: isolated_card centered. The page loads with a draggable Ant Design Modal open.
Modal configuration:
- Title: "Notes"
- Body: short static text; no form fields
- Footer: hidden
- The modal is DRAGGABLE by its header area (title bar). The rest of the page is not draggable.
- A subtle handle hint text "Drag by the header" is shown under the title (non-interactive).
Initial state: modal is open and centered.
Feedback: while dragging, the modal follows the pointer; on drop, it stays at the new position.
Target: the modal should end up in the top-right region of the viewport (with a small margin from the edges).
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: hard
tier: L3
axes_ratings:
precision_requirement: 3
target_acquisition: 3
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 3
semantic_observability: 3
disambiguation_load: 1
justification: Dragging requires continuous control and the final position must fall within a target region that may not
be represented explicitly in the accessibility tree.
success_trigger:
human_readable:
- The 'Notes' modal remains open.
- The modal's bounding box top-right corner is within tolerance of the viewport's top-right target region (predefined
margin).
canonical_predicate:
predicate_type: within_tolerance
target_state:
open: true
position:
reference_frame: viewport
modal_point: top_right
target_anchor: top_right
target_margin_px:
x: 24
y: 24
tolerance:
x_px: 40
y_px: 40
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Notes
terminal_condition: task ends when predicate holds
negative_cases:
- Dragging the modal but releasing it outside the target region (beyond tolerance).
- Dragging by the body/content fails to move the modal (wrong grab area).
- Closing the modal while attempting to drag.
- Moving a different overlay (if any) instead of the 'Notes' modal.
expected_interaction_path:
- Click and hold the modal header/title area.
- Drag toward the top-right corner of the viewport.
- Release to drop the modal in place.
notes: AntD has an official draggable-modal demo using modalRender; instrument modal bounding box and store last drag position
for checking.
- id: dialog_modal-antd-T10
name: Open the dialog that matches a visual reference
canonical_type: dialog_modal
implementation_source: antd
implementation_variant: multi_instance_visual_match
implementation_component: 'AntD: Modal'
task_template: match_reference
secondary_template: null
browsergym_goal: Open the dialog that matches the reference header color swatch (purple). The task will finish automatically
when done.
ui_copy: 'Reference: purple header. Open the matching dialog.'
setup_description: "Layout: dashboard with a simple two-column grid (cards for \"Billing\", \"Analytics\", and \"Support\"\
). \nThe dialog triggers live inside these cards, creating realistic clutter.\n\nAt the top of the dashboard there is\
\ a small non-interactive \"Reference swatch\" row showing:\n- Label: \"Target dialog header color\"\n- A solid PURPLE\
\ swatch\n\nThere are three Ant Design Modal instances on the page, each opened by a different button:\n1) Card \"Billing\"\
: button \"Open invoice dialog\" → Modal title \"Invoices\" with a GREEN-tinted header strip\n2) Card \"Analytics\": button\
\ \"Open audit dialog\" → Modal title \"Audit log\" with a PURPLE-tinted header strip\n3) Card \"Support\": button \"\
Open tips dialog\" → Modal title \"Usage tips\" with a BLUE-tinted header strip\n\nOnly one modal can be open at a time.\
\ Each modal has default footer buttons and a close icon.\n\nInitial state: all modals are closed.\nGuidance: primarily\
\ visual (match the purple header strip shown in the reference swatch).\nFeedback: when a modal opens, its header strip\
\ color is immediately visible behind the title.\n"
scene_context:
theme: light
spacing: comfortable
layout: dashboard
placement: center
scale: default
instances: 3
guidance: visual
clutter: medium
difficulty:
difficulty_bucket: hard
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 3
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 3
disambiguation_load: 4
justification: Three similar dialog triggers are spread across a cluttered dashboard and the target is specified visually,
increasing disambiguation and observability demands.
success_trigger:
human_readable:
- The modal instance with the PURPLE header strip (title 'Audit log') is open/visible.
- No other modal instance is open.
canonical_predicate:
predicate_type: matches_reference
target_state:
open: true
reference:
type: header_color_swatch
value: purple
tolerance:
color_distance: exact_theme_token
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Audit log
terminal_condition: task ends when predicate holds
negative_cases:
- Opening any other modal ('Invoices' or 'Usage tips').
- Opening the correct modal but immediately switching to another modal before the checker evaluates.
- No modal is open.
expected_interaction_path:
- Look at the reference swatch (purple).
- Find the trigger that opens the dialog with a matching purple header strip.
- Click that trigger and verify the correct modal opens.
notes: 'Checker: implement matches_reference by mapping each modal instance to a canonical header_color token; avoid pixel-perfect
color checks by using theme token IDs.'
- id: dialog_modal-mui-T01
name: Open a basic dialog
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: null
implementation_component: 'MUI: Dialog'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "Invite members" dialog. The task will finish automatically when done.
ui_copy: 'Goal: Open the "Invite members" dialog.'
setup_description: |
Layout: isolated_card centered. The page contains one button labeled "Invite members".
Clicking the button opens a Material UI Dialog with:
- Title: "Invite members"
- Content: short static text (no inputs)
- Actions row: "Cancel" and "Send invite"
- Default behavior: Escape and backdrop click may close the dialog, but they are not required.
Initial state: dialog is closed.
Feedback: when opened, the Dialog backdrop dims the page and focus moves into the dialog.
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: 1
semantic_observability: 1
disambiguation_load: 1
justification: Single clear trigger button opens a single dialog; success only requires the dialog to become visible.
success_trigger:
human_readable:
- The MUI Dialog titled 'Invite members' is open/visible.
canonical_predicate:
predicate_type: equals
target_state:
open: true
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Invite members
terminal_condition: task ends when predicate holds
negative_cases:
- No dialog is open.
- A different dialog instance opens (not applicable here, but guard against mis-binding).
expected_interaction_path:
- Click the 'Invite members' button.
- Wait for the dialog title to appear.
notes: 'Instrumentation: data-testid=''dialog-invite-members'' on Dialog root; canonical state derived from open prop.'
- id: dialog_modal-mui-T02
name: Cancel and close an open dialog
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: default_actions
implementation_component: 'MUI: Dialog'
task_template: confirm_cancel
secondary_template: null
browsergym_goal: Close the "Unsaved changes" dialog by clicking "Cancel". The task will finish automatically when done.
ui_copy: Unsaved changes dialog is open. Click Cancel to close.
setup_description: |
Layout: isolated_card centered. A Material UI Dialog is open on page load.
Dialog configuration:
- Title: "Unsaved changes"
- Content: static text warning that changes will be lost.
- Actions: two buttons at the bottom-right: "Cancel" and "Discard"
- Close icon is NOT shown; intended closure is via actions.
- Backdrop and Escape are enabled but should not count for success (wrong close_reason).
Initial state: dialog open and focused.
Feedback: after closing, a non-interactive status text updates to "Result: canceled".
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: 2
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: Dialog is already open and the required action button is clearly labeled in the actions row.
success_trigger:
human_readable:
- The 'Unsaved changes' dialog is closed.
- The dialog's recorded close_reason equals 'cancel'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: cancel
tolerance: null
require_confirm: true
confirm_control: Cancel
require_correct_instance: true
target_instance_label_or_id: Unsaved changes
terminal_condition: task ends when predicate holds
negative_cases:
- Dialog closes via Escape or backdrop click instead of Cancel.
- Dialog closes via 'Discard' instead of Cancel.
- Dialog remains open.
expected_interaction_path:
- Locate the actions row at the bottom of the dialog.
- Click 'Cancel'.
notes: 'Checker: close_reason should distinguish cancel vs discard vs escape/backdrop.'
- id: dialog_modal-mui-T03
name: Dismiss a dialog with the Escape key
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: escape_to_close
implementation_component: 'MUI: Dialog'
task_template: open_overlay
secondary_template: null
browsergym_goal: Dismiss the "Keyboard shortcuts" dialog by pressing the Escape key. The task will finish automatically
when done.
ui_copy: Keyboard shortcuts dialog is open. Press Esc to close.
setup_description: |
Layout: isolated_card centered. A Material UI Dialog is open on page load.
Dialog configuration:
- Title: "Keyboard shortcuts"
- Content: static list of shortcut hints (non-interactive)
- Actions: none (no footer buttons)
- Backdrop click is disabled for this task page (ignored by onClose), so Escape is the intended close mechanism.
- disableEscapeKeyDown=false (Escape triggers onClose)
Initial state: dialog open; focus is inside the dialog.
Feedback: after closing, a debug label updates to "Closed by: escape".
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: easy
tier: L1
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: The dialog is already open and has no buttons; pressing Escape is the single required action, but it relies
on correct keyboard interaction.
success_trigger:
human_readable:
- The 'Keyboard shortcuts' dialog is closed.
- The dialog's recorded close_reason equals 'escape_key'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: escape_key
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Keyboard shortcuts
terminal_condition: task ends when predicate holds
negative_cases:
- Dialog closes via backdrop click instead of Escape.
- Dialog remains open (Escape not delivered).
- Dialog closes via any button (none should exist).
expected_interaction_path:
- Ensure the dialog is focused.
- Press the Escape key once.
- Verify the dialog disappears.
notes: MUI Dialog supports disableEscapeKeyDown; keep it false here and record close_reason from onClose reason='escapeKeyDown'.
- id: dialog_modal-mui-T04
name: Close a dialog by clicking the backdrop
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: backdrop_click_to_close
implementation_component: 'MUI: Dialog'
task_template: open_overlay
secondary_template: null
browsergym_goal: Close the "Image preview" dialog by clicking outside it on the backdrop. The task will finish automatically
when done.
ui_copy: Image preview dialog is open. Click outside on the backdrop to close.
setup_description: |
Layout: isolated_card, but the Dialog paper is positioned toward the TOP-LEFT of the viewport (custom PaperProps style).
A Material UI Dialog is open on load.
Dialog configuration:
- Title: "Image preview"
- Content: short placeholder text (no images in this benchmark)
- Actions: none
- Escape is disabled for this task (disableEscapeKeyDown=true), so backdrop click is the intended close path.
- Backdrop click triggers onClose with reason 'backdropClick'.
Initial state: dialog open.
Feedback: after closing, a status label updates to "Closed by: backdrop".
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: top_left
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: mid
tier: L1
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: Backdrop dismissal requires clicking in the correct non-dialog area; the dialog is offset from center which
can confuse targeting.
success_trigger:
human_readable:
- The 'Image preview' dialog is closed.
- The dialog's recorded close_reason equals 'backdrop_click'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: backdrop_click
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Image preview
terminal_condition: task ends when predicate holds
negative_cases:
- Dialog closes via Escape (disabled) or by any button (none).
- Clicking inside the dialog content does not count.
- Dialog remains open.
expected_interaction_path:
- Click an empty area of the shaded backdrop outside the dialog paper.
- Verify the dialog disappears.
notes: 'Checker: use MUI Modal onClose reason (''backdropClick'') to set close_reason=''backdrop_click''.'
- id: dialog_modal-mui-T05
name: Open the correct dialog in a settings panel
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: two_instances_settings_panel
implementation_component: 'MUI: Dialog'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "Billing address" dialog. The task will finish automatically when done.
ui_copy: 'Settings panel: open "Billing address" dialog.'
setup_description: |
Layout: settings_panel centered. The page resembles an "Account" settings screen with a left nav column (non-interactive) and a right content panel.
In the "Addresses" section of the right panel there are two rows, each with an "Edit" button:
- Row 1 label: "Shipping address" + button "Edit"
- Row 2 label: "Billing address" + button "Edit"
Each "Edit" button opens a different Material UI Dialog:
- Dialog A title: "Shipping address"
- Dialog B title: "Billing address"
Both dialogs have default action buttons ("Cancel", "Save") and a standard backdrop.
Initial state: no dialogs are open.
Distractors/clutter: several other settings sections are visible (notifications, language), but their controls are disabled in this benchmark.
scene_context:
theme: light
spacing: comfortable
layout: settings_panel
placement: center
scale: default
instances: 2
guidance: text
clutter: low
difficulty:
difficulty_bucket: mid
tier: L1
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 2
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 1
disambiguation_load: 3
justification: Two similar 'Edit' triggers require correct association with the row label, increasing disambiguation in
a realistic settings layout.
success_trigger:
human_readable:
- The dialog titled 'Billing address' is open/visible.
- The 'Shipping address' dialog remains closed.
canonical_predicate:
predicate_type: equals
target_state:
open: true
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Billing address
terminal_condition: task ends when predicate holds
negative_cases:
- Opening the 'Shipping address' dialog instead of 'Billing address'.
- No dialog is open.
- Opening and then closing the correct dialog before success is checked.
expected_interaction_path:
- Find the 'Billing address' row.
- Click its 'Edit' button.
- Confirm the 'Billing address' dialog appears.
notes: 'Instrumentation: set distinct data-testid for each Dialog root; ensure row labels are in the accessibility tree
for disambiguation.'
- id: dialog_modal-mui-T06
name: Close a non-dismissible dialog using the explicit Close button
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: disable_escape_and_backdrop
implementation_component: 'MUI: Dialog'
task_template: confirm_cancel
secondary_template: null
browsergym_goal: Close the "Privacy notice" dialog by clicking "Close". The task will finish automatically when done.
ui_copy: Privacy notice dialog is open. Click Close to dismiss.
setup_description: |
Layout: isolated_card centered, with COMPACT spacing and SMALL scale (reduced font size and tighter buttons).
A Material UI Dialog is open on page load.
Dialog configuration:
- Title: "Privacy notice"
- Content: short paragraph (static)
- Actions: a single button labeled "Close"
- Escape is disabled (disableEscapeKeyDown=true).
- Backdrop clicks are ignored by the onClose handler (reason='backdropClick' does not close).
- No header close icon is shown.
Initial state: dialog open.
Feedback: clicking "Close" immediately closes the dialog and updates a status text to "Dismissed".
scene_context:
theme: light
spacing: compact
layout: isolated_card
placement: center
scale: small
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: mid
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 3
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: The dialog cannot be dismissed by common shortcuts (Escape/backdrop), and compact+small styling makes the
single Close button harder to acquire.
success_trigger:
human_readable:
- The 'Privacy notice' dialog is closed.
- The dialog's recorded close_reason equals 'close_button'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: close_button
tolerance: null
require_confirm: true
confirm_control: Close
require_correct_instance: true
target_instance_label_or_id: Privacy notice
terminal_condition: task ends when predicate holds
negative_cases:
- Dialog closes via Escape (should be disabled).
- Dialog closes via backdrop click (should be ignored).
- Dialog remains open because clicks miss the small Close button.
- Any other dialog instance is closed instead (not applicable here).
expected_interaction_path:
- Locate the actions row (bottom of the dialog).
- Click the 'Close' button.
- Verify the dialog disappears.
notes: MUI Dialog supports disableEscapeKeyDown; backdrop clicks can be filtered using the onClose 'reason' value.
- id: dialog_modal-mui-T07
name: Navigate to a specific step inside a dialog
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: wizard_steps
implementation_component: 'MUI: Dialog'
task_template: navigate_to
secondary_template: null
browsergym_goal: Open the "Onboarding" dialog and go to the "Review" step (do not close the dialog). The task will finish
automatically when done.
ui_copy: 'Onboarding dialog: go to the "Review" step.'
setup_description: |
Layout: form_section centered. The page looks like a simple onboarding card with one button: "Start onboarding".
Clicking "Start onboarding" opens a Material UI Dialog titled "Onboarding".
Inside the dialog:
- The top of the content shows the current step label as a bold heading.
- There are three steps in order: "Details" → "Preferences" → "Review".
- At the bottom of the dialog there are "Back" and "Next" buttons (Back disabled on the first step).
- Closing the dialog is possible via backdrop/Escape, but the task requires keeping it open.
Initial state:
- Dialog is closed.
- If opened, it starts on step "Details".
Feedback:
- After clicking "Next", the step heading updates immediately to the next step label.
scene_context:
theme: light
spacing: comfortable
layout: form_section
placement: center
scale: default
instances: 1
guidance: text
clutter: low
difficulty:
difficulty_bucket: mid
tier: L1
axes_ratings:
precision_requirement: 2
target_acquisition: 2
density_choice_interference: 1
depth_layering: 3
feedback_dynamics: 3
semantic_observability: 1
disambiguation_load: 1
justification: Requires a short sequence of within-dialog actions (opening the dialog and advancing steps) and verifying
the correct internal step state while keeping the dialog open.
success_trigger:
human_readable:
- The 'Onboarding' dialog is open/visible.
- The dialog's internal step state equals 'Review'.
canonical_predicate:
predicate_type: equals
target_state:
open: true
step: Review
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Onboarding
terminal_condition: task ends when predicate holds
negative_cases:
- Closing the dialog after reaching Review (must remain open).
- Stopping on 'Details' or 'Preferences' instead of 'Review'.
- Opening a different dialog instance (not applicable here).
expected_interaction_path:
- Click 'Start onboarding' to open the dialog.
- Click 'Next' until the step heading reads 'Review'.
- Leave the dialog open.
notes: 'Checker: store step in dialog component state (e.g., data-step=''Review'') and expose via data-testid; do not depend
on reading the page status text.'
- id: dialog_modal-mui-T08
name: Scroll a long dialog and accept at the bottom
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: scroll_paper_long_content
implementation_component: 'MUI: Dialog (scroll=''paper'')'
task_template: scroll_find
secondary_template: null
browsergym_goal: In the "Terms of service" dialog, scroll to the bottom and click "I agree". The task will finish automatically
when done.
ui_copy: 'Terms of service dialog: scroll to the bottom and click I agree.'
setup_description: |
Layout: isolated_card centered, DARK theme. A Material UI Dialog is open on page load.
Dialog configuration:
- Title: "Terms of service"
- scroll="paper" so the dialog content area is internally scrollable.
- Content: long terms text (~4 screens) inside the dialog's scrollable content.
- At the very bottom of the content (after the text) there is a single button labeled "I agree".
- No actions row is pinned; the only close/accept control is the bottom "I agree" button.
- Escape/backdrop are enabled but should not count as success (wrong close_reason).
Initial state: dialog open, scrolled to the top.
Feedback: clicking "I agree" closes the dialog and updates a status text to "Accepted".
scene_context:
theme: dark
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: hard
tier: L2
axes_ratings:
precision_requirement: 2
target_acquisition: 2
density_choice_interference: 1
depth_layering: 3
feedback_dynamics: 3
semantic_observability: 2
disambiguation_load: 1
justification: The required control is off-screen inside a scrollable dialog and the dark theme reduces contrast, increasing
the likelihood of scrolling the wrong container or missing the bottom button.
success_trigger:
human_readable:
- The 'Terms of service' dialog is closed.
- The dialog's recorded close_reason equals 'agree_button'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: agree_button
tolerance: null
require_confirm: true
confirm_control: I agree
require_correct_instance: true
target_instance_label_or_id: Terms of service
terminal_condition: task ends when predicate holds
negative_cases:
- Closing via Escape or backdrop click instead of clicking 'I agree'.
- Failing to scroll the dialog content (scrolling the page behind).
- Not reaching the bottom so 'I agree' is never clicked.
- Dialog remains open.
expected_interaction_path:
- Scroll within the dialog content until the bottom is reached.
- Click the 'I agree' button.
- Verify the dialog closes.
notes: MUI Dialog supports scroll='paper' and scroll='body'; keep it 'paper' and ensure checker observes the dialog content
scroll container.
- id: dialog_modal-mui-T09
name: Drag a draggable dialog to a target corner
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: draggable_dialog
implementation_component: 'MUI: Dialog (PaperComponent + react-draggable)'
task_template: drag_operation
secondary_template: null
browsergym_goal: Drag the "Palette" dialog so it sits near the bottom-left corner of the page. The task will finish automatically
when done.
ui_copy: 'Draggable Palette dialog: move it near bottom-left.'
setup_description: |
Layout: isolated_card centered. The page loads with a draggable Material UI Dialog open.
Dialog configuration:
- Title: "Palette"
- Content: static text showing a few color names (non-interactive)
- Actions: none
- The dialog is draggable by the title bar (header). Cursor changes to indicate drag on hover.
Initial state: dialog open and centered.
Feedback: while dragging, the dialog follows pointer movement; on drop, it stays fixed.
Target: place the dialog near the bottom-left corner of the viewport with a small margin from the edges.
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: hard
tier: L3
axes_ratings:
precision_requirement: 3
target_acquisition: 3
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 3
semantic_observability: 3
disambiguation_load: 1
justification: Dragging requires sustained control and the final position must satisfy a geometric constraint that is
not explicitly visible in text.
success_trigger:
human_readable:
- The 'Palette' dialog remains open.
- The dialog's bounding box bottom-left corner is within tolerance of the viewport's bottom-left target region.
canonical_predicate:
predicate_type: within_tolerance
target_state:
open: true
position:
reference_frame: viewport
modal_point: bottom_left
target_anchor: bottom_left
target_margin_px:
x: 24
y: 24
tolerance:
x_px: 40
y_px: 40
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Palette
terminal_condition: task ends when predicate holds
negative_cases:
- Dropping the dialog outside the target region (beyond tolerance).
- Attempting to drag by the body content instead of the header (no movement).
- Closing the dialog accidentally (e.g., via Escape/backdrop).
expected_interaction_path:
- Grab the dialog title bar.
- Drag it toward the bottom-left corner.
- Release to drop within the target region.
notes: Based on common MUI draggable dialog demos that wrap Dialog Paper in react-draggable; checker should compute bounding
box positions.
- id: dialog_modal-mui-T10
name: Open the dialog that matches a reference icon
canonical_type: dialog_modal
implementation_source: mui
implementation_variant: multi_instance_icon_match
implementation_component: 'MUI: Dialog'
task_template: match_reference
secondary_template: null
browsergym_goal: Open the dialog whose title icon matches the reference icon (triangle). The task will finish automatically
when done.
ui_copy: 'Reference icon: triangle. Open the matching dialog.'
setup_description: |
Layout: dashboard with multiple cards and controls (search box, filters, and three action cards). This provides realistic clutter.
At the top of the dashboard there is a non-interactive "Reference icon" indicator:
- Label: "Target dialog icon"
- Icon shown: TRIANGLE
There are three buttons spread across the dashboard, each with a distinct icon:
1) "Open Status" (circle icon) → Dialog title "Status" with a circle icon shown next to the title
2) "Open Alerts" (triangle icon) → Dialog title "Alerts" with a triangle icon next to the title
3) "Open Logs" (square icon) → Dialog title "Logs" with a square icon next to the title
Only one dialog can be open at a time. All dialogs use default MUI Dialog with a backdrop and an actions row containing a single "Close" button.
Initial state: no dialogs open.
Guidance: visual match to the triangle icon (text does not explicitly name the target dialog).
Feedback: the title row inside the dialog displays the icon clearly.
scene_context:
theme: light
spacing: comfortable
layout: dashboard
placement: center
scale: default
instances: 3
guidance: visual
clutter: medium
difficulty:
difficulty_bucket: hard
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 3
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 3
disambiguation_load: 4
justification: The target is specified visually and there are multiple similar dialog triggers dispersed in a cluttered
layout, increasing disambiguation and visual verification demands.
success_trigger:
human_readable:
- The dialog whose title icon matches the TRIANGLE reference is open/visible (title 'Alerts').
canonical_predicate:
predicate_type: matches_reference
target_state:
open: true
reference:
type: title_icon
value: triangle
tolerance:
icon_match: exact
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Alerts
terminal_condition: task ends when predicate holds
negative_cases:
- Opening 'Status' (circle) or 'Logs' (square) dialogs.
- Opening the correct dialog and then switching to another dialog before the checker completes.
- No dialog is open.
expected_interaction_path:
- Look at the reference icon (triangle).
- Find the trigger associated with the triangle icon.
- Open it and verify the dialog title row shows a triangle icon.
notes: 'Checker: implement icon match by using a canonical icon ID (e.g., data-icon=''triangle'') rather than pixel-based
image matching.'
- id: dialog_modal-mantine-T01
name: Open a basic modal
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: null
implementation_component: 'Mantine: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "Create folder" dialog. The task will finish automatically when done.
ui_copy: 'Goal: Open the "Create folder" dialog.'
setup_description: |
Layout: isolated_card centered. The page shows a card titled "Files" with one button: "Create folder".
Clicking "Create folder" opens a Mantine Modal with:
- Title: "Create folder"
- Content: short static description (no inputs)
- Default close button (×) in the header (withCloseButton=true)
- Default overlay/backdrop and focus trapping
Initial state: modal closed.
Feedback: on open, the modal appears centered with an overlay; focus moves into the modal.
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: 1
semantic_observability: 1
disambiguation_load: 1
justification: Single clearly labeled trigger opens one modal; success is simply the modal becoming visible.
success_trigger:
human_readable:
- The Mantine Modal titled 'Create folder' is open/visible.
canonical_predicate:
predicate_type: equals
target_state:
open: true
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Create folder
terminal_condition: task ends when predicate holds
negative_cases:
- No modal is open.
- A different modal instance opens (not applicable here).
expected_interaction_path:
- Click 'Create folder'.
- Wait for the modal to appear.
notes: 'Instrumentation: data-testid=''modal-create-folder'' on Mantine Modal root; open state from ''opened'' prop.'
- id: dialog_modal-mantine-T02
name: Close a modal using the header close button
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: with_close_button
implementation_component: 'Mantine: Modal'
task_template: activate
secondary_template: null
browsergym_goal: Close the "What’s new" dialog using the close (×) button. The task will finish automatically when done.
ui_copy: What’s new dialog is open. Close it with ×.
setup_description: |
Layout: isolated_card centered. A Mantine Modal is open on page load.
Modal configuration:
- Title: "What’s new"
- Content: short changelog text (non-interactive)
- withCloseButton=true so a close (×) button appears in the top-right of the header.
- closeOnClickOutside=true and closeOnEscape=true are enabled but should not count as success.
Initial state: modal open.
Feedback: after closing, a debug label below the card updates to "Closed by: header-close".
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: 2
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 2
disambiguation_load: 1
justification: The modal is already open and the close button is visible in the header; only a single click is required.
success_trigger:
human_readable:
- The 'What’s new' modal is closed.
- The modal's recorded close_reason equals 'close_button'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: close_button
tolerance: null
require_confirm: true
confirm_control: Header close (×)
require_correct_instance: true
target_instance_label_or_id: What’s new
terminal_condition: task ends when predicate holds
negative_cases:
- Closing by clicking outside the modal (overlay click) instead of using the close button.
- Closing by pressing Escape instead of using the close button.
- Modal remains open.
expected_interaction_path:
- Click the × close button in the modal header.
- Verify the modal disappears.
notes: Mantine Modal provides withCloseButton and supports closeOnEscape/closeOnClickOutside; record which path closed it.
- id: dialog_modal-mantine-T03
name: Dismiss modal by clicking on the overlay
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: overlay_click_to_close
implementation_component: 'Mantine: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Dismiss the "Preview" dialog by clicking outside it on the overlay. The task will finish automatically
when done.
ui_copy: Preview dialog is open. Click outside on the overlay to close.
setup_description: |
Layout: isolated_card centered. A Mantine Modal is open on page load.
Modal configuration:
- Title: "Preview"
- Content: short static preview text
- withCloseButton=false (no header close button)
- closeOnEscape=false (Escape does not close)
- closeOnClickOutside=true (overlay click closes)
Initial state: modal open.
Feedback: after closing, a debug line updates to "Closed by: overlay".
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: easy
tier: L1
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: Overlay click is a large target, but the agent must click outside the modal (and Escape is disabled) to
produce the correct close reason.
success_trigger:
human_readable:
- The 'Preview' modal is closed.
- The modal's recorded close_reason equals 'overlay_click'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: overlay_click
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Preview
terminal_condition: task ends when predicate holds
negative_cases:
- Closing via Escape (disabled) or by any close button (none).
- Clicking inside the modal content does not count.
- Modal remains open.
expected_interaction_path:
- Click the shaded overlay area outside the modal panel.
- Verify the modal closes.
notes: 'Checker: detect overlay-click closure and record distinct close_reason.'
- id: dialog_modal-mantine-T04
name: Open the correct modal when two triggers are present
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: two_instances_compact
implementation_component: 'Mantine: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "API keys" dialog (Secondary). The task will finish automatically when done.
ui_copy: Open the "API keys" dialog (Secondary).
setup_description: |
Layout: isolated_card centered with COMPACT spacing (tight padding and reduced gaps).
The card is titled "Developer settings" and contains two adjacent buttons:
- "Webhooks" (Primary)
- "API keys" (Secondary)
Each button opens its own Mantine Modal:
- Modal A title: "Webhooks"
- Modal B title: "API keys"
Both modals use default centered positioning with overlay and a header close button.
Initial state: both modals closed.
Only one modal can be open at a time.
Distractors: below the buttons there is a short paragraph describing developer features (non-interactive).
scene_context:
theme: light
spacing: compact
layout: isolated_card
placement: center
scale: default
instances: 2
guidance: text
clutter: none
difficulty:
difficulty_bucket: mid
tier: L1
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 2
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 1
disambiguation_load: 3
justification: Two similar triggers in a compact layout require selecting the correct instance before the overlay opens.
success_trigger:
human_readable:
- The modal titled 'API keys' is open/visible.
- The modal titled 'Webhooks' remains closed.
canonical_predicate:
predicate_type: equals
target_state:
open: true
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: API keys
terminal_condition: task ends when predicate holds
negative_cases:
- Opening 'Webhooks' instead of 'API keys'.
- No modal is open.
- Opening and then closing 'API keys' before success is checked.
expected_interaction_path:
- Click the 'API keys' button.
- Verify the 'API keys' modal appears.
notes: 'Instrumentation: data-testid=''modal-api-keys'' and ''modal-webhooks'' to disambiguate.'
- id: dialog_modal-mantine-T05
name: Close a modal with Escape
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: escape_to_close
implementation_component: 'Mantine: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Close the "Command palette" dialog by pressing the Escape key. The task will finish automatically when
done.
ui_copy: Command palette dialog is open. Press Esc to close.
setup_description: |
Layout: isolated_card, but the modal panel is positioned toward the BOTTOM-LEFT of the viewport (custom styles/offsets).
A Mantine Modal is open on page load.
Modal configuration:
- Title: "Command palette"
- Content: static list of commands (non-interactive)
- withCloseButton=false (no header close button)
- closeOnClickOutside=false (overlay click does not close)
- closeOnEscape=true (Escape closes)
Initial state: modal open.
Feedback: after closing, a status label updates to "Closed by: escape".
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: bottom_left
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: mid
tier: L1
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: The dialog must be closed using a keyboard action (Escape) because other dismissal routes are disabled,
testing keyboard interaction and focus management.
success_trigger:
human_readable:
- The 'Command palette' modal is closed.
- The modal's recorded close_reason equals 'escape_key'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: escape_key
tolerance: null
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Command palette
terminal_condition: task ends when predicate holds
negative_cases:
- Closing via overlay click (disabled) or close button (none).
- Closing via any footer button (none).
- Modal remains open.
expected_interaction_path:
- Ensure focus is inside the modal.
- Press Escape.
- Confirm the modal closes.
notes: Mantine Modal supports closeOnEscape; record close_reason distinctly from close button and overlay click.
- id: dialog_modal-mantine-T06
name: Close a locked modal using the footer button
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: non_dismissible_footer_close
implementation_component: 'Mantine: Modal'
task_template: confirm_cancel
secondary_template: null
browsergym_goal: Close the "Connectivity check" dialog by clicking "Close dialog". The task will finish automatically when
done.
ui_copy: Connectivity check dialog is open. Click Close dialog.
setup_description: |
Layout: isolated_card centered with SMALL scale (smaller typography and buttons).
A Mantine Modal is open on page load.
Modal configuration:
- Title: "Connectivity check"
- Content: short static status text
- closeOnClickOutside=false (overlay click does not close)
- closeOnEscape=false (Escape does not close)
- withCloseButton=false (no header close button)
- A single footer button at the bottom labeled "Close dialog"
Initial state: modal open.
Feedback: clicking "Close dialog" closes the modal immediately.
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: small
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: mid
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 3
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: Common dismissal routes are disabled and the small-scale footer button is the only way to close the modal,
increasing acquisition difficulty.
success_trigger:
human_readable:
- The 'Connectivity check' modal is closed.
- The modal's recorded close_reason equals 'footer_close_button'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: footer_close_button
tolerance: null
require_confirm: true
confirm_control: Close dialog
require_correct_instance: true
target_instance_label_or_id: Connectivity check
terminal_condition: task ends when predicate holds
negative_cases:
- Attempting overlay click or Escape (should not close).
- Closing via any header close button (none).
- Modal remains open because the footer button wasn't clicked.
expected_interaction_path:
- Locate the footer button 'Close dialog'.
- Click it to close the modal.
notes: 'Checker: footer close button should set a unique close_reason distinct from header close and overlay click.'
- id: dialog_modal-mantine-T07
name: Manage stacked modals and close only the top one
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: stacked_modals
implementation_component: 'Mantine: Modal'
task_template: open_overlay
secondary_template: null
browsergym_goal: Open the "Details" dialog, then close only "Details" so that "Settings" stays open. The task will finish
automatically when done.
ui_copy: Settings is open. Open Details, then close Details (keep Settings open).
setup_description: |
Layout: isolated_card centered. The page loads with one Mantine Modal already open:
- Outer modal title: "Settings"
- Outer content includes a primary button labeled "Open details"
- Outer modal has closeOnClickOutside=false to reduce accidental closure
Clicking "Open details" opens a second Mantine Modal stacked on top:
- Inner modal title: "Details"
- Inner modal has withCloseButton=true (header ×)
- Inner modal footer is absent (no buttons)
Initial state: only "Settings" is open.
During the task: both modals may be open (stacked), with "Details" on top.
Feedback: titles clearly indicate which modal is active.
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 2
guidance: text
clutter: none
difficulty:
difficulty_bucket: hard
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 1
depth_layering: 4
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 4
justification: Requires correctly handling a stacked modal situation and interacting with the top instance without dismissing
the underlying modal.
success_trigger:
human_readable:
- The inner modal titled 'Details' is closed.
- The outer modal titled 'Settings' remains open/visible.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: close_button
related_instances:
Settings:
open: true
tolerance: null
require_confirm: true
confirm_control: Header close (×)
require_correct_instance: true
target_instance_label_or_id: Details
terminal_condition: task ends when predicate holds
negative_cases:
- Closing the outer 'Settings' modal.
- Closing both modals.
- Leaving 'Details' open.
- Closing 'Details' via overlay click or Escape when the task expects the close button.
expected_interaction_path:
- In 'Settings', click 'Open details' to open the 'Details' modal.
- Click the × close button in the 'Details' header.
- Verify 'Settings' is still visible.
notes: 'Checker: track open state for both Mantine Modal instances; enforce that outer remains open.'
- id: dialog_modal-mantine-T08
name: Close a full-screen modal using a custom header action
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: full_screen_done_button
implementation_component: 'Mantine: Modal (fullScreen)'
task_template: confirm_cancel
secondary_template: null
browsergym_goal: Close the full-screen "Photo viewer" dialog by clicking "Done". The task will finish automatically when
done.
ui_copy: Photo viewer (full-screen) is open. Click Done to close.
setup_description: |
Layout: modal_flow centered, DARK theme. A full-screen Mantine Modal is open on page load.
Modal configuration:
- Title: "Photo viewer"
- fullScreen=true (covers most/all of the viewport)
- withCloseButton=false (no × close button)
- closeOnEscape=false and closeOnClickOutside=false (no implicit dismissal)
- A custom header action button labeled "Done" appears on the right side of the title bar.
Initial state: modal open in full-screen mode.
Feedback: clicking "Done" closes the modal and returns to the underlying page.
scene_context:
theme: dark
spacing: comfortable
layout: modal_flow
placement: center
scale: large
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: hard
tier: L2
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 1
depth_layering: 2
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: The modal is full-screen and removes standard close affordances, requiring the agent to locate and use
a custom header action in a dark theme.
success_trigger:
human_readable:
- The 'Photo viewer' modal is closed.
- The modal's recorded close_reason equals 'done_button'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: done_button
tolerance: null
require_confirm: true
confirm_control: Done
require_correct_instance: true
target_instance_label_or_id: Photo viewer
terminal_condition: task ends when predicate holds
negative_cases:
- Attempting to close via Escape or overlay click (disabled).
- Closing via any close icon (none).
- Modal remains open because 'Done' was not clicked.
expected_interaction_path:
- Locate the 'Done' button in the modal header.
- Click 'Done' to close the modal.
notes: 'Checker: ensure fullScreen mode is enabled for this task variant; close_reason from the Done action.'
- id: dialog_modal-mantine-T09
name: Scroll within a modal to reach the bottom action
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: long_content_bottom_action
implementation_component: 'Mantine: Modal'
task_template: scroll_find
secondary_template: null
browsergym_goal: In the "Changelog" dialog, scroll to the bottom and click "Back to app". The task will finish automatically
when done.
ui_copy: 'Changelog dialog: scroll to bottom and click Back to app.'
setup_description: |
Layout: isolated_card centered. A Mantine Modal is open on page load.
Modal configuration:
- Title: "Changelog"
- Content: long scrollable changelog text (~3 screens)
- The content area scrolls inside the modal (the page behind does not scroll).
- withCloseButton=true, but using the close button is not the intended path.
- At the bottom of the scrollable content there is a single button labeled "Back to app".
Initial state: modal open and scrolled to the top of the changelog.
Feedback: clicking "Back to app" closes the modal and shows a small toast "Welcome back" (toast not required for success).
scene_context:
theme: light
spacing: comfortable
layout: isolated_card
placement: center
scale: default
instances: 1
guidance: text
clutter: none
difficulty:
difficulty_bucket: hard
tier: L2
axes_ratings:
precision_requirement: 2
target_acquisition: 2
density_choice_interference: 1
depth_layering: 3
feedback_dynamics: 2
semantic_observability: 2
disambiguation_load: 1
justification: Requires scrolling inside the modal to reveal an off-screen action and then selecting the correct close
control rather than the header close button.
success_trigger:
human_readable:
- The 'Changelog' modal is closed.
- The modal's recorded close_reason equals 'back_to_app_button'.
canonical_predicate:
predicate_type: equals
target_state:
open: false
close_reason: back_to_app_button
tolerance: null
require_confirm: true
confirm_control: Back to app
require_correct_instance: true
target_instance_label_or_id: Changelog
terminal_condition: task ends when predicate holds
negative_cases:
- Closing via the header close button instead of 'Back to app'.
- Closing via overlay click/Escape (if enabled) instead of 'Back to app'.
- Scrolling the underlying page instead of the modal content.
- Modal remains open.
expected_interaction_path:
- Scroll within the modal content to the bottom.
- Click 'Back to app'.
- Verify the modal closes.
notes: 'Checker: identify and instrument the modal''s internal scroll container; record close_reason from the bottom action
button.'
- id: dialog_modal-mantine-T10
name: Match a reference avatar to open the correct dialog
canonical_type: dialog_modal
implementation_source: mantine
implementation_variant: multi_instance_mixed_reference
implementation_component: 'Mantine: Modal'
task_template: match_reference
secondary_template: null
browsergym_goal: Open the dialog that matches the reference avatar (fox). The task will finish automatically when done.
ui_copy: 'Reference avatar: fox. Open the matching dialog.'
setup_description: |
Layout: settings_panel with HIGH clutter. The page resembles a "Personalization" settings screen with many toggles and explanatory text (non-interactive in this benchmark).
At the top of the right panel there is a non-interactive "Reference avatar" block:
- Label: "Target avatar"
- A small fox avatar thumbnail
Below, there are three rows each with a button "Customize" that opens a Mantine Modal:
1) Row "Chat theme" (cat avatar thumbnail) → Modal title "Chat theme" with the cat avatar displayed in the header
2) Row "Profile badge" (fox avatar thumbnail) → Modal title "Profile badge" with the fox avatar displayed in the header
3) Row "Notification style" (dog avatar thumbnail) → Modal title "Notification style" with the dog avatar displayed in the header
Only one modal can be open at a time. All modals use the default centered Mantine Modal styling with a header close button.
Initial state: all modals closed.
Guidance: mixed (the goal names the reference avatar 'fox' and also shows the fox thumbnail visually on the page).
Feedback: the modal header shows the avatar thumbnail next to the title for quick verification.
scene_context:
theme: light
spacing: comfortable
layout: settings_panel
placement: center
scale: default
instances: 3
guidance: mixed
clutter: high
difficulty:
difficulty_bucket: hard
tier: L3
axes_ratings:
precision_requirement: 1
target_acquisition: 2
density_choice_interference: 3
depth_layering: 2
feedback_dynamics: 1
semantic_observability: 4
disambiguation_load: 5
justification: High clutter and three similar 'Customize' triggers require careful instance disambiguation, and the target
is specified via a mixed visual/text reference that must be matched to the modal header.
success_trigger:
human_readable:
- The modal whose header avatar matches the fox reference is open/visible (title 'Profile badge').
- No other modal is open.
canonical_predicate:
predicate_type: matches_reference
target_state:
open: true
reference:
type: header_avatar
value: fox
tolerance:
avatar_id_match: exact
require_confirm: false
confirm_control: null
require_correct_instance: true
target_instance_label_or_id: Profile badge
terminal_condition: task ends when predicate holds
negative_cases:
- Opening 'Chat theme' (cat) or 'Notification style' (dog) dialogs.
- Opening the correct dialog and then switching to another dialog.
- No dialog is open.
expected_interaction_path:
- Identify the fox reference avatar at the top of the settings panel.
- Find the row whose avatar matches fox and click its 'Customize' button.
- Verify the opened modal header shows the fox avatar.
notes: 'Checker: use canonical avatar IDs (e.g., data-avatar=''fox'') for matching rather than pixel-based image similarity.'
|