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