mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-24 17:42:16 +00:00

* fix: pages overflow when selecting homepage * feat: integrate codemagic * Revert "fix: pages overflow when selecting homepage" This reverts commit 156882a9a7e039a38cd206306e19b94eb391f948. * chore: try to fix build * chore: remove flutter analyuze * chore: launch ios simulator * fix: flutter version * fix: integration tests on mobile * fix: mobile tests * test: fix page style test * chore: enable ios ci * chore: update codemagic token * chore: update app_id
36 lines
1.3 KiB
Dart
36 lines
1.3 KiB
Dart
import 'dart:io';
|
|
|
|
import 'desktop_runner_1.dart';
|
|
import 'desktop_runner_2.dart';
|
|
import 'desktop_runner_3.dart';
|
|
import 'desktop_runner_4.dart';
|
|
import 'desktop_runner_5.dart';
|
|
import 'desktop_runner_6.dart';
|
|
import 'desktop_runner_7.dart';
|
|
import 'desktop_runner_8.dart';
|
|
import 'mobile_runner_1.dart';
|
|
|
|
/// The main task runner for all integration tests in AppFlowy.
|
|
///
|
|
/// Having a single entrypoint for integration tests is necessary due to an
|
|
/// [issue caused by switching files with integration testing](https://github.com/flutter/flutter/issues/101031).
|
|
/// If flutter/flutter#101031 is resolved, this file can be removed completely.
|
|
/// Once removed, the integration_test.yaml must be updated to exclude this as
|
|
/// as the test target.
|
|
Future<void> main() async {
|
|
if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) {
|
|
await runIntegration1OnDesktop();
|
|
await runIntegration2OnDesktop();
|
|
await runIntegration3OnDesktop();
|
|
await runIntegration4OnDesktop();
|
|
await runIntegration5OnDesktop();
|
|
await runIntegration6OnDesktop();
|
|
await runIntegration7OnDesktop();
|
|
await runIntegration8OnDesktop();
|
|
} else if (Platform.isIOS || Platform.isAndroid) {
|
|
await runIntegration1OnMobile();
|
|
} else {
|
|
throw Exception('Unsupported platform');
|
|
}
|
|
}
|