Skip to content

Commit

Permalink
changes to focusing and more
Browse files Browse the repository at this point in the history
  • Loading branch information
omehes committed Sep 25, 2024
1 parent de8a57e commit d3c8945
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions tests/ui/pages/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ def push_message_input_field_is_visible(self):
def push_message_input_field_not_visible(self):
return self.page.locator("div.monaco-inputbox.idle")

@property
def push_content_dialog_box(self):
return self.page.locator("div > div.notifications-toasts.visible")

@property
def generate_readme_button_is_visible(self):
return self.page.get_by_text("Generate README", exact=True)
Expand Down Expand Up @@ -279,6 +275,7 @@ def gitpod_menubar_locator(self):
return self.page.locator("div.menubar-menu-button")

def click_gitpod_menubar(self):
self.gitpod_menubar_locator.focus()
self.gitpod_menubar_locator.click()

@property
Expand Down
1 change: 0 additions & 1 deletion tests/ui/test_readme_validate_other_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def test_readme_validate_other_features(
home.click_push_content_button()

assert home.push_message_input_field_is_visible
assert "Push Content: Pushing..." in home.push_content_dialog_box.inner_text()

chrome_page.keyboard.press("Escape")
assert home.push_message_input_field_not_visible
Expand Down

0 comments on commit d3c8945

Please sign in to comment.