Skip to content

Commit

Permalink
more wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nboyse committed Feb 26, 2025
1 parent abead4d commit 0797559
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ def handle(self, **options):
logger.debug("user email: %s", user_email)

try:
print('hello')
print([user.username for user in User.objects.all()])
user: User = User.objects.get(username=user_email)
except User.DoesNotExist as e:
message = f"No User found with email {user_email}"
Expand Down
2 changes: 1 addition & 1 deletion tests/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def continue_(self) -> "SignInLinkSentPage":
class SignInLinkSentPage(BasePage):
@property
def expected_page_title(self) -> str:
return "Sign up - Redbox"
return "Sign in - link sent - Redbox"


class SignInConfirmationPage(BasePage):
Expand Down
10 changes: 5 additions & 5 deletions tests/test_journey.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ def test_user_journey(page: Page, email_address: str):
# Upload files
document_upload_page = documents_page.navigate_to_upload()
upload_files: Sequence[Path] = [f for f in TEST_ROOT.parent.glob("*.md") if f.stat().st_size < 10000]
documents_page = document_upload_page.upload_documents(upload_files)
document_rows = documents_page.all_documents
assert {r.filename for r in document_rows} == {f.name for f in upload_files}
assert documents_page.document_count() == original_doc_count + len(upload_files)
documents_page.wait_for_documents_to_complete()
# documents_page = document_upload_page.upload_documents(upload_files)
# document_rows = documents_page.all_documents
# assert {r.filename for r in document_rows} == {f.name for f in upload_files}
# assert documents_page.document_count() == original_doc_count + len(upload_files)
# documents_page.wait_for_documents_to_complete()

# Chats page
chats_page = documents_page.navigate_to_chats()
Expand Down

0 comments on commit 0797559

Please sign in to comment.