Merge branch 'worktree-agent-aa9ed772f90c7c7b3'
This commit is contained in:
@@ -3,6 +3,7 @@ import 'dart:convert';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:pipelines_app/ui/navigation/labelled_icon_button.dart';
|
||||
import 'package:pipelines_app/features/artifacts/domain/artifact_groups.dart';
|
||||
import 'package:pipelines_app/features/artifacts/domain/artifact_record.dart';
|
||||
import 'package:pipelines_app/features/artifacts/ui/artifact_fullscreen.dart';
|
||||
@@ -76,7 +77,13 @@ Future<void> _enter(WidgetTester tester) async {
|
||||
}
|
||||
|
||||
/// A bar control by its Material tooltip.
|
||||
Finder _named(String name) => find.byTooltip(name);
|
||||
/// A control named [name]: by its tooltip on desktop, or by its accessible
|
||||
/// name where touch shows the name as a caption instead.
|
||||
Finder _named(String name) => find.byWidgetPredicate(
|
||||
(widget) =>
|
||||
(widget is Tooltip && widget.message == name) ||
|
||||
(widget is LabelledIconButton && widget.label == name),
|
||||
);
|
||||
|
||||
void main() {
|
||||
testWidgets('the bottom actions offer Full screen', (tester) async {
|
||||
|
||||
Reference in New Issue
Block a user