Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: installing test runner scenario takes too long #372

Open
iam-shanmichael opened this issue Nov 29, 2023 · 4 comments
Open

bug: installing test runner scenario takes too long #372

iam-shanmichael opened this issue Nov 29, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@iam-shanmichael
Copy link

**Hello! @wolfenrain **

  • as i follow the documentation for fluttium i encounter this issue:

when i run fluttuim test map_fluttium it install all components for fluttium but when i get in intalling test runner it's stuck in install or loading and didn't proceed to launch test runner that's why i can't run any flow because of this issue

`✓ Retrieving devices (7.8s)`
`✓ Setting up the test runner (27ms)`
`✓ Setting up the launcher (13ms)`
`✓ Installing actions (2.2s)`
`⠇ Installing test runner... (2000.8s)`
  • Fluttium version:
    0.1.2

  • Flutter doctor console result:

    [✓] Flutter (Channel stable, 3.7.6, on macOS 12.7 21G816 darwin-arm64, locale en-PH)
    • Flutter version 3.7.6 on channel stable at /Users/SMGoring/fvm/versions/3.7.6
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12cb4eb7a0 (9 months ago), 2023-03-01 10:29:26 -0800
    • Engine revision ada363ee93
    • Dart version 2.19.3
    • DevTools version 2.20.1

    [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/SMGoring/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

    [!] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Build 14A5270f
    ✗ CocoaPods not installed.
    CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
    Without CocoaPods, plugins will not work on iOS or macOS.
    For more info, see https://flutter.dev/platform-plugins
    To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

    [✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

    [✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

    [✓] VS Code (version 1.84.2)
    • VS Code at /Users/SMGoring/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

    [✓] Connected device (2 available)
    • macOS (desktop) • macos • darwin-arm64 • macOS 12.7 21G816 darwin-arm64
    • Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.159

    [✓] HTTP Host Availability
    • All required HTTP hosts are available

  • This is my Fluttium.yaml :

    # The following defines the environment for your Fluttium project. It includes
    # the version of Fluttium that the project requires.
    environment:
    fluttium: ">=0.1.0 <1.0.0"

    # The driver can be configured with default values. Uncomment the following
    # lines to automatically run Fluttium using a different flavor and dart-defines.
    # driver:
    # target: lib/main_development.dart
    # flavor: development
    # dart_defines:
    # - CUSTOM_DART_DEFINE=1

    # Register actions which can be used within your Fluttium flows.
    actions:
    # The following adds the log action to your project.
    log_action: 0.2.0

@iam-shanmichael iam-shanmichael added the bug Something isn't working label Nov 29, 2023
@wolfenrain
Copy link
Owner

Hi! Are you able to reproduce this while running it with --verbose? It might be throwing an error that isn't being propagated upwards correctly

@iam-shanmichael
Copy link
Author

Hi wolfenrain,

appreciate your response, i do tried to run this with --verbose and no error throw while running the yaml test file and still stuck on installing test runner thank you.

@wolfenrain
Copy link
Owner

Ah it might be because you are using Flutter 3.17 through FVM and Fluttium supports 3.10 or higher.

@iam-shanmichael
Copy link
Author

Hi wolf,

appreciate your response, currently in my project im not using FVM tho i have hidden files .fvm , please correct me if im wrong FVM will only active in specific project once you run dart pub global activate fvm ?, and also currently im on Flutter 3.7.6 yet in another machine fluttium in workin as expected with Flutter 3.7.6 thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants