-
Notifications
You must be signed in to change notification settings - Fork 280
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
CICD asks for analytics, no way to opt out #1846
Comments
Hey @christian-hess-94, sorry about this! For now, this should work: |
hi @bartekpacia! Thanks for the response. This is the way we are running the maestro command: const MAESTRO_TEST_COMMAND = `${process.env.HOME}/.maestro/bin/maestro test .maestro/storybook.yml`;
...
const child = spawn(MAESTRO_TEST_COMMAND , [], { ...options, shell: true }); So i'd change it to: const MAESTRO_TEST_COMMAND = `printf 'n\n' | ${process.env.HOME}/.maestro/bin/maestro test .maestro/storybook.yml`;
...
const child = spawn(MAESTRO_TEST_COMMAND , [], { ...options, shell: true });` |
Hey @christian-hess-94, v1.37.4 is out and this problem should no longer occur on CIs. To disable analytics collection (and asking for it), set
Please let me know if the issue persists. |
awesome thanks for the quick response, I'll try to implement it here and circle back to you! |
@bartekpacia would this work as a way to set the analytics env variable? |
Nope. On GitHub Actions you set env vars in a bit different way - see here |
Yes, that should work. If it solves your problem, please close the issue. Cheers! |
This was released in v1.37.4. If this issue still occurs to you, please comment. |
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. |
Is there an existing issue for this?
Steps to reproduce
We are pushing a RN update in our app. We use maestro for running visual regression screenshot tests, and the branch that has the update is getting stuck when maestro asks us to opt into analytics:
Actual results
The CICD workflow gets stuck after bundling the app and running maestro, as maestro asks for us to opt into analytics:
Expected results
We would like to know if we can modify the command to run maestro to automatically opt out of analytics (we do not wish to opt in at this point)
About app
The app is closed source. The issue with maestro is happening only when running out visual regression suites via github actions CICD runners.
About environment
The workflow runs on ubuntu, I don't know which specific version
Logs
Logs
Maestro version
1.33.1
How did you install Maestro?
install script (https://get.maestro.mobile.dev)
Anything else?
This is the step where we are installing maestro in our CICD machine:
run: |
export MAESTRO_VERSION="1.33.1"
curl -Ls "https://get.maestro.mobile.dev" | bash
The text was updated successfully, but these errors were encountered: