plugged up some testing holes with explicit placeholder urls in views and unit tests; most tests now pass

This commit is contained in:
Disco DeDisco
2026-01-02 00:00:56 -05:00
parent 3081cd85b1
commit 47bf26ce49
5 changed files with 31 additions and 18 deletions

View File

@@ -60,7 +60,7 @@ class NewVisitorTest(LiveServerTestCase):
self.wait_for_row_in_list_table('1. Buy peacock feathers')
edith_dash_url = self.browser.current_url
self.assertRegex(edith_dash_url, '/dashboard/.+')
self.assertRegex(edith_dash_url, '/apps/dashboard/.+')
self.browser.delete_all_cookies()
@@ -74,7 +74,7 @@ class NewVisitorTest(LiveServerTestCase):
self.wait_for_row_in_list_table('1. Buy milk')
francis_dash_url = self.browser.current_url
self.assertRegex(francis_dash_url, '/dashboard/.+')
self.assertRegex(francis_dash_url, '/apps/dashboard/.+')
self.assertNotEqual(francis_dash_url, edith_dash_url)
page_text = self.browser.find_element(By.TAG_NAME, 'body').text