[Rt-commit] rt branch, 4.6/test-web-ticket-status-regex, repushed

Blaine Motsinger blaine at bestpractical.com
Fri Sep 6 13:07:33 EDT 2019


The branch 4.6/test-web-ticket-status-regex was deleted and repushed:
       was a10b16481d95e09c03d82035d4245bf6a159f4a4
       now ded331a91afb3ee12257fcb630c457cf93b5feed

1: a10b16481 ! 1: ded331a91 Fix ticket status test regex for elevator themes
    @@ -13,7 +13,7 @@
     +
          $self->display_ticket( $id);
     -    my ($got) = ($self->content =~ m{Status:\s*</td>\s*<td[^>]*?class="value"[^>]*?>\s*([\w ]+?)\s*</td>}ism);
    -+    my ($got) = ($self->content =~ m{Status:\s*</div>\s*<div[^>]*?class="\w+[^>]*?>\s*<span[^>]*?\s*class="\w+[^>]*?>\s*([\w ]+?)\s*</span>}ism);
    ++    my ($got) = ($self->content =~ m{Status:\s*</div>\s*<div[^>]*?class="\w+[^>]*?>\s*<span[^>]*?\s*class="\w+[^>]*?>\s*([\w\s]+?)\s*</span>}ism);
          unless ( $got ) {
              Test::More::diag("Error: couldn't find status value on the page, may be regexp problem");
          }



More information about the rt-commit mailing list