<p dir="auto">This is more painful that it ought to be for a number of annoying reasons...</p>
<p dir="auto">Firstly <a href="https://github.com/ruby/setup-ruby">https://github.com/ruby/setup-ruby</a> currently only supports ruby 3.1 on 22.04 even though 22.04 actually ships with 3.0 as the system ruby - apparently 3.1 is the first version that builds with openssl 3 out of the box so I guess Ubuntu must have patched 3.0 for the system build.</p>
<p dir="auto">Secondly the forced move to a snap for Firefox means that geckdriver has (currently at least) gone away (<a href="https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1968266" rel="nofollow">discussion here</a>) so we need to switch to Chrome and hope we won't have the same problem there once they force a move to snap for that!</p>
<p dir="auto">Finally because chrome in headless mode doesn't support browser preferences (<a href="https://bugs.chromium.org/p/chromedriver/issues/detail?id=1925" rel="nofollow">discussion here</a>) we have to set the preferred language in the environment before starting it 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/3606'>https://github.com/openstreetmap/openstreetmap-website/pull/3606</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/commits/a106bfe1eea907bd0afcab9a28f04d339af2d478" class="commit-link">a106bfe</a> Run tests on ubuntu 20.04 and 22.04 with ruby 3.1</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/commits/a61472611a3d95623ae71259c5752a2dd17c671d" class="commit-link">a614726</a> Switch to using chrome for system tests</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/files">5 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957f">.github/workflows/tests.yml</a>
(9)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557">Dockerfile</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/files#diff-09b140a43ebfdd8dbec31ce72cafffd15164d2860fd390692a030bcb932b54a0">INSTALL.md</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/files#diff-dcd17c18ef06dc1c5c49caa05ecb7aabc1230dbc967d7e4e2bf1e3e51c06a9b1">script/vagrant/setup/provision.sh</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3606/files#diff-58be79ee432aa1a1e12529b3141879d9c9503ac6e071c47e2d53462d339362b7">test/application_system_test_case.rb</a>
(6)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3606.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3606.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3606.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3606.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/3606">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLES3Q6DMJO4O3EKKTVU6VL3ANCNFSM54CTBJLA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLII2EHODQWZI4YNVL3VU6VL3A5CNFSM54CTBJLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TQ6EB6A.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/3606</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/3606",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3606",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>