Fix test_editing_of_existing_suite_that_includes_cases by changing the way included cases are removed

This commit is contained in:
Bob Silverberg 2013-06-20 12:01:04 -04:00
Родитель f0e84088c0
Коммит 6cfaae1be0
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -74,9 +74,11 @@ class MozTrapEditSuitePage(MozTrapBasePage):
def remove_all_included_cases(self):
self.wait_for_element_not_present(*self._loading_included_cases_locator)
remove_button = self.find_element(*self._remove_selected_cases_button_locator)
self.find_element(*self._included_cases_select_all_checkbox_locator).click()
self.find_element(*self._remove_selected_cases_button_locator).click()
for case in self.included_cases:
case.select()
remove_button.click()
class TestCaseItem(PageRegion):