I am trying to use Maestro CLI to test my application, but I encountered an issue when running the maestro command. Here is the error I receive:
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'int org.fusesource.jansi.internal.CLibrary.isatty(int)'
at org.fusesource.jansi.internal.CLibrary.isatty(Native Method)
at maestro.cli.DisableAnsiMixin$Companion.applyCLIMixin(DisableAnsiMixin.kt:43)
at maestro.cli.DisableAnsiMixin$Companion.executionStrategy(DisableAnsiMixin.kt:21)
at picocli.CommandLine.execute(CommandLine.java:2078)
at maestro.cli.AppKt.main(App.kt:144)
System Information:
OS: Fedora Workstation 41
Java version: OpenJDK 21.0.3 (LTS)
Maestro version: CLI 1.39.13 (installed via the official documentation)
Steps to Reproduce:
Installed Maestro using the instructions from the official website.
Ran the
maestrocommand to confirm the installation.Encountered the above error.
What I've Tried:
Reinstalling Maestro.
Verifying that the
jansilibrary is installed on my system. It seems to be included already.Running a flow test with Maestro, but the same error persists.
Additional Notes:
From what I understand, the issue might be related to Jansi's native dependencies or compatibility with Fedora.
If anyone has encountered this issue or has suggestions to resolve it, your help would be greatly appreciated!
Thank you in advance!