Commit 61beb09 1 parent d56926c commit 61beb09 Copy full SHA for 61beb09
File tree 5 files changed +13
-15
lines changed
5 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,13 @@ jobs:
50
50
# keyAlias="${{ secrets.KEY_ALIAS }}
51
51
# storeFile=keystore.jks
52
52
run : |
53
- echo " keyPassword=${{ secrets.KEY_PASSWORD }}" > ./android/key.properties
54
- echo " storePassword=${{ secrets.STORE_PASSWORD }}" >> ./android/key.properties
55
- echo " keyAlias=${{ secrets.KEY_ALIAS }}" >> ./android/key.properties
56
- echo " storeFile=keystore.jks" >> ./android/key.properties
53
+ echo keyPassword=" ${{ secrets.KEY_PASSWORD }}" > ./android/key.properties
54
+ echo storePassword=" ${{ secrets.STORE_PASSWORD }}" >> ./android/key.properties
55
+ echo keyAlias=" ${{ secrets.KEY_ALIAS }}" >> ./android/key.properties
56
+ echo storeFile=keystore.jks >> ./android/key.properties
57
57
echo "${{ secrets.KEY_JKS }}" | base64 --decode > ./android/app/keystore.jks
58
- echo
59
58
60
-
61
- - run : flutter build apk
59
+ # - run: flutter build apk
62
60
63
61
- run : flutter build appbundle
64
62
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ void main() {
37
37
userIdentifier: userIdentifier,
38
38
password: password,
39
39
elnUrl: elnUrl,
40
- validationUser: 'User1 Complat' );
40
+ validationUser: 'User6 Complat' );
41
41
42
42
devPrint ('open task list' );
43
43
await menuScreenRobot.openTaskList ();
Original file line number Diff line number Diff line change 1
- import 'package:chemobile/components/weighted_sample_archive_entry .dart' ;
1
+ import 'package:chemobile/components/archive_entry .dart' ;
2
2
import 'package:flutter_test/flutter_test.dart' ;
3
3
import 'package:flutter/material.dart' ;
4
4
@@ -11,11 +11,11 @@ class ArchiveRobot {
11
11
await tester.pumpAndSettle ();
12
12
await _validateArchiveScreen ();
13
13
14
- expect (find.byType (WeightedSampleArchiveEntry ), findsNWidgets (count));
14
+ expect (find.byType (ArchiveEntry ), findsNWidgets (count));
15
15
}
16
16
17
17
Future <void > openFirstScan () async {
18
- await tester.tap (find.byType (WeightedSampleArchiveEntry ).first);
18
+ await tester.tap (find.byType (ArchiveEntry ).first);
19
19
}
20
20
21
21
Future <void > _validateArchiveScreen () async {
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ class MenuScreenRobot {
8
8
9
9
Future <void > openTaskList () async {
10
10
await tester.pumpAndSettle ();
11
- await tester.tap (find.widgetWithText (ListTile , 'Weighted samples ' ));
11
+ await tester.tap (find.widgetWithText (ListTile , 'Unfinished tasks ' ));
12
12
}
13
13
14
14
Future <void > openArchive () async {
15
15
await tester.pumpAndSettle ();
16
- await tester.tap (find.widgetWithText (ListTile , 'Previous Scans ' ));
16
+ await tester.tap (find.widgetWithText (ListTile , 'Finished tasks ' ));
17
17
}
18
18
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class TaskListRobot {
10
10
await tester.pumpAndSettle ();
11
11
_validateTaskList ();
12
12
13
- await tester.tap (find.widgetWithIcon ( FloatingActionButton , Icons .settings_overscan ));
13
+ await tester.tap (find.widgetWithText ( BottomNavigationBar , 'Start single scan' ));
14
14
}
15
15
16
16
Future <void > backToMenuScreen () async {
@@ -21,6 +21,6 @@ class TaskListRobot {
21
21
}
22
22
23
23
void _validateTaskList () async {
24
- expect (find.widgetWithText (AppBar , 'Weighted sample tasks' ), findsOneWidget);
24
+ expect (find.widgetWithText (AppBar , 'Finished tasks' ), findsOneWidget);
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments