[Rt-commit] rtir branch, 5.0/font-awesome-icon-links, updated. 4.0.1rc1-160-gc6a3f7a7

Craig Kaiser craig at bestpractical.com
Wed Jun 3 17:50:48 EDT 2020


The branch, 5.0/font-awesome-icon-links has been updated
       via  c6a3f7a747cec62243ef0731b7cc53b1958ab9c2 (commit)
      from  fc1b005d52401bc65f0b915dd49db3b985b107f5 (commit)

Summary of changes:
 lib/RT/IR/Test/Web.pm                 | 2 +-
 t/custom-fields/defaults-on-linking.t | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit c6a3f7a747cec62243ef0731b7cc53b1958ab9c2
Author: craig kaiser <craig at bestpractical.com>
Date:   Wed Jun 3 17:43:57 2020 -0400

    Update tests for font awesome icons

diff --git a/lib/RT/IR/Test/Web.pm b/lib/RT/IR/Test/Web.pm
index 21e588f4..72459c50 100644
--- a/lib/RT/IR/Test/Web.pm
+++ b/lib/RT/IR/Test/Web.pm
@@ -229,7 +229,7 @@ sub LinkChildToIncident {
     $self->display_ticket( $id);
 
     # Select the "Link" link from the Display page
-    $self->follow_link_ok({text => "Link", n => "1"}, "Followed 'Link(to Incident)' link");
+    $self->follow_link_ok({id => "link-incident", n => "1"}, "Followed 'Link(to Incident)' link");
 
     
     # Check that the desired incident occurs in the list of available incidents; if not, keep
diff --git a/t/custom-fields/defaults-on-linking.t b/t/custom-fields/defaults-on-linking.t
index 5392643d..3bd670dd 100644
--- a/t/custom-fields/defaults-on-linking.t
+++ b/t/custom-fields/defaults-on-linking.t
@@ -53,7 +53,7 @@ my $agent = default_agent();
 
     {
         $agent->display_ticket( $ir_id );
-        $agent->follow_link_ok({text => "New"}, "Followed 'New (Incident)' link")
+        $agent->follow_link_ok({id => "create-incident"}, "Followed 'New (Incident)' link")
             or diag $agent->content;
         $agent->form_number(3);
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list