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

Web - Not enough devices connected (1) to run the requested number of shards (1). #2269

Open
1 task done
LukaszK88 opened this issue Jan 24, 2025 · 1 comment
Open
1 task done

Comments

@LukaszK88
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

I am trying to run Maestro tests on web project and I am getting following.

maestro --verbose test .maestro

[ INFO] ---- System Info ----
[ INFO] Maestro Version: 1.39.9
[ INFO] CI: Undefined
[ INFO] OS Name: Mac OS X
[ INFO] OS Version: 14.4
[ INFO] Architecture: aarch64
[ INFO] Java Version: 17
[ INFO] Xcode Version: 15.4
[ INFO] Flutter Version: Undefined
[ INFO] Flutter Channel: Undefined
[ INFO] ---------------------
[DEBUG] Using SLF4J as the default logging framework
[ INFO] Created execution plan: ExecutionPlan(flowsToRun=[/{path to project}/.maestro/flows/checkout/pickup.yaml], sequence=FlowSequence(flows=[], continueOnFailure=null))

Want to use 0 devices, which is not enough to run 1 shards. Missing 1 device(s).
Not enough devices connected (1) to run the requested number of shards (1).

My .maestro folder only has

config file and dir structure for tests

config.yaml

flows:
  - "flows/checkout/*"

Flow file .maestro/flows/checkout/pickup.yaml

url: https://maestro.mobile.dev
---
- launchApp
- tapOn: Installing Maestro
- assertVisible: Installing the CLI

Not sure if I am missing something to run the tests on web.
I am using maestro extensively on the same machine to run tests on android and iOS on a different project.

Thanks in advance.

Actual results

Want to use 0 devices, which is not enough to run 1 shards. Missing 1 device(s).
Not enough devices connected (1) to run the requested number of shards (1).

Expected results

Chromium installed and tests execute

About app

Fresh expo project running on localhost but I am targeting maestro website just for debugging

About environment

Apple M3 Pro
14.4 (23E214)

[ INFO] ---- System Info ----
[ INFO] Maestro Version: 1.39.9
[ INFO] CI: Undefined
[ INFO] OS Name: Mac OS X
[ INFO] OS Version: 14.4
[ INFO] Architecture: aarch64
[ INFO] Java Version: 17
[ INFO] Xcode Version: 15.4
[ INFO] Flutter Version: Undefined
[ INFO] Flutter Channel: Undefined
[ INFO] ---------------------

Logs

Logs
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->

Maestro version

1.39.9

How did you install Maestro?

Homebrew

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant