<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">Hi,<br>
I am preparing my very first PR, but I can't run the tests requested in <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md">CONTRIBUTING.md</a></p>
<p dir="auto"><code class="notranslate">bundle exec teaspoon</code> gives me this error:</p>
<pre class="notranslate"><code class="notranslate">/home/<username>/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.23.0/lib/selenium/webdriver/remote/response.rb:62:in 'add_cause': binary is not a Firefox executable (Selenium::WebDriver::Error::InvalidArgumentError)
</code></pre>
<p dir="auto">and <code class="notranslate">bundle exec rails test:all</code> gives me 260 times the same error:</p>
<pre class="notranslate"><code class="notranslate">Error:
UserMutingTest#<test_name>
Selenium::WebDriver::Error::InvalidArgumentError: binary is not a Firefox executable
</code></pre>
<p dir="auto">I noticed that selenium is used since the recent PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2526501217" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5216" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5216/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5216">#5216</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kcne/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kcne">@kcne</a>, could you help me ?</p>
<p dir="auto">I read that this bug can occur depending on the path to firefox or geckoriver. On my system:</p>
<ul dir="auto">
<li>firefox is in <code class="notranslate">/usr/bin/firefox</code></li>
<li>geckodriver is in <code class="notranslate">/snap/bin/geckodriver</code></li>
</ul>
<p dir="auto">By the way, I also noticed a bug with <code class="notranslate">bundle exec erblint</code> which returns <code class="notranslate">no files found or given, specify files or config...</code>. I had to modify the command to <code class="notranslate">bundle exec erblint *</code> but then it checks non erb files like GemLock and LICENSE. What is the correct command ?</p>
<p dir="auto">Thanks !</p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><em>No response</em></p>
<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/issues/5467">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKYHPHIEJHO4GNYM7D2JBF2RAVCNFSM6AAAAABUTN7Q2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DSMBQGUZTMMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIMND5THDVNOP4NLBT2JBF2RA5CNFSM6AAAAABUTN7Q2GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKKC5LGA.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/issues/5467</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/issues/5467",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5467",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>