Skip to content

Commit

Permalink
Fix some tests and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
DeD1rk committed Feb 1, 2023
1 parent 3fd9e92 commit ea9eefc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration_test/album_screen_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void testAlbum() {
await (widgetsAppState as WidgetsBindingObserver).didPopRoute();
await tester.pumpAndSettle();

await tester.pageBack();
await tester.tap(find.byType(BackButton));
await tester.pumpAndSettle();
expect(find.text('2 / 2'), findsNothing);
},
Expand Down
4 changes: 3 additions & 1 deletion integration_test/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import 'package:integration_test/integration_test.dart';
import 'album_screen_test.dart';
import 'login_screen_test.dart';

void main() {
void main() async {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

await Future.delayed(const Duration(seconds: 5));

testLogin();
testAlbum();
}
4 changes: 3 additions & 1 deletion ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -229,6 +229,7 @@
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -260,6 +261,7 @@
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down
4 changes: 3 additions & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,7 @@
<false/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>

0 comments on commit ea9eefc

Please sign in to comment.