From 7b036042e70498d4febee4a67a0d0a367612ff4b Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Sat, 8 Feb 2020 23:12:44 -0500 Subject: [PATCH] no bug - Fix Selenium tests for #1362 --- qa/t/test_flags.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/t/test_flags.t b/qa/t/test_flags.t index 5504aff46..67ea251bc 100644 --- a/qa/t/test_flags.t +++ b/qa/t/test_flags.t @@ -385,7 +385,7 @@ my $attachment1_id = $1; # Now create another attachment, and set requestees. -$sel->click_ok("link=Attach File"); +$sel->click_ok("attachments-add-link"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Create New Attachment for Bug #$bug1_id"); $sel->attach_file('//input[@name="data"]', $config->{attachment_file}); @@ -412,7 +412,7 @@ my $attachment2_id = $1; # Create a third attachment, but we now set the MIME type manually. -$sel->click_ok("link=Attach File"); +$sel->click_ok("attachments-add-link"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Create New Attachment for Bug #$bug1_id"); $sel->attach_file('//input[@name="data"]', $config->{attachment_file}); -- 2.47.3