Commit 7782919
committed
close modals before accessibility check in workflow editor tests
Four tests were failing because they left a GModal open when the
@selenium_test decorator ran assert_baseline_accessibility(). When a
native <dialog> is open via showModal(), the browser marks everything
outside it as inert — axe-core skips those elements, making aria-roles
inapplicable and failing assert_passes('aria-roles').
- test_save_as, test_editor_invalid_tool_state, test_missing_tools:
close the modal after taking the screenshot
- test_editor_subworkflow_tool_upgrade_message: the invalid tool state
causes a save confirmation dialog to appear when saving — dismiss it1 parent eeeca04 commit 7782919
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| 639 | + | |
639 | 640 | | |
640 | 641 | | |
641 | 642 | | |
| |||
723 | 724 | | |
724 | 725 | | |
725 | 726 | | |
| 727 | + | |
726 | 728 | | |
727 | 729 | | |
728 | 730 | | |
| |||
1049 | 1051 | | |
1050 | 1052 | | |
1051 | 1053 | | |
| 1054 | + | |
1052 | 1055 | | |
1053 | 1056 | | |
1054 | 1057 | | |
| |||
1067 | 1070 | | |
1068 | 1071 | | |
1069 | 1072 | | |
| 1073 | + | |
1070 | 1074 | | |
1071 | 1075 | | |
1072 | 1076 | | |
| |||
0 commit comments