Skip to content

Commit

Permalink
Fix Logged in User Case Issue (#121)
Browse files Browse the repository at this point in the history
* Fix Logged in User Case Issue

* compare lower case of username in audit logs

* verbose logging

* fix

---------

Co-authored-by: Hara Prasad Juvvala <haraprasadj@uchicago.edu>
  • Loading branch information
krishnaa05 and haraprasadj authored Oct 24, 2024
1 parent 48d6df2 commit bbee70f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion gen3-integration-tests/pages/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def login(
):
page.locator(self.USER_PROFILE_DROPDOWN).click()
expect(
page.locator(f'//div[contains(text(), "{logged_in_user}")]')
page.get_by_role("link").filter(has_text=logged_in_user)
).to_be_visible(timeout=10000)
screenshot(page, "AfterLogin")
self.handle_popup(page)
Expand Down
1 change: 0 additions & 1 deletion gen3-integration-tests/services/audit.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import datetime
import math
import os
import pytest
import time

Expand Down

0 comments on commit bbee70f

Please sign in to comment.