diff --git a/frontend/appflowy_flutter/integration_test/share_markdown_test.dart b/frontend/appflowy_flutter/integration_test/share_markdown_test.dart index a242670e95..689ec4d0ed 100644 --- a/frontend/appflowy_flutter/integration_test/share_markdown_test.dart +++ b/frontend/appflowy_flutter/integration_test/share_markdown_test.dart @@ -16,9 +16,6 @@ void main() { final context = await tester.initializeAppFlowy(); await tester.tapGoButton(); - // expect to see a readme page - tester.expectToSeePageName(gettingStarted); - // mock the file picker final path = await mockSaveFilePath( p.join(context.applicationDataDirectory, 'test.md'), diff --git a/frontend/appflowy_flutter/integration_test/util/common_operations.dart b/frontend/appflowy_flutter/integration_test/util/common_operations.dart index 10cd706489..c9dccda597 100644 --- a/frontend/appflowy_flutter/integration_test/util/common_operations.dart +++ b/frontend/appflowy_flutter/integration_test/util/common_operations.dart @@ -1,3 +1,5 @@ +import 'dart:io'; + import 'package:appflowy/core/config/kv.dart'; import 'package:appflowy/core/config/kv_keys.dart'; import 'package:appflowy/generated/flowy_svgs.g.dart'; @@ -27,6 +29,10 @@ extension CommonOperations on WidgetTester { Future tapGoButton() async { final goButton = find.byType(GoButton); await tapButton(goButton); + + if (Platform.isWindows) { + await pumpAndSettle(const Duration(milliseconds: 200)); + } } /// Tap the + button on the home page. diff --git a/frontend/scripts/makefile/env.toml b/frontend/scripts/makefile/env.toml index 5ea2965387..6134bf01f6 100644 --- a/frontend/scripts/makefile/env.toml +++ b/frontend/scripts/makefile/env.toml @@ -11,7 +11,7 @@ run_task = { name = ["appflowy-flutter-deps-tools","install_diesel"] } run_task = { name = ["appflowy-tauri-deps-tools","install_diesel"] } [tasks.install_windows_deps.windows] -dependencies=["check_duckscript_installation", "check_visual_studio_installation", "check_vcpkg", "install_vcpkg_sqlite", "install_rust_vcpkg_cli"] +dependencies=["check_duckscript_installation", "check_vcpkg", "install_vcpkg_sqlite", "install_rust_vcpkg_cli"] [tasks.check_visual_studio_installation.windows] script = """ @@ -158,7 +158,7 @@ script_runner = "@duckscript" script = """ GOLINT_FILENAME="go-gitlint_1.1.0_osx_x86_64.tar.gz" curl -L https://github.com/llorllale/go-gitlint/releases/download/1.1.0/${GOLINT_FILENAME} --output ${GOLINT_FILENAME} -tar -zxv --directory ../.githooks/. -f ${GOLINT_FILENAME} gitlint +tar -zxv --directory ../.githooks/. -f ${GOLINT_FILENAME} gitlint rm ${GOLINT_FILENAME} """ @@ -166,7 +166,7 @@ rm ${GOLINT_FILENAME} script = """ GOLINT_FILENAME="go-gitlint_1.1.0_linux_x86_64.tar.gz" wget https://github.com/llorllale/go-gitlint/releases/download/1.1.0/${GOLINT_FILENAME} -tar -zxv --directory ../.githooks/. -f ${GOLINT_FILENAME} gitlint +tar -zxv --directory ../.githooks/. -f ${GOLINT_FILENAME} gitlint rm ${GOLINT_FILENAME} """