Merge Request Status Tooltip Fails in March
Summary
Tests fail in the Month of March.
Steps to reproduce
Run a pipeline that invokes the shows date of status change in tooltip
test.
What is the current bug behavior?
Test fails.
What is the expected correct behavior?
Test should pass.
Relevant logs and/or screenshots
Failures:
1) projects/issues/_merge_requests_status.html.haml shows date of status change in tooltip
Failure/Error: expect(rendered).to match("Opened.*about 1 month ago")
expected "<span class=\"mr-status-wrapper suggestion-help-hover\" data-html=\"true\" data-placement=\"bottom\"...aa9e411162e6913688816c79861d0de4bee876cf6fc4c794be34ee91.svg#issue-open-m\"></use></svg>\n</span>\n" to match "Opened.*about 1 month ago"
Diff:
@@ -1,2 +1,4 @@
-Opened.*about 1 month ago
+<span class="mr-status-wrapper suggestion-help-hover" data-html="true" data-placement="bottom" data-title="<div><span class="bold">Opened</span> 28 days ago</div><span class="text-tertiary">Feb 1, 2019 1:53am UTC+0000</span>" data-toggle="tooltip">
+<svg class="s16 merge-request-status open"><use xlink:href="/assets/icons-24aaa921aa9e411162e6913688816c79861d0de4bee876cf6fc4c794be34ee91.svg#issue-open-m"></use></svg>
+</span>
# ./spec/views/projects/issues/_merge_requests_status.html.haml_spec.rb:11:in `block (2 levels) in <top (required)>'
Finished in 12 minutes 18 seconds (files took 12.55 seconds to load)
1326 examples, 1 failure, 15 pending