-
Notifications
You must be signed in to change notification settings - Fork 314
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
Maestro bitbucket pipeline fails with Android #1612
Comments
@AlexGuiraoLopez could you post the full output of the log from BitBucket please? |
|
Thanks. Looks like the upload pipe can't find your Flows. Is your workspace present in the root directory of your repo and called |
Is this the same as the root directory of your repository or do you have a monorepo with multiple projects in the same repository? If so you need to set |
Is the root of the bitbucket repository too. |
Got it, thanks. Passing this to @ArthurSav who has more context on our Bitbucket pipelines -- Arthur, can you please help out here? |
Got the same issue now when im executing with |
Any news about this issue? @axelniklasson @ArthurSav |
@AlexGuiraoLopez Can you set the workspace path explicitly? You can do this like so: script:
- pipe: mobiledevinc/maestro-cloud-upload:1.2.0
variables:
MDEV_API_KEY: "<string>"
MDEV_APP_FILE: "<string>"
MDEV_WORKSPACE: .maestro (or path to wherever the workspace folder is located) If that doesn't work, please post the full pipe output again. Also, I think you're using an older version of the pipe |
I've tried to specify workspace and now I get different error:
|
Hey, revisiting this to say this doesn't look like a Maestro-related problem, but BitBucket Pipelines specific. Because of that, closing. Try creating a minimal, reproducible example and asking BitBucket support or StackOverflow. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Describe the bug
I'm using Maestro with Bitbucket pipeline for the first time with an Android project. I set all the steps from documentation but when pipeline executes it seems to fail for some reason.
Installation was successful! message appear and some instructions of how to use maestro but it doesn't execute the tests.
To Reproduce
Steps to reproduce:
pipelines:
default:
name: Android Debug Application
caches: # caching speed up subsequent execution
- gradle
script:
- ./gradlew assembleStgDebug
artifacts:
- app/build/outputs/** # artifacts are files that are produced by a step
name: Maestro UI test
script:
- pipe: mobiledevinc/maestro-cloud-upload:1.2.0 # maestro UI testing.
variables:
MDEV_API_KEY: $MAESTRO_TOKEN
MDEV_APP_FILE: app/build/outputs/apk/stg/debug/app-stg-debug.apk
Expected behavior
Run Maestro test and receive its response.
Screenshots
![yaml bitbucket pipeline](https://github.com/mobile-dev-inc/maestro/assets/73042607/ce7a4b88-1aed-4d1e-945e-0965cd57fdb3)
![bitbucket response](https://github.com/mobile-dev-inc/maestro/assets/73042607/3a4f3011-c926-4d2d-9588-ff1f3479753b)
Environment information (please complete the following information):
**Bugreport output:
pipelineLog-{60b3e6c3-879c-4550-b829-57b8b758f199}.txt
The text was updated successfully, but these errors were encountered: