<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.36]</li>
<li>Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]</li>
<li>Browser: [All, Chromium, Firefox, WebKit]</li>
<li>Other info:</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"> I provided exact source code that allows reproducing the issue locally.<br>
Looks like global teardown takes about 30 sec, but test execution takes 1 sec. I took a simple test from CLI tools and added just the project to the config file.<br>
Important to notice: if I execute by <code class="notranslate">testMatch =/.*.spec.ts/</code>, all work as required</li>
</ul>


<p dir="auto"><a href="https://github.com/AlexeyCL/Playwright-teardown">https://github.com/AlexeyCL/Playwright-teardown</a></p>


<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import { PlaywrightTestConfig } from '@playwright/test';
/**
 * See https://playwright.dev/docs/test-configuration.
 */
const config: PlaywrightTestConfig = {
  projects: [
    {
      name: 'test',
      testMatch: '*tests/*.spec.ts',
    },
],
  testMatch: /.*.spec.ts/,


  /* Maximum time one test can run for. */
  timeout: 60 * 1000,
  expect: {
    /**
     * Maximum time expect() should wait for the condition to be met.
     * For example in `await expect(locator).toHaveText();`
     */
    timeout: 20000,
  },
  /* Run tests in files in parallel */
  fullyParallel: !!process.env.CI,
  /* Fail the build on CI if you accidentally left test.only in the source code. */
  forbidOnly: !!process.env.CI,
  /* Retry on CI only */
  retries: process.env.CI ? 0 : 0,
  /* Opt out of parallel tests on CI. */
  workers: process.env.CI ? 5 : 1,
  /* Reporter to use. See https://playwright.dev/docs/test-reporters */
  reporter: [['list']],
  /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
  use: {
    channel: process.env.DOCKER ? 'chromium' : 'chrome',
    headless: !!process.env.CI,
    viewport: { width: 1280, height: 720 },
    ignoreHTTPSErrors: true,
    baseURL: 'https://playwright.dev/',
    /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
    actionTimeout: 30000,
    /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
    trace: 'retain-on-failure',
    video: 'retain-on-failure',

    screenshot: 'only-on-failure',
  },

  /* Folder for test artifacts such as screenshots, videos, traces, etc. */
  outputDir: 'test-results/',
};

export default config;
"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * See https://playwright.dev/docs/test-configuration.</span>
<span class="pl-c"> */</span>
<span class="pl-k">const</span> <span class="pl-s1">config</span>: <span class="pl-v">PlaywrightTestConfig</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
  <span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
    <span class="pl-kos">{</span>
      <span class="pl-c1">name</span>: <span class="pl-s">'test'</span><span class="pl-kos">,</span>
      <span class="pl-c1">testMatch</span>: <span class="pl-s">'*tests/*.spec.ts'</span><span class="pl-kos">,</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-c1">testMatch</span>: <span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">*</span>.spec.ts<span class="pl-c1">/</span></span><span class="pl-kos">,</span>


  <span class="pl-c">/* Maximum time one test can run for. */</span>
  <span class="pl-c1">timeout</span>: <span class="pl-c1">60</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span>
  <span class="pl-c1">expect</span>: <span class="pl-kos">{</span>
    <span class="pl-c">/**</span>
<span class="pl-c">     * Maximum time expect() should wait for the condition to be met.</span>
<span class="pl-c">     * For example in `await expect(locator).toHaveText();`</span>
<span class="pl-c">     */</span>
    <span class="pl-c1">timeout</span>: <span class="pl-c1">20000</span><span class="pl-kos">,</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c">/* Run tests in files in parallel */</span>
  <span class="pl-c1">fullyParallel</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span>
  <span class="pl-c">/* Fail the build on CI if you accidentally left test.only in the source code. */</span>
  <span class="pl-c1">forbidOnly</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span>
  <span class="pl-c">/* Retry on CI only */</span>
  <span class="pl-c1">retries</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">0</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span>
  <span class="pl-c">/* Opt out of parallel tests on CI. */</span>
  <span class="pl-c1">workers</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">5</span> : <span class="pl-c1">1</span><span class="pl-kos">,</span>
  <span class="pl-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span>
  <span class="pl-c1">reporter</span>: <span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'list'</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
  <span class="pl-c">/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */</span>
  <span class="pl-c1">use</span>: <span class="pl-kos">{</span>
    <span class="pl-c1">channel</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">DOCKER</span> ? <span class="pl-s">'chromium'</span> : <span class="pl-s">'chrome'</span><span class="pl-kos">,</span>
    <span class="pl-c1">headless</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span>
    <span class="pl-c1">viewport</span>: <span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">1280</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">720</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-c1">ignoreHTTPSErrors</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
    <span class="pl-c1">baseURL</span>: <span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">,</span>
    <span class="pl-c">/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */</span>
    <span class="pl-c1">actionTimeout</span>: <span class="pl-c1">30000</span><span class="pl-kos">,</span>
    <span class="pl-c">/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */</span>
    <span class="pl-c1">trace</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span>
    <span class="pl-c1">video</span>: <span class="pl-s">'retain-on-failure'</span><span class="pl-kos">,</span>

    <span class="pl-c1">screenshot</span>: <span class="pl-s">'only-on-failure'</span><span class="pl-kos">,</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>

  <span class="pl-c">/* Folder for test artifacts such as screenshots, videos, traces, etc. */</span>
  <span class="pl-c1">outputDir</span>: <span class="pl-s">'test-results/'</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>

<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-s1">config</span><span class="pl-kos">;</span></pre></div>
<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="import { test, expect } from '@playwright/test';

test('has title', async ({ page }) =&gt; {
  await page.goto('https://playwright.dev/');

  // Expect a title &quot;to contain&quot; a substring.
  await expect(page).toHaveTitle(/Playwright/);
});

test('get started link', async ({ page }) =&gt; {
  await page.goto('https://playwright.dev/');

  // Click the get started link.
  await page.getByRole('link', { name: 'Get started' }).click();

  // Expects the URL to contain intro.
  await expect(page).toHaveURL(/.*intro/);
});
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">,</span> <span class="pl-s1">expect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span>

<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'has title'</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-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

  <span class="pl-c">// Expect a title "to contain" a substring.</span>
  <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Playwright<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'get started link'</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-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

  <span class="pl-c">// Click the get started link.</span>
  <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByRole</span><span class="pl-kos">(</span><span class="pl-s">'link'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">'Get started'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

  <span class="pl-c">// Expects the URL to contain intro.</span>
  <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveURL</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">*</span>intro<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test] pnpm run test</li>
<li>[...]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">[Describe expected behavior]</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">[Describe actual behavior]</p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.32.2</li>
<li>Operating System: Windows 10</li>
<li>Browser: Chromium</li>
<li>Other info:</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>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright.config.ts
import {defineConfig} from &quot;@playwright/test&quot;;

export default defineConfig({
    timeout: 240000,
    globalTimeout: 18000000,
    projects: [
        {
            name: &quot;Esro&quot;,
            testDir: &quot;./Tests/Esro&quot;,
            timeout: 300001,
            use:{
                viewport: {width: 1870, height: 1030},
                video: {
                    mode: &quot;retain-on-failure&quot;,
                    size: {
                        width: 1870,
                        height: 1030,
                    },
                },
            }
        },
        {
            name: &quot;Tsro&quot;,
            testDir: &quot;./Tests/Tsro&quot;,
            timeout: 180000,
        },
        {
            name: 'Unify',
            testDir: &quot;./Tests/Unify&quot;,
        },

        {
            name: &quot;IntegrationsUI&quot;,
            testDir: &quot;./Tests/IntegrationsUI&quot;,
        },

        {
            name: &quot;Validation&quot;,
            testMatch: 'Tests/Unify/Validation/test.list.ts',
            timeout: 360000,
            use: {
                actionTimeout: 320000,
            }
        },
        {
            name: &quot;Production&quot;,
            testMatch: 'Tests/Unify/production.test.list.ts',
            timeout: 360000,
            use: {
                actionTimeout: 320000,
            }
        },

    ],
    reporter: [
        [&quot;./my-reporter.ts&quot;],
        [&quot;list&quot;],
        [&quot;junit&quot;, { outputFile: &quot;reports/test-results.xml&quot; }],
        [&quot;allure-playwright&quot;],
        [&quot;json&quot;, { outputFile: &quot;reports/test-results.json&quot; }],
        [&quot;html&quot;, { open: &quot;never&quot; }],
    ],
    use: {
        baseURL: process.env.BASE_URL ? process.env.BASE_URL : process.env.LOCAL_HOST,
        browserName: &quot;chromium&quot;,
        actionTimeout: 30000,
        trace: &quot;off&quot;,
        screenshot: &quot;on&quot;,
        viewport: { width: 1400, height: 900 }, //UNIFY Recommended Resolution
        video: {
            mode: &quot;retain-on-failure&quot;,
            size: {
                width: 1400,
                height: 900,
            },
        },
        contextOptions: {
            ignoreHTTPSErrors: true,
        },
        // Browser options
        launchOptions: {
            channel: &quot;chrome&quot;,
            //    headless: process.env.CI ? true : false,
            slowMo: 200,
            args: [
                &quot;--no-sandbox&quot;,
                &quot;--ignore-certificate-errors&quot;,
                &quot;--ignore-certificate-errors-skip-list&quot;,
            ],
        },
    },
});


"><pre class="notranslate"><span class="pl-c">// playwright.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-s1">defineConfig</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"@playwright/test"</span><span class="pl-kos">;</span>

<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
    <span class="pl-c1">timeout</span>: <span class="pl-c1">240000</span><span class="pl-kos">,</span>
    <span class="pl-c1">globalTimeout</span>: <span class="pl-c1">18000000</span><span class="pl-kos">,</span>
    <span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
        <span class="pl-kos">{</span>
            <span class="pl-c1">name</span>: <span class="pl-s">"Esro"</span><span class="pl-kos">,</span>
            <span class="pl-c1">testDir</span>: <span class="pl-s">"./Tests/Esro"</span><span class="pl-kos">,</span>
            <span class="pl-c1">timeout</span>: <span class="pl-c1">300001</span><span class="pl-kos">,</span>
            <span class="pl-c1">use</span>:<span class="pl-kos">{</span>
                <span class="pl-c1">viewport</span>: <span class="pl-kos">{</span><span class="pl-c1">width</span>: <span class="pl-c1">1870</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">1030</span><span class="pl-kos">}</span><span class="pl-kos">,</span>
                <span class="pl-c1">video</span>: <span class="pl-kos">{</span>
                    <span class="pl-c1">mode</span>: <span class="pl-s">"retain-on-failure"</span><span class="pl-kos">,</span>
                    <span class="pl-c1">size</span>: <span class="pl-kos">{</span>
                        <span class="pl-c1">width</span>: <span class="pl-c1">1870</span><span class="pl-kos">,</span>
                        <span class="pl-c1">height</span>: <span class="pl-c1">1030</span><span class="pl-kos">,</span>
                    <span class="pl-kos">}</span><span class="pl-kos">,</span>
                <span class="pl-kos">}</span><span class="pl-kos">,</span>
            <span class="pl-kos">}</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-kos">{</span>
            <span class="pl-c1">name</span>: <span class="pl-s">"Tsro"</span><span class="pl-kos">,</span>
            <span class="pl-c1">testDir</span>: <span class="pl-s">"./Tests/Tsro"</span><span class="pl-kos">,</span>
            <span class="pl-c1">timeout</span>: <span class="pl-c1">180000</span><span class="pl-kos">,</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-kos">{</span>
            <span class="pl-c1">name</span>: <span class="pl-s">'Unify'</span><span class="pl-kos">,</span>
            <span class="pl-c1">testDir</span>: <span class="pl-s">"./Tests/Unify"</span><span class="pl-kos">,</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>

        <span class="pl-kos">{</span>
            <span class="pl-c1">name</span>: <span class="pl-s">"IntegrationsUI"</span><span class="pl-kos">,</span>
            <span class="pl-c1">testDir</span>: <span class="pl-s">"./Tests/IntegrationsUI"</span><span class="pl-kos">,</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>

        <span class="pl-kos">{</span>
            <span class="pl-c1">name</span>: <span class="pl-s">"Validation"</span><span class="pl-kos">,</span>
            <span class="pl-c1">testMatch</span>: <span class="pl-s">'Tests/Unify/Validation/test.list.ts'</span><span class="pl-kos">,</span>
            <span class="pl-c1">timeout</span>: <span class="pl-c1">360000</span><span class="pl-kos">,</span>
            <span class="pl-c1">use</span>: <span class="pl-kos">{</span>
                <span class="pl-c1">actionTimeout</span>: <span class="pl-c1">320000</span><span class="pl-kos">,</span>
            <span class="pl-kos">}</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-kos">{</span>
            <span class="pl-c1">name</span>: <span class="pl-s">"Production"</span><span class="pl-kos">,</span>
            <span class="pl-c1">testMatch</span>: <span class="pl-s">'Tests/Unify/production.test.list.ts'</span><span class="pl-kos">,</span>
            <span class="pl-c1">timeout</span>: <span class="pl-c1">360000</span><span class="pl-kos">,</span>
            <span class="pl-c1">use</span>: <span class="pl-kos">{</span>
                <span class="pl-c1">actionTimeout</span>: <span class="pl-c1">320000</span><span class="pl-kos">,</span>
            <span class="pl-kos">}</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>

    <span class="pl-kos">]</span><span class="pl-kos">,</span>
    <span class="pl-c1">reporter</span>: <span class="pl-kos">[</span>
        <span class="pl-kos">[</span><span class="pl-s">"./my-reporter.ts"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
        <span class="pl-kos">[</span><span class="pl-s">"list"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
        <span class="pl-kos">[</span><span class="pl-s">"junit"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">outputFile</span>: <span class="pl-s">"reports/test-results.xml"</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
        <span class="pl-kos">[</span><span class="pl-s">"allure-playwright"</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
        <span class="pl-kos">[</span><span class="pl-s">"json"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">outputFile</span>: <span class="pl-s">"reports/test-results.json"</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
        <span class="pl-kos">[</span><span class="pl-s">"html"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">open</span>: <span class="pl-s">"never"</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">,</span>
    <span class="pl-kos">]</span><span class="pl-kos">,</span>
    <span class="pl-c1">use</span>: <span class="pl-kos">{</span>
        <span class="pl-c1">baseURL</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">BASE_URL</span> ? <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">BASE_URL</span> : <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">LOCAL_HOST</span><span class="pl-kos">,</span>
        <span class="pl-c1">browserName</span>: <span class="pl-s">"chromium"</span><span class="pl-kos">,</span>
        <span class="pl-c1">actionTimeout</span>: <span class="pl-c1">30000</span><span class="pl-kos">,</span>
        <span class="pl-c1">trace</span>: <span class="pl-s">"off"</span><span class="pl-kos">,</span>
        <span class="pl-c1">screenshot</span>: <span class="pl-s">"on"</span><span class="pl-kos">,</span>
        <span class="pl-c1">viewport</span>: <span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">1400</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">900</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">//UNIFY Recommended Resolution</span>
        <span class="pl-c1">video</span>: <span class="pl-kos">{</span>
            <span class="pl-c1">mode</span>: <span class="pl-s">"retain-on-failure"</span><span class="pl-kos">,</span>
            <span class="pl-c1">size</span>: <span class="pl-kos">{</span>
                <span class="pl-c1">width</span>: <span class="pl-c1">1400</span><span class="pl-kos">,</span>
                <span class="pl-c1">height</span>: <span class="pl-c1">900</span><span class="pl-kos">,</span>
            <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-c1">contextOptions</span>: <span class="pl-kos">{</span>
            <span class="pl-c1">ignoreHTTPSErrors</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
        <span class="pl-c">// Browser options</span>
        <span class="pl-c1">launchOptions</span>: <span class="pl-kos">{</span>
            <span class="pl-c1">channel</span>: <span class="pl-s">"chrome"</span><span class="pl-kos">,</span>
            <span class="pl-c">//    headless: process.env.CI ? true : false,</span>
            <span class="pl-c1">slowMo</span>: <span class="pl-c1">200</span><span class="pl-kos">,</span>
            <span class="pl-c1">args</span>: <span class="pl-kos">[</span>
                <span class="pl-s">"--no-sandbox"</span><span class="pl-kos">,</span>
                <span class="pl-s">"--ignore-certificate-errors"</span><span class="pl-kos">,</span>
                <span class="pl-s">"--ignore-certificate-errors-skip-list"</span><span class="pl-kos">,</span>
            <span class="pl-kos">]</span><span class="pl-kos">,</span>
        <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

</pre></div>
<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="//Tests\Unify\production.test.list.ts
import './Production/SellSubscriptionAndEventTicketWitoutCommitE2E.spec.ts';
import './Validation/EditCRMRecordViaSalesTab.spec.ts';
import './Validation/CreateAndEditCRMRecordValidationTest.spec.ts';
import './Validation/CheckForErrorsInMonitoringETL.spec.ts';"><pre class="notranslate"><span class="pl-c">//Tests\Unify\production.test.list.ts</span>
<span class="pl-k">import</span> <span class="pl-s">'./Production/SellSubscriptionAndEventTicketWitoutCommitE2E.spec.ts'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s">'./Validation/EditCRMRecordViaSalesTab.spec.ts'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s">'./Validation/CreateAndEditCRMRecordValidationTest.spec.ts'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s">'./Validation/CheckForErrorsInMonitoringETL.spec.ts'</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>Add import of the spec files to the list</li>
<li>Try to run any test in the project</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">The tests will run as well.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">I get the error related to the import of the spec files inside the list file</p>
<p dir="auto">It worked as well with version 1.27.1, but it doesn't;t withe the newest version of 1.32.2.</p>
<p dir="auto">I saw some similar bugs, but no none of them related to the syntax of the imports (maybe I've missed something?).</p>
<p dir="auto">The output of the IDE:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/52656401/229738860-8adbfa26-934b-4ccc-8bac-3081ba0bd8ec.png"><img src="https://user-images.githubusercontent.com/52656401/229738860-8adbfa26-934b-4ccc-8bac-3081ba0bd8ec.png" alt="image" style="max-width: 100%;"></a></p>