Project

General

Profile

action #69979

Updated by okurz over 3 years ago

## Motivation 
 As a user of the web UI I want to have the advanced restart actions available over the UI so that I do not have to learn or use the API 

 ## Acceptance criteria 

 * **AC1:** The additional flags the [REST-API offers for restarting](https://github.com/os-autoinst/openQA/blob/master/docs/WritingTests.asciidoc#further-notes) can be specified when restarting a job via the web UI's job details page as well 

 ## Out of scope 

 Any additional UI extensions, e.g. to change test parameters on restart 

 ## Further notes 

 * This should be fairly simple to implement. Just create another icon next to the help icon and show some checkboxes somewhere. If there's no fitting place, just put them into a modal dialog. 
 * Compare to ![github_merge_button_with_options.png](github_merge_button_with_options.png) but use radio buttons 
 * For simplicity I would not touch the other places where the web UI shows the restart button. 


 ## Workaround 

 * Instead of trying to restart failed children restart the parent over API and skip passed children following https://open.qa/docs/#_further_notes_2 
 * As an alternative to `START_DIRECTLY_AFTER_TEST` one can define a specific "machine" with a specific worker class that is only fulfilled by a single, unique worker instance

Back