Permalink
Browse files

update locator

  • Loading branch information...
1 parent 03d8303 commit b748b991dba2e534e25598f25b916df3266a8509 @bebef1987 committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pages/create_suite_page.py
@@ -47,7 +47,7 @@ def create_suite(self, name='Test Suite', product='Test Product', desc='This is
if case_list:
for case in case_list:
- case_element = self.selenium.find_element(By.XPATH, "//article[@data-title='%s']/input" % case)
+ case_element = self.selenium.find_element(By.XPATH, "//article[@data-title='%s']/div/label" % case)
case_element.click()
self.selenium.find_element(*self._include_selected_cases_locator).click()
self.selenium.find_element(*self._submit_locator).click()

0 comments on commit b748b99

Please sign in to comment.