From 83805af56843d064f974f9ea034131709feaccf9 Mon Sep 17 00:00:00 2001 From: Arthur Suzuki Date: Fri, 13 Jan 2023 17:32:02 +0100 Subject: [PATCH] Fix selenium tests Signed-off-by: Arthur Suzuki --- t/lib/Selenium.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lib/Selenium.pm b/t/lib/Selenium.pm index b49bc730b0..bb3fd1a6ac 100644 --- a/t/lib/Selenium.pm +++ b/t/lib/Selenium.pm @@ -134,7 +134,7 @@ sub submit_form { return; } - my $default_submit_selector = '//fieldset[@class="action"]/input[@type="submit"]'; + my $default_submit_selector = '//div[@id="login"]//fieldset[@class="action"]/input[@type="submit"]'; $self->driver->find_element($default_submit_selector)->click } -- 2.39.5