diff --git a/tests/console/include/planned_downtime_functions.py b/tests/console/include/planned_downtime_functions.py index 8114c128c5..ca8e1dcd69 100644 --- a/tests/console/include/planned_downtime_functions.py +++ b/tests/console/include/planned_downtime_functions.py @@ -93,3 +93,7 @@ def search_planned_downtime(driver,name,type=None,date_from=None,date_to=None,sh driver.find_element_by_id("checkbox-archived").click() driver.find_element_by_id("submit-search").click() + +def stop_downtime(driver,name): + search_planned_downtime(driver,name) + driver.find_element_by_xpath('//*[@id="table3-0-stop"]/a/img').click()