From ae1a8bf7e20d9e789c25f4debc21091a21cbce24 Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Thu, 7 Sep 2023 08:49:35 +0000 Subject: [PATCH] Fix di test --- tests_notebooks/test_notebooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests_notebooks/test_notebooks.py b/tests_notebooks/test_notebooks.py index f7579fd1a..c18344d0f 100644 --- a/tests_notebooks/test_notebooks.py +++ b/tests_notebooks/test_notebooks.py @@ -136,7 +136,7 @@ def test_computational_resources_code_setup( # fill the SSH username driver.find_element( - By.XPATH, "(//label[text()='SSH username:'])[1]/following-sibling::input" + By.XPATH, "(//label[text()='username:'])[1]/following-sibling::input" ).send_keys("dummyuser") # click the quick setup @@ -165,7 +165,7 @@ def test_computational_resources_code_setup( # Get the element of index 3 which is the SSH username of second widget # the one of index 2 is the SSH username in detail setup of the first widget. driver.find_element( - By.XPATH, "(//label[text()='SSH username:'])[3]/following-sibling::input" + By.XPATH, "(//label[text()='username:'])[3]/following-sibling::input" ).send_keys("dummyuser") # click the quick setup