<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: 1.33.0</li>
<li>Operating System: Windows 11</li>
<li>Browser: electron</li>
<li>Other info:</li>
</ul>
<p dir="auto">Before I update playwright today (May, 15), this error didn't happen. I tried to run the same script last week and was running ok. Didn't happen any update in my electron app that could possible break.</p>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test.beforeEach(async ({ page }) =&gt; {
        electronApp = await electron.launch({ executablePath:  '&lt; my electron path &gt;' });
        window = await electronApp.firstWindow();"><pre class="notranslate"><span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-c1">beforeEach</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
        <span class="pl-s1">electronApp</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">executablePath</span>:  <span class="pl-s">'&lt; my electron path &gt;'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
        <span class="pl-smi">window</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">electronApp</span><span class="pl-kos">.</span><span class="pl-en">firstWindow</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">Expect to open the electron app and run the test script.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">Appears the error:</p>
<ol dir="auto">
<li>test_LoginNGMT.spec.js:26:5 › Try to Sign In › login field ────────────────────────────────────<br>
Test timeout of 30000ms exceeded while running "beforeEach" hook.</li>
</ol>
<p dir="auto">Playwright shows <code class="notranslate">test.step</code> in various reporters, but it isn't shown in traces. Showing them can help with dissecting larger traces from large tests.</p>