Skip to content

Commit

Permalink
Update h1 check.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouder committed Nov 7, 2024
1 parent edc22c0 commit d271131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jhub_apps/tests/tests_e2e/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_panel_app_creation(playwright: Playwright, with_server_options) -> None
profile_menu = page.locator("id=profile-menu-btn")
expect(profile_menu).to_be_visible()
page_title = page.locator("h1")
expect(page_title).to_have_text("Home")
expect(page_title).to_be_visible()
# Create the App
create_app(
app_name, page, with_server_options, share_with_users=[share_with_user]
Expand Down Expand Up @@ -107,7 +107,7 @@ def create_app(
expect(deploy_button).to_be_visible()
deploy_button.click()
page_title = page.locator("h1")
expect(page_title).to_have_text("Deploy a new app")
expect(page_title).to_be_visible()
logger.info("Fill App display Name")
display_name_field = page.get_by_label("*Name")
expect(display_name_field).to_be_visible()
Expand Down

0 comments on commit d271131

Please sign in to comment.