diff options
Diffstat (limited to 'bitbake/lib/toaster/tests/browser')
-rw-r--r-- | bitbake/lib/toaster/tests/browser/test_all_builds_page.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_all_builds_page.py b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py index 5ea6532536..521a280de8 100644 --- a/bitbake/lib/toaster/tests/browser/test_all_builds_page.py +++ b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py | |||
@@ -97,13 +97,13 @@ class TestAllBuildsPage(SeleniumTestCase): | |||
97 | self.get(url) | 97 | self.get(url) |
98 | 98 | ||
99 | # shouldn't see a rebuild button for command-line builds | 99 | # shouldn't see a rebuild button for command-line builds |
100 | selector = 'div[data-latest-build-result="%s"] a.run-again-btn' % default_build.id | 100 | selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % default_build.id |
101 | run_again_button = self.find_all(selector) | 101 | run_again_button = self.find_all(selector) |
102 | self.assertEqual(len(run_again_button), 0, | 102 | self.assertEqual(len(run_again_button), 0, |
103 | 'should not see a rebuild button for cli builds') | 103 | 'should not see a rebuild button for cli builds') |
104 | 104 | ||
105 | # should see a rebuild button for non-command-line builds | 105 | # should see a rebuild button for non-command-line builds |
106 | selector = 'div[data-latest-build-result="%s"] a.run-again-btn' % build1.id | 106 | selector = 'div[data-latest-build-result="%s"] .rebuild-btn' % build1.id |
107 | run_again_button = self.find_all(selector) | 107 | run_again_button = self.find_all(selector) |
108 | self.assertEqual(len(run_again_button), 1, | 108 | self.assertEqual(len(run_again_button), 1, |
109 | 'should see a rebuild button for non-cli builds') | 109 | 'should see a rebuild button for non-cli builds') |