diff --git a/server/webdriver/shared_tests/ranking_test.py b/server/webdriver/shared_tests/ranking_test.py index 6ef82a4dfd..3e4b6fa071 100644 --- a/server/webdriver/shared_tests/ranking_test.py +++ b/server/webdriver/shared_tests/ranking_test.py @@ -112,5 +112,5 @@ def test_population_top_ranking_ko(self): chart = self.driver.find_element(By.CLASS_NAME, 'chart-container') y_text = chart.find_elements(By.CLASS_NAME, 'y')[0].find_elements(By.TAG_NAME, 'text') + self.assertGreater(len(y_text), 1) self.assertEqual(y_text[0].text, '0') - self.assertEqual(y_text[-1].text, '12억')