mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
1fad713477
* chore:test * chore: update ui * feat: set appflowy cloud url * chore: add self host docs * fix: save user * fix: sign out when authenticator not match * fix: sign out when authenticator not match * fix: db lock * chore: remove unuse env file * test: disable supabase cloud test * test: disable supabase cloud test * chore: fix save
86 lines
3.0 KiB
Dart
86 lines
3.0 KiB
Dart
import 'package:integration_test/integration_test.dart';
|
|
|
|
import 'appearance_settings_test.dart' as appearance_test_runner;
|
|
import 'board/board_test_runner.dart' as board_test_runner;
|
|
import 'database_calendar_test.dart' as database_calendar_test;
|
|
import 'database_cell_test.dart' as database_cell_test;
|
|
import 'database_field_settings_test.dart' as database_field_settings_test;
|
|
import 'database_field_test.dart' as database_field_test;
|
|
import 'database_filter_test.dart' as database_filter_test;
|
|
import 'database_row_page_test.dart' as database_row_page_test;
|
|
import 'database_row_test.dart' as database_row_test;
|
|
import 'database_setting_test.dart' as database_setting_test;
|
|
import 'database_share_test.dart' as database_share_test;
|
|
import 'database_sort_test.dart' as database_sort_test;
|
|
import 'database_view_test.dart' as database_view_test;
|
|
import 'document/document_test_runner.dart' as document_test_runner;
|
|
import 'empty_test.dart' as first_test;
|
|
import 'hotkeys_test.dart' as hotkeys_test;
|
|
import 'import_files_test.dart' as import_files_test;
|
|
import 'settings/settings_runner.dart' as settings_test_runner;
|
|
import 'share_markdown_test.dart' as share_markdown_test;
|
|
import 'sidebar/sidebar_test_runner.dart' as sidebar_test_runner;
|
|
import 'switch_folder_test.dart' as switch_folder_test;
|
|
import 'tabs_test.dart' as tabs_test;
|
|
|
|
/// 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 {
|
|
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
|
|
|
|
// This test must be run first, otherwise the CI will fail.
|
|
first_test.main();
|
|
|
|
switch_folder_test.main();
|
|
share_markdown_test.main();
|
|
import_files_test.main();
|
|
|
|
// Document integration tests
|
|
document_test_runner.startTesting();
|
|
|
|
// Sidebar integration tests
|
|
sidebar_test_runner.startTesting();
|
|
|
|
// Board integration test
|
|
board_test_runner.startTesting();
|
|
|
|
// Database integration tests
|
|
database_cell_test.main();
|
|
database_field_test.main();
|
|
database_field_settings_test.main();
|
|
database_share_test.main();
|
|
database_row_page_test.main();
|
|
database_row_test.main();
|
|
database_setting_test.main();
|
|
database_filter_test.main();
|
|
database_sort_test.main();
|
|
database_view_test.main();
|
|
database_calendar_test.main();
|
|
|
|
// Tabs
|
|
tabs_test.main();
|
|
|
|
// Others
|
|
hotkeys_test.main();
|
|
|
|
// Appearance integration test
|
|
appearance_test_runner.main();
|
|
|
|
// User settings
|
|
settings_test_runner.main();
|
|
|
|
// final cloudType = await getCloudType();
|
|
// if (cloudType == CloudType.supabase) {
|
|
// auth_test_runner.main();
|
|
// }
|
|
|
|
// board_test.main();
|
|
// empty_document_test.main();
|
|
// smart_menu_test.main();
|
|
}
|