Rev 1 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
@tool @tool_taskFeature: Clear scheduled task fail delayIn order to stop failures from delaying a scheduled task runAs an adminI need to be able to clear the fail delay on a taskBackground:Given the scheduled task "\core\task\send_new_user_passwords_task" has a fail delay of "60" secondsAnd I log in as "admin"And I navigate to "Server > Tasks > Scheduled tasks" in site administrationScenario: Any fail delay is highlightedThen I should see "1 min" in the "Send new user passwords" "table_row"And I should see "Clear" in the "Send new user passwords" "table_row"And I should see "1 min" in the "td.table-danger" "css_element"Scenario: Clear fail delayWhen I click on "Clear" "text" in the "Send new user passwords" "table_row"And I should see "Are you sure you want to clear the fail delay"And I press "Clear"Then I should not see "1 min" in the "Send new user passwords" "table_row"And I should not see "Clear" in the "Send new user passwords" "table_row"And I should see "Send new user passwords" in the "tr.table-primary" "css_element"Scenario: Cancel clearing the fail delayWhen I click on "Clear" "text" in the "Send new user passwords" "table_row"And I press "Cancel"Then I should see "1 min" in the "Send new user passwords" "table_row"And I should see "Clear" in the "Send new user passwords" "table_row"And I should see "Send new user passwords" in the "tr.table-primary" "css_element"