mobile-dev-inc / maestro

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

Running a test folder vastly reduces the test output #507

Open dialex opened 1 year ago

dialex commented 1 year ago

Running a test:

$ maestro test test/file.e2e.yml

 ║  > Flow
 ║
 ║    ✅  Clear state of com.app
 ║    ❌  Launch app "com.app"
 ║    🔲 Assert that ".*Terms of Service.*" is visible
 ║    🔲 Tap on "Get started"
 ║    🔲 Input text something@gmail.com
 ║    🔲 Hide Keyboard
 ║    🔲 Tap on "Next"
 ║    🔲 Assert that "Verification code" is visible

Running a folder:

$ maestro test test

Waiting for flows to complete...

[Failed] file.e2e

1/1 Flow Failed
cenci7 commented 1 year ago

I would love that change!

lgawin commented 1 year ago

I use JUnit report when running whole test suite:

maestro test --format junit test/

that brings more details ...

Hema-ACS commented 1 year ago

I used JUnit, but the error statement is not clear. Maybe we could get a chance to take a screenshot when it's failed

simon-gilmurray commented 1 year ago

Would be good to expand this reporting to reveal more about where and why it failed

solidcell commented 1 year ago

Even just having the output of running a folder be as verbose as running a single file would be great.

bartekpacia commented 1 month ago

related to #1674