This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: initialize integration test using uuv_flutter, #3
- Loading branch information
Showing
8 changed files
with
171 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,4 @@ app.*.map.json | |
/android/app/debug | ||
/android/app/profile | ||
/android/app/release | ||
integration_test/*_test.dart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
targets: | ||
$default: | ||
sources: | ||
- integration_test/** # By default, build runner will not generate code in the integration folder | ||
- test/** # so we override paths for code generation here | ||
- lib/** | ||
- $package$ | ||
builders: | ||
bdd_widget_test|featureBuilder: | ||
enabled: false | ||
uuv_flutter|generateTests: | ||
options: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Feature: Panoramax mobile App | ||
|
||
Scenario: Homepage | ||
Given the app is running | ||
Then I should see a title named {'Your sequences'} | ||
And I should see a button named {'Create a new sequence'} | ||
|
||
Scenario: Capture page | ||
Given the app is running | ||
When I tap on a button named {'Create a new sequence'} | ||
Then I should see a button named {'Take a picture'} | ||
And I should see a button named {'Switch camera'} | ||
And I should see a button named {'Create a new sequence with captured pictures'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import 'package:flutter_test/flutter_test.dart'; | ||
import 'package:panoramax_mobile/main.dart'; | ||
|
||
Future<void> theAppIsRunning(WidgetTester tester) async { | ||
await tester.pumpWidget(const PanoramaxApp()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters