Skip to content

Commit

Permalink
Update dsl.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed Nov 7, 2024
1 parent cc2410d commit c618b2e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions integration_test/dsl/dsl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,18 @@ class See extends Action {
return multipleTextTest;
}

ButtonTestWithKey publicDriveButton(String driveName) {
final driveButton = ButtonTestWithKey('public_drives_$driveName');
driveButton.expectComponent();
return driveButton;
}

ButtonTestWithKey privateDriveButton(String driveName) {
final driveButton = ButtonTestWithKey('private_drives_$driveName');
driveButton.expectComponent();
return driveButton;
}

@override
Future<void> execute(WidgetTester tester, Component component) async {
component.expectComponent();
Expand Down

0 comments on commit c618b2e

Please sign in to comment.