Skip to content

[BUG] JUnit Report should contain subdirectories in property file #96

@ceopaludetto

Description

@ceopaludetto

Description

JUnit Report doesn't consider subdirectories in property file,

Steps to Reproduce

  1. Create a config.yaml:
# Allow any .yaml file
flows:
  - "./**/*.yaml"
  1. Create a flow in a subdirectory:
maestro/
  config.yaml
  authentication/
    flow.yaml
  1. Run maestro-runner
  2. Check JUnit Report, property file should be authentication/flow.yaml but actually it is just flow.yaml

Expected Behavior

Property file should consider subdirectories in JUnit Report (relative to config.yaml)

Actual Behavior

Property file only consider filename and discard all his path

Environment

  • OS: macOS Tahoe 26.3
  • Go version: -
  • maestro-runner version: 1.1.16
  • Executor: Devicelab on Android
  • Device/Simulator: Pixel 9 Pro Emulator

Flow File

appId: app.clutchify
name: Sign In
tags:
  - Authentication
commandTimeout: 60000
---
- launchApp:
  clearState: true

- tapOn: Sign In

Error Output

-

Additional Context

This would be useful to use this action https://github.com/mikepenz/action-junit-report to properly report maestro-runner errors in CI on GitHub

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions