[Rt-commit] rtir branch, 5.0/font-awesome-icon-links, repushed
Craig Kaiser
craig at bestpractical.com
Thu Jun 4 09:13:56 EDT 2020
The branch 5.0/font-awesome-icon-links was deleted and repushed:
was a208c0fd0f322a89028b23daf2cf6bfd402ba509
now 1ca969bbe61179287491f4fa42b51ccdd7c9f3df
1: 9378a6e9 = 1: 9378a6e9 Use font awesome icons for Incident display links
2: 99fecf6c = 2: 99fecf6c Migrate basics links to font awesome icons
3: fc1b005d = 3: fc1b005d Use font awesome icon for RTIR at a glance edit button
4: a208c0fd ! 4: 1ca969bb Update tests for font awesome icons
@@ -40,3 +40,38 @@
or diag $agent->content;
$agent->form_number(3);
+
+diff --git a/t/incident/split.t b/t/incident/split.t
+--- a/t/incident/split.t
++++ b/t/incident/split.t
+@@
+ my $new_id = ($agent->content =~ /.*Ticket (\d+) created.*/i )[0];
+ ok ($new_id, "Ticket created successfully: #$new_id.");
+
+- $agent->follow_link_ok({text => "Launch", n => 2 }, "Followed link");
++ $agent->follow_link_ok({url_regex => qr(/RTIR/Create\.html\?Incident=\d+&Lifecycle=investigations)i }, "Followed link");
+ $agent->form_number(3);
+ $agent->field('Requestors', $rtir_user->EmailAddress);
+ $agent->click('Create');
+
+diff --git a/t/searches/menu.t b/t/searches/menu.t
+--- a/t/searches/menu.t
++++ b/t/searches/menu.t
+@@
+ {
+
+ $m->display_ticket( $ticket{ir}[0] );
+- $m->follow_link_ok( { text => 'Link' } );
++ $m->follow_link_ok( { id => 'link-incident' } );
+ $m->title_is("Link Report #$ticket{ir}[0] to selected Incident");
+
+ ok( !$m->find_link( url_regex => qr{/RTIR/Incident/Display.html\?id=$ticket{incident}[0]$} ),
+@@
+ # Link FromIncident
+ {
+ $m->display_ticket( $ticket{incident}[0] );
+- $m->follow_link_ok( { text => 'Link', url_regex => qr{Link/FromIncident} } );
++ $m->follow_link_ok( { url_regex => qr{Link/FromIncident} } );
+ $m->title_is("Link selected Report to Incident #$ticket{incident}[0]");
+
+ ok(
More information about the rt-commit
mailing list