orbs icon indicating copy to clipboard operation
orbs copied to clipboard

Failed job only runs failed tests on `Rerun workflow from start`

Open jameskip opened this issue 2 years ago • 2 comments

When rerunning a failed workflow in CircleCI only failed tests are rerun.

Expected workflow to run all tests as if it were a new workflow.

Screen Shot 2022-03-23 at 5 34 56 PM

jameskip avatar Mar 23 '22 22:03 jameskip

hey hey could you please give a bit more context.

  • What command are you using?
  • What did you pass into the command's parameters
  • what was the expected outcome and what is the current outcome?

Right now your screenshot doesnt give me enough data to debug what is going on here.

roopakv avatar Mar 24 '22 06:03 roopakv

Sure! Here's an example:

Scenario Given we have a workflow that has Failed in CircleCI When I click Rerun workflow from start under actions on my pipeline Then I expect the workflow to begin from beginning with no state persisting from the previous run

Actual result Instead of running all tests again, only failed tests are rerun. We get No specs was found... in the console. See attached screenshot.

jameskip avatar Mar 24 '22 13:03 jameskip