As an engineer
In order to save time and journey executions
I should be able to rerun failed tests from github checks
Scenario: Rerun a failed test because of poor test design
Given I have a mabl journey that was poorly designed
And this journey is in a plan with 10 other journeys
And I have a github PR that triggered the plan containing this bad journey
When I have the 1 failed journey
Then I should be able to fix this 1 failed journey
And I should be able to rerun this journey with the new changes.
Scenario: Rerun failed test(s) due to environmental issues
Given I have a mabl plan triggered by a Github PR
When the plan fails with 1 or 2 journeys from an environmental issue
Then I should be able to rerun those journeys only.
In reality there will be times when tests will fail as false positives. This can be environmental, poor test design or just pure browser magic.
Having to rerun potentially big plans in entirety means we are needlessly using up journeys from our monthly allocation, in turn this can either block our use of mabl or cost us more money very quickly.