fix(app): pipeline Run and Runs share one action row, as the web
This commit is contained in:
@@ -106,6 +106,11 @@ void main() {
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
expect(find.bySemanticsLabel('View runs of Alpha review'), findsOneWidget);
|
||||
// Run and Runs share one action row, as the web's pipeline actions.
|
||||
final runs = tester.getCenter(find.byKey(const Key('pipeline-view-runs')));
|
||||
final actions = tester.getRect(find.byKey(const Key('pipeline-actions')));
|
||||
expect(actions.height, lessThan(56));
|
||||
expect(runs.dx, greaterThan(actions.left + 40));
|
||||
await tester.tap(find.byKey(const Key('pipeline-view-runs')));
|
||||
expect(opened, [1]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user