styling & subsequent testing bugs fixed across apps.dash.tests.ITs.test_views, functional_tests.test_dashboard,_dashboard.scss & apps/dash/_partials/_applets.html
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -19,10 +19,10 @@ class DashboardMaintenanceTest(FunctionalTest):
|
||||
self.browser.get(self.live_server_url)
|
||||
# 3. Find the username applet on the page; look for a <section> or <div> with id="id_username_applet"
|
||||
self.browser.find_element(By.ID, "id_applet_username")
|
||||
# 4. Assert it shows the current display name (truncated email: di…an@e…e.com)
|
||||
self.assertIn("di…an@e…e.com", self.browser.find_element(By.ID, "id_applet_username").text)
|
||||
# 5. Find the username input field inside the applet & type a username
|
||||
username_input = self.browser.find_element(By.CSS_SELECTOR, "#id_new_username")
|
||||
# 4. Assert it shows the current display name (truncated email: di…an@e…e.com) NOPE the username value itself now
|
||||
self.assertEqual("", username_input.get_attribute("value"))
|
||||
# 6. Type a username, e.g., discoman
|
||||
username_input.send_keys("discoman")
|
||||
self.wait_for(
|
||||
|
||||
Reference in New Issue
Block a user