test(studyset): every empty material tab is opened, as each has one
Since paths moved out of the Study plan, every empty section the test looks at is a tab of Material, so the check for one without a tab is always true, which the analyser refuses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
fe6b89e773
commit
f8336ada90
1 changed files with 2 additions and 4 deletions
|
|
@ -690,10 +690,8 @@ void main() {
|
|||
),
|
||||
]) {
|
||||
await openPart(tester, part);
|
||||
if (tab != null) {
|
||||
await tester.tap(find.widgetWithText(Tab, tab));
|
||||
await tester.pumpAndSettle();
|
||||
}
|
||||
await tester.tap(find.widgetWithText(Tab, tab));
|
||||
await tester.pumpAndSettle();
|
||||
// The box that says so, around its icon, title and hint.
|
||||
final box = find.ancestor(
|
||||
of: find.text(title),
|
||||
|
|
|
|||
Loading…
Reference in a new issue