username truncation functionality added
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -8,7 +8,7 @@ from .my_lists_page import MyListsPage
|
||||
class MyListsTest(FunctionalTest):
|
||||
|
||||
def test_logged_in_users_lists_are_saved_as_my_lists(self):
|
||||
self.create_pre_authenticated_session("discoman@example.com")
|
||||
self.create_pre_authenticated_session("disco@test.io")
|
||||
|
||||
self.browser.get(self.live_server_url)
|
||||
list_page = ListPage(self)
|
||||
@@ -16,7 +16,7 @@ class MyListsTest(FunctionalTest):
|
||||
list_page.add_list_item("Regurgitate spines")
|
||||
first_list_url = self.browser.current_url
|
||||
|
||||
MyListsPage(self).go_to_my_lists_page("discoman@example.com")
|
||||
MyListsPage(self).go_to_my_lists_page("disco@test.io")
|
||||
|
||||
self.wait_for(
|
||||
lambda: self.browser.find_element(By.LINK_TEXT, "Reticulate splines")
|
||||
@@ -34,7 +34,7 @@ class MyListsTest(FunctionalTest):
|
||||
self.wait_for(
|
||||
lambda: self.browser.find_element(By.LINK_TEXT, "Ribbon of death")
|
||||
)
|
||||
MyListsPage(self).go_to_my_lists_page("discoman@example.com")
|
||||
MyListsPage(self).go_to_my_lists_page("disco@test.io")
|
||||
|
||||
self.browser.find_element(By.CSS_SELECTOR, "#id_logout").click()
|
||||
self.wait_for(
|
||||
|
||||
Reference in New Issue
Block a user