<p dir="auto">Currently logins in system tests work by going to the login page, filling in the username and password and clicking the first "Login" thing. You hope that this first "Login" thing is the login button of the login form, which it currently is. But if you change the website navigation, it may no longer be. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2064057773" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4455" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4455/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4455">#4455</a> makes such change, adding a "Login" tab above the form. Then it adds workarounds <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4455/files#diff-29beaabe278fd17493296745cecb67919f0906b47b8246ab770f5517615d9ef7R203-R205">1</a> <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4455/files#diff-ba37813ca277c227a74a372479b7b05b7f3ff085d890ab708f80d62573efdb7aR248">2</a>.</p>
<p dir="auto">How about we click the button below the inputs instead?</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4489'>https://github.com/openstreetmap/openstreetmap-website/pull/4489</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4489/commits/4204f76b7d8a082745786b8032aa4c084bb9518d" class="commit-link">4204f76</a>  Click login below inputs in system test sign in</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4489/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4489/files#diff-ba37813ca277c227a74a372479b7b05b7f3ff085d890ab708f80d62573efdb7a">test/test_helper.rb</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4489.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4489.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4489.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4489.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4489">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMTBSTMK4RNY3HMQG3YPK22VAVCNFSM6AAAAABCCLIJD6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TCMBWGEYTQOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIBTPFRH5PS4EYCYNDYPK22VA5CNFSM6AAAAABCCLIJD6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHZIYPYU.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4489</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4489",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4489",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>