diff --git a/jupyterhub/tests/browser/test_share.py b/jupyterhub/tests/browser/test_share.py index 9d86f757..8dfcb29c 100644 --- a/jupyterhub/tests/browser/test_share.py +++ b/jupyterhub/tests/browser/test_share.py @@ -52,12 +52,12 @@ async def test_share_code_flow_full(app, browser, full_spawn, create_user_with_s assert f"access {user.name}'s server" in header_text assert f"You ({share_user.name})" in header_text # TODO verify form - submit = browser.locator('//input[@type="submit"]') + submit = browser.locator('//button[@type="submit"]') await submit.click() # redirects to server, which triggers oauth approval await expect(browser).to_have_url(re.compile(r".*/oauth2/authorize")) - submit = browser.locator('//input[@type="submit"]') + submit = browser.locator('//button[@type="submit"]') await submit.click() # finally, we are at the server! diff --git a/share/jupyterhub/templates/accept-share.html b/share/jupyterhub/templates/accept-share.html index cb0fc91f..ae2ab51a 100644 --- a/share/jupyterhub/templates/accept-share.html +++ b/share/jupyterhub/templates/accept-share.html @@ -45,7 +45,7 @@
After accepting the invitation, you will be redirected to {{ next_url }}.
- + diff --git a/share/jupyterhub/templates/spawn.html b/share/jupyterhub/templates/spawn.html index e538fb36..5a80fc11 100644 --- a/share/jupyterhub/templates/spawn.html +++ b/share/jupyterhub/templates/spawn.html @@ -25,7 +25,7 @@ {{spawner_options_form | safe}}