From: Kohei Yoshino Date: Sun, 9 Feb 2020 04:12:44 +0000 (-0500) Subject: no bug - Fix Selenium tests for #1362 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b036042e70498d4febee4a67a0d0a367612ff4b;p=thirdparty%2Fbugzilla.git no bug - Fix Selenium tests for #1362 --- 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});