]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - Fix Selenium tests for #1362
authorKohei Yoshino <kohei.yoshino@gmail.com>
Sun, 9 Feb 2020 04:12:44 +0000 (23:12 -0500)
committerGitHub <noreply@github.com>
Sun, 9 Feb 2020 04:12:44 +0000 (23:12 -0500)
qa/t/test_flags.t

index 5504aff46c749d942d7e92d0ffc41c77bcf8308e..67ea251bc7d10467e12b2fb59dc2727017ede613 100644 (file)
@@ -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});