Skip to content

Commit

Permalink
adjusting logic as per review - removed pass
Browse files Browse the repository at this point in the history
  • Loading branch information
omehes committed Dec 11, 2023
1 parent 4484eed commit 4fda2fd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/ui/content/test_content_validation_all_book_repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ def test_content_validation_all_book_repos(
home = HomePoet(chrome_page)

if not home.continue_with_github_is_visible:
if home.gitpod_user_dropdown.inner_text() == "0 openstax":
pass

else:
if home.gitpod_user_dropdown.inner_text() != "0 openstax":
home.click_gitpod_user_dropdown()
home.click_gitpod_user_selector()

Expand Down Expand Up @@ -94,10 +91,7 @@ def test_content_validation_all_book_repos(

github_login_window.click(sign_in_button_selector)

if home.gitpod_user_dropdown.inner_text() == "0 openstax":
pass

else:
if home.gitpod_user_dropdown.inner_text() != "0 openstax":
home.click_gitpod_user_dropdown()
home.click_gitpod_user_selector()

Expand Down

0 comments on commit 4fda2fd

Please sign in to comment.