<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.34.1</li>
<li>Operating System: Windows 11</li>
<li>Browser: -</li>
<li>Other info:
<ul dir="auto">
<li>VS Code: 1.78.2</li>
<li>Playwright Test for VSCode: 1.0.11</li>
</ul>
</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>




<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto"><a href="https://github.com/rothsandro/repro.playwright-vscode">https://github.com/rothsandro/repro.playwright-vscode</a></p>
<p dir="auto"><strong>Steps</strong></p>
<ol dir="auto">
<li>Create a new folder and run <code class="notranslate">npm init -y</code></li>
<li>Run <code class="notranslate">npm init playwright@latest</code> and accept all default values</li>
<li>Open the folder in VS Code</li>
<li>Install <em>Playwright Test for VSCode</em> extension</li>
<li>Open the Playwright panel to see all tests</li>
</ol>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">The extension should show the example test.</p>
<p dir="auto"><strong>Actual</strong></p>
<ul dir="auto">
<li>No tests are shown</li>
<li>A toast "Please install Playwright Test ..." is shown</li>
</ul>
<p dir="auto">The problem only occurs with the latest version 1.34.1 of Playwright.<br>
It works when installing the previous version 1.34.0</p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.32.3</li>
<li>Operating System: macOS 12.6.5</li>
<li>Browser: WebKit</li>
<li>Other info:<br>
The problem was <a href="https://github.com/divdavem/kassette-playground/actions/runs/4746132010/jobs/8429369845">also happening on Windows</a> (with WebKit) with version 1.31.0 of Playwright. This seems to have been fixed in the latest version of Playwright.<br>
Here is another issue similar to this one: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1025291055" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/9466" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/9466/hovercard" href="https://github.com/microsoft/playwright/issues/9466">#9466</a></li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>




<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto"><a href="https://github.com/divdavem/kassette-playground">https://github.com/divdavem/kassette-playground</a></p>
<p dir="auto"><strong>Steps</strong></p>
<p dir="auto">Clone repository:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone https://github.com/divdavem/kassette-playground
cd kassette-playground"><pre class="notranslate">git clone https://github.com/divdavem/kassette-playground
<span class="pl-c1">cd</span> kassette-playground</pre></div>
<p dir="auto">Install dependencies</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm install"><pre class="notranslate">npm install</pre></div>
<p dir="auto">Run tests with proxy</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm run test:proxy"><pre class="notranslate">npm run test:proxy</pre></div>
<p dir="auto">The proxy used in this scenario is <a href="https://github.com/AmadeusITGroup/kassette">kassette</a>. It plays the role of a man-in-the-middle, it provides a certificate generated on the fly that is not signed by a recognized certificate authority. However, as <a href="https://github.com/divdavem/kassette-playground/blob/7ef4eb75a68bcd5ca849ede359c7701639da1205/playwright.config.js#L16">the test uses <code class="notranslate">ignoreHTTPSErrors</code></a>, this https error should be ignored.</p>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">Tests succeed in all browsers on all platforms.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">Tests only fail with Webkit on MacOS, cf <a href="https://github.com/divdavem/kassette-playground/actions/runs/4746132013/jobs/8429369666">the logs on GitHub CI</a></p>
<p dir="auto">In the trace viewer, it is possible to see the following message: <code class="notranslate">An SSL error has occurred and a secure connection to the server cannot be made</code>.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1152706/233147801-51febb3c-6ec2-49d7-9365-19d5d6538e4a.png"><img src="https://user-images.githubusercontent.com/1152706/233147801-51febb3c-6ec2-49d7-9365-19d5d6538e4a.png" alt="image" style="max-width: 100%;"></a></p>