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

tapOn with optional: true parameter doesn't work on iOS #1807

Closed
giangpham96 opened this issue Jul 17, 2024 · 4 comments
Closed

tapOn with optional: true parameter doesn't work on iOS #1807

giangpham96 opened this issue Jul 17, 2024 · 4 comments
Labels
waiting for customer response More information is needed from the customer before we can progress on the issue

Comments

@giangpham96
Copy link

Describe the bug
It seems like tapOn with optional: true parameter doesn't work on iOS.

To Reproduce
Steps to reproduce the behavior, e.g.:
Having a test like this

appId: ${APP_ID}
tags:
  - abc
---
- launchApp:
    permissions: { all: allow } 
- tapOn:
    text: "Dismiss"
    optional: true
...
  1. Start the simulator
  2. Execute the test on an iPhone simulator
  3. The Flow fails at ...
[Fail]	Tap on (Optional) "Dismiss"

Expected behavior

It should ignore if it can't find the text with "Dismiss" label

Environment information (please complete the following information):

  • Maestro version: 1.36.0
  • Platform: iOS 17.0
  • Framework: Native iOS
  • Device model and OS version: iPhone 15 Pro
  • Simulator, emulator or physical device: simulator
  • Host: Mac M1
@giangpham96 giangpham96 added the bug Something isn't working label Jul 17, 2024
@giangpham96 giangpham96 changed the title [Maestro version, e.g. v1.2.3] tapOn with optional: true parameter doesn't work on iOS Jul 17, 2024
@giangpham96 giangpham96 changed the title tapOn with optional: true parameter doesn't work on iOS tapOn with optional: true parameter doesn't work on iOS Jul 17, 2024
@bartekpacia
Copy link
Member

Hey @giangpham96, thanks for reporting this bug. We don't have bandwidth for it right now, but we're glad to merge a contribution.

@bartekpacia bartekpacia added good first issue Good for newcomers wanting to contribute platform: ios Testing iOS apps is affected labels Aug 3, 2024
@bartekpacia bartekpacia added waiting for customer response More information is needed from the customer before we can progress on the issue and removed bug Something isn't working good first issue Good for newcomers wanting to contribute labels Aug 15, 2024
@bartekpacia
Copy link
Member

Hey, I could not reproduce it on latest version 1.37.9. Please provide more information.

@bartekpacia bartekpacia removed the platform: ios Testing iOS apps is affected label Aug 16, 2024
Copy link

Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it.

Feel free to open a new issue with all the required information provided, including a minimal, reproducible sample. When creating a new issue, please make sure to diligently fill out the issue template.

Thank you for your contribution to our open-source community!

Copy link

github-actions bot commented Sep 5, 2024

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 Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting for customer response More information is needed from the customer before we can progress on the issue
Projects
None yet
Development

No branches or pull requests

2 participants