File tree Expand file tree Collapse file tree
packages/remix/test/components/accordion Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -471,8 +471,14 @@ void main() {
471471 expectedStates: {WidgetState .focused},
472472 );
473473
474- // Note: pressAction doesn't work with accordion's nested structure.
475- // Press behavior is tested through the expansion behavior tests instead.
474+ // Note: pressAction cannot be used here because the interactive part of
475+ // RemixAccordion (its tappable header) is implemented inside nested
476+ // internal widgets rather than on the RemixAccordion widget itself.
477+ // Our generic pressAction helper assumes that the widget type under
478+ // test exposes a directly-tappable element, so it never finds a valid
479+ // target for RemixAccordion's nested structure. As a result, press
480+ // behavior for accordions is covered in the dedicated expansion behavior
481+ // tests instead of via pressAction in this WidgetStateController group.
476482 });
477483 });
478484}
You can’t perform that action at this time.
0 commit comments