diff --git a/tests/browser.py b/tests/browser.py index 8b9383012..289ef88a2 100644 --- a/tests/browser.py +++ b/tests/browser.py @@ -47,7 +47,7 @@ def test_admin_ui_renders_properly(self): self.assertTrue(header.is_displayed()) # Select Kinto Accounts. - radio = self.driver.find_element(By.CSS_SELECTOR, "input[value='accounts']") + radio = self.driver.find_element(By.XPATH, "//label[contains(.,'Kinto Account Auth')]") radio.click() # Fill username and password.