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

Pass different, platform-specific appIds in a single flow #1472

Open
bartekpacia opened this issue Sep 21, 2023 · 3 comments · May be fixed by #1952
Open

Pass different, platform-specific appIds in a single flow #1472

bartekpacia opened this issue Sep 21, 2023 · 3 comments · May be fixed by #1952
Labels
enhancement New feature request or improvement of an existing feature maestro cli Related to the command-line Maestro tool P2 Important and valid issues not at the top of the work list

Comments

@bartekpacia
Copy link
Contributor

bartekpacia commented Sep 21, 2023

Use case

My app is cross-platform, and its UI and accessibility labels are almost 100% the same across Android and iOS. The only thing that differs is the application ID (Android) and bundle ID (iOS), for historical reasons.

I'd like to be able to run the same flow on both platforms easily. Currently I have to change the appId manually inside the flow, or pass appId as env var, or split my single flow into 3 flows: 2 platform-specific flows and 1 common flow, containing all the test steps.

I think each of these solutions add a bit too much friction for something so basic.

Proposal

appId:
  android: pl.baftek.discoverrudy
  ios: pl.baftek.discoverRudy
---
- clearState
- launchApp
- tapOn: Increment
# ...
@felipevolpone
Copy link
Contributor

We don't plan to support this as env vars already addresses the problem

@felipevolpone felipevolpone closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Copy link

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.
Thank you for helping keep us our issue tracker clean!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 11, 2024
@bartekpacia
Copy link
Contributor Author

I don't quite agree with that -- and I'll use my newly gained superpowers to reopen this issue up for further discussion :)

@bartekpacia bartekpacia reopened this Jul 21, 2024
@bartekpacia bartekpacia added enhancement New feature request or improvement of an existing feature maestro cli Related to the command-line Maestro tool labels Jul 21, 2024
@bartekpacia bartekpacia added the P2 Important and valid issues not at the top of the work list label Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature request or improvement of an existing feature maestro cli Related to the command-line Maestro tool P2 Important and valid issues not at the top of the work list
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants