diff options
Diffstat (limited to 'lib/toaster/tests/browser/test_project_config_page.py')
-rw-r--r-- | lib/toaster/tests/browser/test_project_config_page.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/toaster/tests/browser/test_project_config_page.py b/lib/toaster/tests/browser/test_project_config_page.py index ede53b64569..7fc12521823 100644 --- a/lib/toaster/tests/browser/test_project_config_page.py +++ b/lib/toaster/tests/browser/test_project_config_page.py @@ -99,7 +99,10 @@ class TestProjectConfigsPage(SeleniumTestCase): self.wait_until_visible('#new-imagefs_types') - checkboxes = self.driver.find_elements_by_xpath("//input[@class='fs-checkbox-fstypes']") + checkboxes_selector = '.fs-checkbox-fstypes' + + self.wait_until_visible(checkboxes_selector) + checkboxes = self.find_all(checkboxes_selector) for checkbox in checkboxes: if checkbox.get_attribute("value") == "cpio": |