You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rerun Failed Tests does nothing on a run replayed from Test History #168
On a tab replayed from Test History, Rerun Failed Tests starts nothing. Expected: a run of the replayed run's failed tests, as on a live tab.
Both builds build the rerun from myConsoleProperties.configuration and give up unless it is a TestoRunConfiguration. On a replayed tab TestoConsoleProperties.getConfiguration() answers the TestoRunReplayProfile instead (so the replay does not act like a run), so the action always returns null; PhpStorm also logs php.testo.run.configuration.rerun.incorrect.configuration. Found by reading the code, not reproduced in a running IDE.
Steps to reproduce
Run a Testo configuration with at least one failing test.
Open that run from Test History.
Press Rerun Failed Tests on the replayed tab.
Proposed solution
Take the configuration from the replay profile when the properties hold one (TestoRunReplayProfile.testoConfiguration, already restored from run.json), in TestoRerunFailedTestsAction.getRunProfile of both src/phpstorm and src/openide.
Activity