mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.65k stars 255 forks source link

[v1.33.1] assertVisible is producing false positives in Maestro Studio #1532

Open clmoore28 opened 11 months ago

clmoore28 commented 11 months ago

Describe the bug Maestro Studio is not failing the assertVisible assertions when the elements do not exist.

To Reproduce

  1. Start the simulator for a React Native project on iOS or Android
  2. Run Maestro Studio
  3. Manually run an assertVisible assertion in the commands box for any ID that does not exist

Expected behavior The command fails.

Screenshots image

Environment information (please complete the following information):

hackgoofer commented 9 months ago

It is affecting me too

rikur commented 8 months ago

Any assertVisible or assertNotVisible seems to "pass" in Studio

rob4226 commented 6 months ago

Still happening in v1.36.0, it seems every command succeeds in studio when it should really fail.

Related issue #1617.