<p></p>
<p>I haven't tested it, but I'm suspecting that ,<code>:class => "btn btn-primary mt-3"</code> is added as an additional URL parameter to the hyperlink, which is probably not what you're expecting. The test fails as it is no longer matching the expected hyperlink.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3019#issuecomment-751519537">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLHSUA6FL2CXORFOMDSW6TFHANCNFSM4VK2SZGQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJZ6NYZGJQME2PQEYDSW6TFHA5CNFSM4VK2SZG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTFUOMI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3019#issuecomment-751519537",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3019#issuecomment-751519537",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>