<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Testing on Keyboard And Me</title><link>https://weiwei-github-io.vercel.app/tags/testing/</link><description>Recent content in Testing on Keyboard And Me</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 23 Feb 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://weiwei-github-io.vercel.app/tags/testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Remember to update playwright scripts</title><link>https://weiwei-github-io.vercel.app/posts/old-articles/2022-playwright-docker/</link><pubDate>Wed, 23 Feb 2022 00:00:00 +0000</pubDate><guid>https://weiwei-github-io.vercel.app/posts/old-articles/2022-playwright-docker/</guid><description>&lt;p&gt;We&amp;rsquo;ve had a repo that uses playwright for testing. The test runs daily with
Jenkins and Docker. It&amp;rsquo;s been quite stable and haven&amp;rsquo;t been updated for a good
year. Yesterday I tried to update playwright to the most recent version, but
after updating, CI stopped working:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ╔════════════════════════════════════════════════════════════╗
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ║ Host system is missing a few dependencies to run browsers. ║
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ║ Please install them with the following command: ║
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ║ ║
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ║ sudo npx playwright install-deps ║
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ║ ║
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ║ &amp;lt;&lt;span class="m"&gt;3&lt;/span&gt; Playwright Team ║
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ╚════════════════════════════════════════════════════════════╝
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I did feel the love from Playwright team. However, running the command in the
Dockerfile solved nothing. It reported that every dependency was ready and
up-to-date, and the test still kept failing as before.&lt;/p&gt;</description></item></channel></rss>