[X] I have searched the existing issues and didn't find mine.
Steps to reproduce
Running mestro test using tags_include and tags_exclude flags
Have a step runScript: file: ../../mp-actions/your-script.js in the test yaml
The js script should contain lines console.log or console.error
Actual results
When running maestro test with the use of tags, js script console log and error is not shown, which makes it really hard to debug issue when tests fail. TestSuiteInteractor is invoked when running maestro tests using tags_include and tags_exclude flags, it seems to work differently from maestro.cli.runner.TestRunner, which is triggered when running individual maestro test file.
With TestSuiteInteractor, here is the error message shown when there is failure running the js file:
09:35:49.886 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Run ../../mp-actions/approveNewUser.js RUNNING09:35:51.171 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Run ../../mp-actions/approveNewUser.js FAILED
Expected results
When running the individual maestro test file, you can clear see the js log or error, I would like to see the same output when running maestro tests with tags
Example
About app
Closed project, I cannot share the app unfortunately
Is there an existing issue for this?
Steps to reproduce
tags_include
andtags_exclude
flagsrunScript: file: ../../mp-actions/your-script.js
in the test yamlconsole.log
orconsole.error
Actual results
When running maestro test with the use of tags, js script console log and error is not shown, which makes it really hard to debug issue when tests fail.
TestSuiteInteractor
is invoked when running maestro tests usingtags_include
andtags_exclude
flags, it seems to work differently frommaestro.cli.runner.TestRunner
, which is triggered when running individual maestro test file.With
TestSuiteInteractor
, here is the error message shown when there is failure running the js file:09:35:49.886 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Run ../../mp-actions/approveNewUser.js RUNNING
09:35:51.171 [ INFO] maestro.cli.runner.TestSuiteInteractor.invoke: Run ../../mp-actions/approveNewUser.js FAILED
Expected results
When running the individual maestro test file, you can clear see the js log or error, I would like to see the same output when running maestro tests with tags
Example
About app
Closed project, I cannot share the app unfortunately
About environment
Java version 23.0.1
Logs
Logs
``` ```Maestro version
1.39.1
How did you install Maestro?
install script (https://get.maestro.mobile.dev)
Anything else?
No response