Skip to content

continueOnFailure not respected when flows in a subdirectory #2469

Open
@ben-pomelo

Description

@ben-pomelo

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

Create maestro/config.yaml like so:

flows:
  - "**"
executionOrder:
  continueOnFailure: false
  flowsOrder:
    - firstFlow
    - subdir/*
    - lastFlow

Make sure there are tests inside subdir.

Introduce a bug that causes firstFlow to fail, and then run the entire directory with

maestro test maestro

Actual results

All the tests inside subdir run after firstFlow fails.

Expected results

It should return immediately instead and NOT run all the tests inside subdir. This issue seems to be specifically with subdirectories.

About app

This issue happens in both iOS and Android.

About environment

This issue happens both locally (2021 M1 Macbook Pro) and in Expo EAS Workflow maestro jobs.

Logs

Logs
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->

Maestro version

1.40.1

How did you install Maestro?

Homebrew

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions