결재 단계 UI 보완 및 분석 통과
This commit is contained in:
@@ -4,7 +4,6 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:get_it/get_it.dart';
|
||||
import 'package:mocktail/mocktail.dart';
|
||||
import 'package:shadcn_ui/shadcn_ui.dart';
|
||||
import 'package:two_dimensional_scrollables/two_dimensional_scrollables.dart';
|
||||
|
||||
import 'package:superport_v2/core/common/models/paginated_result.dart';
|
||||
import 'package:superport_v2/features/approvals/domain/entities/approval.dart';
|
||||
@@ -95,14 +94,9 @@ void main() {
|
||||
expect(find.text('APP-2024-0001'), findsOneWidget);
|
||||
expect(find.text('최승인'), findsOneWidget);
|
||||
|
||||
await tester.dragUntilVisible(
|
||||
find.widgetWithText(ShadButton, '상세'),
|
||||
find.byType(TwoDimensionalScrollable),
|
||||
const Offset(-200, 0),
|
||||
);
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
await tester.tap(find.widgetWithText(ShadButton, '상세').first);
|
||||
final detailButtonFinder = find.byKey(const ValueKey('step_detail_501_1'));
|
||||
final detailButton = tester.widget<ShadButton>(detailButtonFinder);
|
||||
detailButton.onPressed?.call();
|
||||
await tester.pump();
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user