maestro
maestro copied to clipboard
Default description for asserting on enabled state is incorrect
Is there an existing issue for this?
- [X] I have searched the existing issues and didn't find mine.
Steps to reproduce
Given a demo app that shows a button called "Form Test" on the homepage (you know, like this one: https://github.com/mobile-dev-inc/demo_app) then run this flow:
appId: com.example.example
---
- launchApp
- assertNotVisible:
text: 'Form Test'
enabled: false
Actual results
║ ✅ Assert that "Form Test" is not visible
Expected results
║ ✅ Assert that "Form Test" (that is not enabled) is not visible
Would accept any less clumsy version of that text too :D
About app
Is the Demo App. https://github.com/mobile-dev-inc/demo_app
About environment
Linux, Java 17.
Logs
No response
Maestro version
1.39.0
How did you install Maestro?
install script (https://get.maestro.mobile.dev)
Anything else?
It's not catered for. https://github.com/mobile-dev-inc/maestro/blob/e957c5ef248afe672c2ba0bda3c555880a3dc990/maestro-orchestra-models/src/main/java/maestro/orchestra/Commands.kt#L383-L386