[Rt-commit] rtir branch, 4.2-theme/test-web-ticket-watchers-regex, created. 4.0.1rc1-91-g77983ebe
Blaine Motsinger
blaine at bestpractical.com
Fri Sep 6 19:56:28 EDT 2019
The branch, 4.2-theme/test-web-ticket-watchers-regex has been created
at 77983ebe54651be26b7523aac35244694bf4fa76 (commit)
- Log -----------------------------------------------------------------
commit 77983ebe54651be26b7523aac35244694bf4fa76
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Fri Sep 6 18:50:54 2019 -0500
Fix ticket linked test regex for elevator themes
diff --git a/lib/RT/IR/Test/Web.pm b/lib/RT/IR/Test/Web.pm
index 2d1635ab..470d8fd7 100644
--- a/lib/RT/IR/Test/Web.pm
+++ b/lib/RT/IR/Test/Web.pm
@@ -310,7 +310,7 @@ sub has_watchers {
$self->display_ticket($id);
return $self->content_like(
-qr{<td class="labeltop">Correspondents:</td>\s*<td class="value">\s*<span class="user" data-user-id="\d+">\s*<a href="/User/Summary\.html\?id=\d+">\s*([@\w\.&;]+)\s*</a></span>}ms,
+qr{Correspondents:\s*</div>\s*<div class="value col-md-9">\s*<span[^>]*?\s*class="\w+[^>]*?><span class="user" data-user-id="\d+">\s*<a href="/User/Summary\.html\?id=\d+">\s*([@\w\.&;]+)\s*</a></span>}ms
"Found $type",
);
}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list