<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.16.0</li>
<li>Operating System: Windows</li>
<li>Node.js version: 14.6.1</li>
<li>Browser: Chrome</li>
<li>Extra: WebStorm IDE</li>
</ul>


<p dir="auto"><strong>Code Snippet</strong></p>
<p dir="auto"><strong>-----Used Method-----</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" await expect(waitingMask).toHaveCount(0, {timeout: 40000});"><pre class="notranslate"> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">waitingMask</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">timeout</span>: <span class="pl-c1">40000</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>-----Test file-----</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {expect, test} from &quot;@playwright/test&quot;;
import BasePage from &quot;../../../../Common/BasePage&quot;;
import UnifyLoginPage from &quot;../../../../Unify/Pages/UnifyLoginPage&quot;;
import UnifyBasePage from &quot;../../../../Unify/Pages/UnifyBasePage&quot;;
import ApplicationUrl from &quot;../../../../Helpers/ApplicationUrl&quot;;
import SalesPage from &quot;../../../../Unify/Pages/Sales/SalesPage&quot;;
import SalesSidePanel from &quot;../../../../Unify/Pages/Sales/SalesSidePanel&quot;;
import {ModulesEnum} from &quot;../../../../Unify/NavigationEnums/ModulesEnum&quot;;
import { SalesLeftSideMenuEnum } from &quot;../../../../Unify/NavigationEnums/SalesLeftSideMenuEnum&quot;;
import SeatListPage from &quot;../../../../Unify/Pages/Sales/SeatListPage&quot;;


test.describe.only(&quot;Seat List Tests @run&quot;, async () =&gt; {

    let basePage: BasePage;
    let unifyBasePage: UnifyBasePage;
    let unifyLoginPage: UnifyLoginPage;
    let salesPage: SalesPage;
    let salesSidePanel: SalesSidePanel;
    let seatListPage: SeatListPage;

    test.beforeEach(async ({page}) =&gt; {
        basePage = new BasePage(page);
        unifyBasePage = new UnifyBasePage(page);
        unifyLoginPage = new UnifyLoginPage(page);
        salesPage = new SalesPage(page);
        salesSidePanel = new SalesSidePanel(page);
        seatListPage = new SeatListPage(page);

        //Login and navigate to seat list
        await basePage.loadApplication(ApplicationUrl.UNIFY);
        await page.setViewportSize({width: 1400, height: 900});
        await unifyLoginPage.loginToUnify(&quot;sro&quot;, &quot;1&quot;);
        await unifyBasePage.validateLogin();
        await unifyBasePage.navigateToModule(ModulesEnum.SALES);
        await salesPage.selectCategory(SalesLeftSideMenuEnum.SEAT_LIST);

    });

    test.afterEach(async ({context}) =&gt; {
        await context.clearCookies();
    });

    test(&quot;Validate apply button is disabled when 'change' and 'to' are empty&quot;, async ({page}) =&gt; {
        await test.step(&quot;Select Filter and Search&quot;, async () =&gt; {
            await seatListPage.selectShowTypeByIndex(0);
            await seatListPage.search();
        });

        await test.step(&quot;Switch to Manage Mode&quot;, async () =&gt; {
            await seatListPage.selectManageMode();
        });

        await test.step(&quot;Select First Search Result&quot;, async () =&gt; {
            await seatListPage.selectSearchResultByIndex(0);
        });

        //Validate apply button is disabled when 'change' and 'to' are empty
        await seatListPage.validateApplyButtonDisabled();

    })
})"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-s1">expect</span><span class="pl-kos">,</span> <span class="pl-s1">test</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">import</span> <span class="pl-v">BasePage</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Common/BasePage"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">UnifyLoginPage</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Unify/Pages/UnifyLoginPage"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">UnifyBasePage</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Unify/Pages/UnifyBasePage"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">ApplicationUrl</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Helpers/ApplicationUrl"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">SalesPage</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Unify/Pages/Sales/SalesPage"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">SalesSidePanel</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Unify/Pages/Sales/SalesSidePanel"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-v">ModulesEnum</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Unify/NavigationEnums/ModulesEnum"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">SalesLeftSideMenuEnum</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Unify/NavigationEnums/SalesLeftSideMenuEnum"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">SeatListPage</span> <span class="pl-k">from</span> <span class="pl-s">"../../../../Unify/Pages/Sales/SeatListPage"</span><span class="pl-kos">;</span>


<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-c1">describe</span><span class="pl-kos">.</span><span class="pl-en">only</span><span class="pl-kos">(</span><span class="pl-s">"Seat List Tests @run"</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <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">let</span> <span class="pl-s1">basePage</span>: <span class="pl-v">BasePage</span><span class="pl-kos">;</span>
    <span class="pl-k">let</span> <span class="pl-s1">unifyBasePage</span>: <span class="pl-v">UnifyBasePage</span><span class="pl-kos">;</span>
    <span class="pl-k">let</span> <span class="pl-s1">unifyLoginPage</span>: <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">;</span>
    <span class="pl-k">let</span> <span class="pl-s1">salesPage</span>: <span class="pl-v">SalesPage</span><span class="pl-kos">;</span>
    <span class="pl-k">let</span> <span class="pl-s1">salesSidePanel</span>: <span class="pl-v">SalesSidePanel</span><span class="pl-kos">;</span>
    <span class="pl-k">let</span> <span class="pl-s1">seatListPage</span>: <span class="pl-v">SeatListPage</span><span class="pl-kos">;</span>

    <span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">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">basePage</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">BasePage</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-s1">unifyBasePage</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">UnifyBasePage</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-s1">unifyLoginPage</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">UnifyLoginPage</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-s1">salesPage</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">SalesPage</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-s1">salesSidePanel</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">SalesSidePanel</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-s1">seatListPage</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">SeatListPage</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-c">//Login and navigate to seat list</span>
        <span class="pl-k">await</span> <span class="pl-s1">basePage</span><span class="pl-kos">.</span><span class="pl-en">loadApplication</span><span class="pl-kos">(</span><span class="pl-v">ApplicationUrl</span><span class="pl-kos">.</span><span class="pl-c1">UNIFY</span><span class="pl-kos">)</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">setViewportSize</span><span class="pl-kos">(</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-k">await</span> <span class="pl-s1">unifyLoginPage</span><span class="pl-kos">.</span><span class="pl-en">loginToUnify</span><span class="pl-kos">(</span><span class="pl-s">"sro"</span><span class="pl-kos">,</span> <span class="pl-s">"1"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
        <span class="pl-k">await</span> <span class="pl-s1">unifyBasePage</span><span class="pl-kos">.</span><span class="pl-en">validateLogin</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
        <span class="pl-k">await</span> <span class="pl-s1">unifyBasePage</span><span class="pl-kos">.</span><span class="pl-en">navigateToModule</span><span class="pl-kos">(</span><span class="pl-v">ModulesEnum</span><span class="pl-kos">.</span><span class="pl-c1">SALES</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
        <span class="pl-k">await</span> <span class="pl-s1">salesPage</span><span class="pl-kos">.</span><span class="pl-en">selectCategory</span><span class="pl-kos">(</span><span class="pl-v">SalesLeftSideMenuEnum</span><span class="pl-kos">.</span><span class="pl-c1">SEAT_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-s1">test</span><span class="pl-kos">.</span><span class="pl-en">afterEach</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span>context<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">context</span><span class="pl-kos">.</span><span class="pl-en">clearCookies</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-en">test</span><span class="pl-kos">(</span><span class="pl-s">"Validate apply button is disabled when 'change' and 'to' are empty"</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">test</span><span class="pl-kos">.</span><span class="pl-en">step</span><span class="pl-kos">(</span><span class="pl-s">"Select Filter and Search"</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <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">seatListPage</span><span class="pl-kos">.</span><span class="pl-en">selectShowTypeByIndex</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
            <span class="pl-k">await</span> <span class="pl-s1">seatListPage</span><span class="pl-kos">.</span><span class="pl-en">search</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-k">await</span> <span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">step</span><span class="pl-kos">(</span><span class="pl-s">"Switch to Manage Mode"</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <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">seatListPage</span><span class="pl-kos">.</span><span class="pl-en">selectManageMode</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-k">await</span> <span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">step</span><span class="pl-kos">(</span><span class="pl-s">"Select First Search Result"</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <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">seatListPage</span><span class="pl-kos">.</span><span class="pl-en">selectSearchResultByIndex</span><span class="pl-kos">(</span><span class="pl-c1">0</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-c">//Validate apply button is disabled when 'change' and 'to' are empty</span>
        <span class="pl-k">await</span> <span class="pl-s1">seatListPage</span><span class="pl-kos">.</span><span class="pl-en">validateApplyButtonDisabled</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>-----Output-----</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
 Starting test Validate apply button is disabled when 'change' and 'to' are empty
     Tests\Unify\Sales\SeatList\VerifyApplyButtonDisablement.spec.ts:44:5 › Seat List Tests @run › Validate apply button is disabled when 'change' and 'to' are empty
2021-10-22 07:05:47.343  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements

2021-10-22 07:06:27.409  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements

2021-10-22 07:07:07.527  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements

2021-10-22 07:07:07.530  INFO [myLogger Common\BasePage.ts:62  UnifyLoginPage.clickElement] Clicked Locator@[name=&quot;__RIA_userName&quot;] successfully
2021-10-22 07:07:47.607  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements

2021-10-22 07:08:27.677  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements

2021-10-22 07:09:07.761  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements

  x  Tests\Unify\Sales\SeatList\VerifyApplyButtonDisablement.spec.ts:44:5 › Seat List Tests @run › Validate apply button is disabled when 'change' and 'to' are empty (4m)
2021-10-22 07:09:09.554  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements

2021-10-22 07:09:09.572  ERROR [myLogger Common\BasePage.ts:65  UnifyLoginPage.clickElement] Click on .screenLogin.loginBtn failed
2021-10-22 07:09:09.583  ERROR [myLogger Common\BasePage.ts:65  UnifyLoginPage.clickElement] Click on .screenLogin.loginBtn failed
Finished the test Validate apply button is disabled when 'change' and 'to' are empty: failed
Finished the run: failed


  1) Tests\Unify\Sales\SeatList\VerifyApplyButtonDisablement.spec.ts:44:5 › Seat List Tests @run › Validate apply button is disabled when 'change' and 'to' are empty 

    Pending operations:
      - expect.toHaveCount at Common\BasePage.ts:76:39

    page.waitForSelector: Target closed
    =========================== logs ===========================
    waiting for selector &quot;[data-uitestingname=&quot;Home&quot;]&quot; to be visible
    ============================================================

      32 |         await page.setViewportSize({width: 1400, height: 900});
      33 |         await unifyLoginPage.loginToUnify(&quot;sro&quot;, &quot;1&quot;);
    &gt; 34 |         await unifyBasePage.validateLogin();
         |                             ^
      35 |         await unifyBasePage.navigateToModule(ModulesEnum.SALES);
      36 |         await salesPage.selectCategory(SalesLeftSideMenuEnum.SEAT_LIST);
      37 |

        at Validator.validateElementVisible (D:\projects\sro4\uiAutomation\PlaywrightTest\Common\Validator.ts:17:25)
        at UnifyBasePage.validateLogin (D:\projects\sro4\uiAutomation\PlaywrightTest\Unify\Pages\UnifyBasePage.ts:35:30)
        at D:\projects\sro4\uiAutomation\PlaywrightTest\Tests\Unify\Sales\SeatList\VerifyApplyButtonDisablement.spec.ts:34:29
        at WorkerRunner._runHooks (D:\projects\sro4\uiAutomation\PlaywrightTest\node_modules\@playwright\test\lib\workerRunner.js:544:9)
        at WorkerRunner._runBeforeHooks (D:\projects\sro4\uiAutomation\PlaywrightTest\node_modules\@playwright\test\lib\workerRunner.js:450:7)
        at WorkerRunner._runTestWithBeforeHooks (D:\projects\sro4\uiAutomation\PlaywrightTest\node_modules\@playwright\test\lib\workerRunner.js:470:32)

    attachment #1: video (video/webm) --------------------------------------------------------------
    test-results\Tests-Unify-Sales-SeatList-VerifyApplyButtonDisablement-Seat-List-Tests-run-Validate-apply-button-is-disabled-when-change-and-to-are-empty\8106389fe1d8c874687d13264038
2d50.webm
    ------------------------------------------------------------------------------------------------

    attachment #2: trace (application/zip) ---------------------------------------------------------
    test-results\Tests-Unify-Sales-SeatList-VerifyApplyButtonDisablement-Seat-List-Tests-run-Validate-apply-button-is-disabled-when-change-and-to-are-empty\trace.zip
    Usage:

        npx playwright show-trace test-results\Tests-Unify-Sales-SeatList-VerifyApplyButtonDisablement-Seat-List-Tests-run-Validate-apply-button-is-disabled-when-change-and-to-are-empt
y\trace.zip

    ------------------------------------------------------------------------------------------------

    attachment #3: screenshot (image/png) ----------------------------------------------------------
    test-results\Tests-Unify-Sales-SeatList-VerifyApplyButtonDisablement-Seat-List-Tests-run-Validate-apply-button-is-disabled-when-change-and-to-are-empty\test-failed-1.png
    ------------------------------------------------------------------------------------------------

--- Test output ------------------------------------------------------------------------------------

2021-10-22 07:05:47.343  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements
 
2021-10-22 07:06:27.409  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements
 
2021-10-22 07:07:07.527  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements
 
2021-10-22 07:07:07.530  INFO [myLogger Common\BasePage.ts:62  UnifyLoginPage.clickElement] Clicked Locator@[name=&quot;__RIA_userName&quot;] successfully
2021-10-22 07:07:47.607  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements
 
2021-10-22 07:08:27.677  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements
 
2021-10-22 07:09:07.761  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements
 
2021-10-22 07:09:07.764  INFO [myLogger Common\BasePage.ts:62  UnifyLoginPage.clickElement] Clicked Locator@[name=&quot;__RIA_password&quot;] successfully
2021-10-22 07:09:09.554  ERROR [myLogger Common\BasePage.ts:99  UnifyLoginPage.waitUntilWaitingMaskInvisible] Error: expect(received).toHaveCount(expected) // deep equality

Expected: 0
Received: undefined

Call log:
  - waiting for selector &quot;[class=&quot;waitingMask&quot;]&quot;
  -   selector resolved to 0 elements
 
2021-10-22 07:09:09.572  ERROR [myLogger Common\BasePage.ts:65  UnifyLoginPage.clickElement] Click on .screenLogin.loginBtn failed 
2021-10-22 07:09:09.583  ERROR [myLogger Common\BasePage.ts:65  UnifyLoginPage.clickElement] Click on .screenLogin.loginBtn failed 

----------------------------------------------------------------------------------------------------

  Slow test: Tests\Unify\Sales\SeatList\VerifyApplyButtonDisablement.spec.ts (4m)

  1 failed
    Tests\Unify\Sales\SeatList\VerifyApplyButtonDisablement.spec.ts:44:5 › Seat List Tests @run › Validate apply button is disabled when 'change' and 'to' are empty 

"><pre class="notranslate"> <span class="pl-v">Starting</span> <span class="pl-s1">test</span> <span class="pl-v">Validate</span> <span class="pl-s1">apply</span> <span class="pl-s1">button</span> <span class="pl-s1">is</span> <span class="pl-s1">disabled</span> <span class="pl-s1">when</span> <span class="pl-s">'change'</span> <span class="pl-s1">and</span> <span class="pl-s">'to'</span> <span class="pl-s1">are</span> <span class="pl-s1">empty</span>
     <span class="pl-v">Tests</span>\U<span class="pl-s1">nify</span>\S<span class="pl-s1">ales</span>\S<span class="pl-s1">eatList</span>\V<span class="pl-s1">erifyApplyButtonDisablement</span><span class="pl-kos">.</span><span class="pl-c1">spec</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">44</span>:<span class="pl-c1">5</span> <span class="pl-s1">›</span> <span class="pl-v">Seat</span> <span class="pl-v">List</span> <span class="pl-v">Tests</span> @<span class="pl-s1">run</span> <span class="pl-s1">›</span> <span class="pl-v">Validate</span> <span class="pl-s1">apply</span> <span class="pl-s1">button</span> <span class="pl-s1">is</span> <span class="pl-s1">disabled</span> <span class="pl-s1">when</span> <span class="pl-s">'change'</span> <span class="pl-s1">and</span> <span class="pl-s">'to'</span> <span class="pl-s1">are</span> <span class="pl-s1">empty</span>
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">05</span>:<span class="pl-c1">47.343</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>

<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">06</span>:<span class="pl-c1">27.409</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>

<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">07</span>:<span class="pl-c1">07.527</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>

<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">07</span>:<span class="pl-c1">07.530</span>  <span class="pl-c1">INFO</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">62</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">clickElement</span><span class="pl-kos">]</span> <span class="pl-v">Clicked</span> <span class="pl-v">Locator</span>@<span class="pl-kos">[</span><span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"__RIA_userName"</span><span class="pl-kos">]</span> <span class="pl-s1">successfully</span>
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">07</span>:<span class="pl-c1">47.607</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>

<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">08</span>:<span class="pl-c1">27.677</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>

<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">07.761</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>

  <span class="pl-s1">x</span>  <span class="pl-v">Tests</span>\U<span class="pl-s1">nify</span>\S<span class="pl-s1">ales</span>\S<span class="pl-s1">eatList</span>\V<span class="pl-s1">erifyApplyButtonDisablement</span><span class="pl-kos">.</span><span class="pl-c1">spec</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">44</span>:<span class="pl-c1">5</span> <span class="pl-s1">›</span> <span class="pl-v">Seat</span> <span class="pl-v">List</span> <span class="pl-v">Tests</span> @<span class="pl-s1">run</span> <span class="pl-s1">›</span> <span class="pl-v">Validate</span> <span class="pl-s1">apply</span> <span class="pl-s1">button</span> <span class="pl-s1">is</span> <span class="pl-s1">disabled</span> <span class="pl-s1">when</span> <span class="pl-s">'change'</span> <span class="pl-s1">and</span> <span class="pl-s">'to'</span> <span class="pl-s1">are</span> <span class="pl-en">empty</span> <span class="pl-kos">(</span><span class="pl-c1">4</span><span class="pl-s1">m</span><span class="pl-kos">)</span>
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">09.554</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>

<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">09.572</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">65</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">clickElement</span><span class="pl-kos">]</span> <span class="pl-v">Click</span> <span class="pl-s1">on</span> <span class="pl-kos">.</span><span class="pl-c1">screenLogin</span><span class="pl-kos">.</span><span class="pl-c1">loginBtn</span> <span class="pl-s1">failed</span>
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">09.583</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">65</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">clickElement</span><span class="pl-kos">]</span> <span class="pl-v">Click</span> <span class="pl-s1">on</span> <span class="pl-kos">.</span><span class="pl-c1">screenLogin</span><span class="pl-kos">.</span><span class="pl-c1">loginBtn</span> <span class="pl-s1">failed</span>
<span class="pl-v">Finished</span> <span class="pl-s1">the</span> <span class="pl-s1">test</span> <span class="pl-v">Validate</span> <span class="pl-s1">apply</span> <span class="pl-s1">button</span> <span class="pl-s1">is</span> <span class="pl-s1">disabled</span> <span class="pl-s1">when</span> <span class="pl-s">'change'</span> <span class="pl-s1">and</span> <span class="pl-s">'to'</span> <span class="pl-s1">are</span> empty: <span class="pl-s1">failed</span>
Finished <span class="pl-s1">the</span> <span class="pl-s1">run</span>: <span class="pl-s1">failed</span>


  <span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-v">Tests</span>\U<span class="pl-s1">nify</span>\S<span class="pl-s1">ales</span>\S<span class="pl-s1">eatList</span>\V<span class="pl-s1">erifyApplyButtonDisablement</span><span class="pl-kos">.</span><span class="pl-c1">spec</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">44</span>:<span class="pl-c1">5</span> <span class="pl-s1">›</span> <span class="pl-v">Seat</span> <span class="pl-v">List</span> <span class="pl-v">Tests</span> @<span class="pl-s1">run</span> <span class="pl-s1">›</span> <span class="pl-v">Validate</span> <span class="pl-s1">apply</span> <span class="pl-s1">button</span> <span class="pl-s1">is</span> <span class="pl-s1">disabled</span> <span class="pl-s1">when</span> <span class="pl-s">'change'</span> <span class="pl-s1">and</span> <span class="pl-s">'to'</span> <span class="pl-s1">are</span> <span class="pl-s1">empty</span> 

    Pending <span class="pl-s1">operations</span>:
      <span class="pl-c1">-</span> <span class="pl-s1">expect</span><span class="pl-kos">.</span><span class="pl-c1">toHaveCount</span> <span class="pl-s1">at</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">76</span>:<span class="pl-c1">39</span>

    <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-c1">waitForSelector</span>: <span class="pl-v">Target</span> <span class="pl-s1">closed</span>
    <span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span> <span class="pl-s1">logs</span> <span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">==</span>
    <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[data-uitestingname="</span><span class="pl-v">Home</span><span class="pl-s">"]"</span> <span class="pl-s1">to</span> <span class="pl-s1">be</span> <span class="pl-s1">visible</span>
    <span class="pl-c1">===</span><span class="pl-c1">=</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">===</span><span class="pl-c1">==</span>

      <span class="pl-c1">32</span> <span class="pl-c1">|</span>         <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">setViewportSize</span><span class="pl-kos">(</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-c1">33</span> <span class="pl-c1">|</span>         <span class="pl-k">await</span> <span class="pl-s1">unifyLoginPage</span><span class="pl-kos">.</span><span class="pl-en">loginToUnify</span><span class="pl-kos">(</span><span class="pl-s">"sro"</span><span class="pl-kos">,</span> <span class="pl-s">"1"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-c1">&gt;</span> <span class="pl-c1">34</span> <span class="pl-c1">|</span>         <span class="pl-k">await</span> <span class="pl-s1">unifyBasePage</span><span class="pl-kos">.</span><span class="pl-en">validateLogin</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
         <span class="pl-c1">|</span>                             <span class="pl-c1">^</span>
      <span class="pl-c1">35</span> <span class="pl-c1">|</span>         <span class="pl-k">await</span> <span class="pl-s1">unifyBasePage</span><span class="pl-kos">.</span><span class="pl-en">navigateToModule</span><span class="pl-kos">(</span><span class="pl-v">ModulesEnum</span><span class="pl-kos">.</span><span class="pl-c1">SALES</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
      <span class="pl-c1">36</span> <span class="pl-c1">|</span>         <span class="pl-k">await</span> <span class="pl-s1">salesPage</span><span class="pl-kos">.</span><span class="pl-en">selectCategory</span><span class="pl-kos">(</span><span class="pl-v">SalesLeftSideMenuEnum</span><span class="pl-kos">.</span><span class="pl-c1">SEAT_LIST</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
      <span class="pl-c1">37</span> <span class="pl-c1">|</span>

        <span class="pl-s1">at</span> <span class="pl-v">Validator</span><span class="pl-kos">.</span><span class="pl-en">validateElementVisible</span> <span class="pl-kos">(</span><span class="pl-v">D</span>:\p<span class="pl-s1">rojects</span>\s<span class="pl-s1">ro4</span>\u<span class="pl-s1">iAutomation</span>\P<span class="pl-s1">laywrightTest</span>\C<span class="pl-s1">ommon</span>\V<span class="pl-s1">alidator</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">17</span>:<span class="pl-c1">25</span><span class="pl-kos">)</span>
        <span class="pl-s1">at</span><span class="pl-kos"></span> <span class="pl-v">UnifyBasePage</span><span class="pl-kos">.</span><span class="pl-en">validateLogin</span> <span class="pl-kos">(</span><span class="pl-v">D</span>:\p<span class="pl-s1">rojects</span>\s<span class="pl-s1">ro4</span>\u<span class="pl-s1">iAutomation</span>\P<span class="pl-s1">laywrightTest</span>\U<span class="pl-s1">nify</span>\P<span class="pl-s1">ages</span>\U<span class="pl-s1">nifyBasePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">35</span>:<span class="pl-c1">30</span><span class="pl-kos">)</span>
        at <span class="pl-v">D</span>:\p<span class="pl-s1">rojects</span>\s<span class="pl-s1">ro4</span>\u<span class="pl-s1">iAutomation</span>\P<span class="pl-s1">laywrightTest</span>\T<span class="pl-s1">ests</span>\U<span class="pl-s1">nify</span>\S<span class="pl-s1">ales</span>\S<span class="pl-s1">eatList</span>\V<span class="pl-s1">erifyApplyButtonDisablement</span><span class="pl-kos">.</span><span class="pl-c1">spec</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">34</span>:<span class="pl-c1">29</span>
        <span class="pl-s1">at</span><span class="pl-kos"></span> <span class="pl-v">WorkerRunner</span><span class="pl-kos">.</span><span class="pl-en">_runHooks</span> <span class="pl-kos">(</span><span class="pl-v">D</span>:\p<span class="pl-s1">rojects</span>\s<span class="pl-s1">ro4</span>\u<span class="pl-s1">iAutomation</span>\P<span class="pl-s1">laywrightTest</span>\n<span class="pl-s1">ode_modules</span>\@<span class="pl-s1">playwright</span>\t<span class="pl-s1">est</span>\l<span class="pl-s1">ib</span>\w<span class="pl-s1">orkerRunner</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">544</span>:<span class="pl-c1">9</span><span class="pl-kos">)</span>
        <span class="pl-s1">at</span><span class="pl-kos"></span> <span class="pl-v">WorkerRunner</span><span class="pl-kos">.</span><span class="pl-en">_runBeforeHooks</span> <span class="pl-kos">(</span><span class="pl-v">D</span>:\p<span class="pl-s1">rojects</span>\s<span class="pl-s1">ro4</span>\u<span class="pl-s1">iAutomation</span>\P<span class="pl-s1">laywrightTest</span>\n<span class="pl-s1">ode_modules</span>\@<span class="pl-s1">playwright</span>\t<span class="pl-s1">est</span>\l<span class="pl-s1">ib</span>\w<span class="pl-s1">orkerRunner</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">450</span>:<span class="pl-c1">7</span><span class="pl-kos">)</span>
        <span class="pl-s1">at</span><span class="pl-kos"></span> <span class="pl-v">WorkerRunner</span><span class="pl-kos">.</span><span class="pl-en">_runTestWithBeforeHooks</span> <span class="pl-kos">(</span><span class="pl-v">D</span>:\p<span class="pl-s1">rojects</span>\s<span class="pl-s1">ro4</span>\u<span class="pl-s1">iAutomation</span>\P<span class="pl-s1">laywrightTest</span>\n<span class="pl-s1">ode_modules</span>\@<span class="pl-s1">playwright</span>\t<span class="pl-s1">est</span>\l<span class="pl-s1">ib</span>\w<span class="pl-s1">orkerRunner</span><span class="pl-kos">.</span><span class="pl-c1">js</span>:<span class="pl-c1">470</span>:<span class="pl-c1">32</span><span class="pl-kos">)</span>

    attachment #<span class="pl-c1">1</span>: <span class="pl-en">video</span> <span class="pl-kos">(</span><span class="pl-s1">video</span><span class="pl-c1">/</span><span class="pl-s1">webm</span><span class="pl-kos">)</span> <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span>
    <span class="pl-s1">test</span><span class="pl-c1">-</span><span class="pl-s1">results</span>\T<span class="pl-s1">ests</span><span class="pl-c1">-</span><span class="pl-v">Unify</span><span class="pl-c1">-</span><span class="pl-v">Sales</span><span class="pl-c1">-</span><span class="pl-v">SeatList</span><span class="pl-c1">-</span><span class="pl-v">VerifyApplyButtonDisablement</span><span class="pl-c1">-</span><span class="pl-v">Seat</span><span class="pl-c1">-</span><span class="pl-v">List</span><span class="pl-c1">-</span><span class="pl-v">Tests</span><span class="pl-c1">-</span><span class="pl-s1">run</span><span class="pl-c1">-</span><span class="pl-v">Validate</span><span class="pl-c1">-</span><span class="pl-s1">apply</span><span class="pl-c1">-</span><span class="pl-s1">button</span><span class="pl-c1">-</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">disabled</span><span class="pl-c1">-</span><span class="pl-s1">when</span><span class="pl-c1">-</span><span class="pl-s1">change</span><span class="pl-c1">-</span><span class="pl-s1">and</span><span class="pl-c1">-</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">are</span><span class="pl-c1">-</span><span class="pl-s1">empty</span>\8<span class="pl-c1">106389</span><span class="pl-s1">fe1d8c874687d13264038</span>
<span class="pl-c1">2</span><span class="pl-s1">d50</span><span class="pl-kos">.</span><span class="pl-c1">webm</span>
    <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span>

    <span class="pl-en">attachment</span> #<span class="pl-c1">2</span>: <span class="pl-s1">trace</span> <span class="pl-kos">(</span><span class="pl-s1">application</span><span class="pl-c1">/</span><span class="pl-s1">zip</span><span class="pl-kos">)</span> <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">-</span>
    <span class="pl-s1">test</span><span class="pl-c1">-</span><span class="pl-s1">results</span>\T<span class="pl-s1">ests</span><span class="pl-c1">-</span><span class="pl-v">Unify</span><span class="pl-c1">-</span><span class="pl-v">Sales</span><span class="pl-c1">-</span><span class="pl-v">SeatList</span><span class="pl-c1">-</span><span class="pl-v">VerifyApplyButtonDisablement</span><span class="pl-c1">-</span><span class="pl-v">Seat</span><span class="pl-c1">-</span><span class="pl-v">List</span><span class="pl-c1">-</span><span class="pl-v">Tests</span><span class="pl-c1">-</span><span class="pl-s1">run</span><span class="pl-c1">-</span><span class="pl-v">Validate</span><span class="pl-c1">-</span><span class="pl-s1">apply</span><span class="pl-c1">-</span><span class="pl-s1">button</span><span class="pl-c1">-</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">disabled</span><span class="pl-c1">-</span><span class="pl-s1">when</span><span class="pl-c1">-</span><span class="pl-s1">change</span><span class="pl-c1">-</span><span class="pl-s1">and</span><span class="pl-c1">-</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">are</span><span class="pl-c1">-</span><span class="pl-s1">empty</span>\t<span class="pl-s1">race</span><span class="pl-kos">.</span><span class="pl-c1">zip</span>
    Usage:

        <span class="pl-s1">npx</span> <span class="pl-s1">playwright</span> <span class="pl-s1">show</span><span class="pl-c1">-</span><span class="pl-s1">trace</span> <span class="pl-s1">test</span><span class="pl-c1">-</span><span class="pl-s1">results</span>\T<span class="pl-s1">ests</span><span class="pl-c1">-</span><span class="pl-v">Unify</span><span class="pl-c1">-</span><span class="pl-v">Sales</span><span class="pl-c1">-</span><span class="pl-v">SeatList</span><span class="pl-c1">-</span><span class="pl-v">VerifyApplyButtonDisablement</span><span class="pl-c1">-</span><span class="pl-v">Seat</span><span class="pl-c1">-</span><span class="pl-v">List</span><span class="pl-c1">-</span><span class="pl-v">Tests</span><span class="pl-c1">-</span><span class="pl-s1">run</span><span class="pl-c1">-</span><span class="pl-v">Validate</span><span class="pl-c1">-</span><span class="pl-s1">apply</span><span class="pl-c1">-</span><span class="pl-s1">button</span><span class="pl-c1">-</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">disabled</span><span class="pl-c1">-</span><span class="pl-s1">when</span><span class="pl-c1">-</span><span class="pl-s1">change</span><span class="pl-c1">-</span><span class="pl-s1">and</span><span class="pl-c1">-</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">are</span><span class="pl-c1">-</span><span class="pl-s1">empt</span>
<span class="pl-s1">y</span>\t<span class="pl-s1">race</span><span class="pl-kos">.</span><span class="pl-c1">zip</span>

    <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span>

    <span class="pl-s1">attachment</span> #<span class="pl-c1">3</span>: <span class="pl-en">screenshot</span> <span class="pl-kos">(</span><span class="pl-s1">image</span><span class="pl-c1">/</span><span class="pl-s1">png</span><span class="pl-kos">)</span> <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span>
    <span class="pl-s1">test</span><span class="pl-c1">-</span><span class="pl-s1">results</span>\T<span class="pl-s1">ests</span><span class="pl-c1">-</span><span class="pl-v">Unify</span><span class="pl-c1">-</span><span class="pl-v">Sales</span><span class="pl-c1">-</span><span class="pl-v">SeatList</span><span class="pl-c1">-</span><span class="pl-v">VerifyApplyButtonDisablement</span><span class="pl-c1">-</span><span class="pl-v">Seat</span><span class="pl-c1">-</span><span class="pl-v">List</span><span class="pl-c1">-</span><span class="pl-v">Tests</span><span class="pl-c1">-</span><span class="pl-s1">run</span><span class="pl-c1">-</span><span class="pl-v">Validate</span><span class="pl-c1">-</span><span class="pl-s1">apply</span><span class="pl-c1">-</span><span class="pl-s1">button</span><span class="pl-c1">-</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">disabled</span><span class="pl-c1">-</span><span class="pl-s1">when</span><span class="pl-c1">-</span><span class="pl-s1">change</span><span class="pl-c1">-</span><span class="pl-s1">and</span><span class="pl-c1">-</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">are</span><span class="pl-c1">-</span><span class="pl-s1">empty</span>\t<span class="pl-s1">est</span><span class="pl-c1">-</span><span class="pl-s1">failed</span><span class="pl-c1">-</span><span class="pl-c1">1.</span><span class="pl-s1">png</span>
    <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span>

<span class="pl-c1">--</span><span class="pl-c1">-</span> <span class="pl-v">Test</span> <span class="pl-s1">output</span> <span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span>

<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">05</span>:<span class="pl-c1">47.343</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>
 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">06</span>:<span class="pl-c1">27.409</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>
 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">07</span>:<span class="pl-c1">07.527</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>
 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">07</span>:<span class="pl-c1">07.530</span>  <span class="pl-c1">INFO</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">62</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">clickElement</span><span class="pl-kos">]</span> <span class="pl-v">Clicked</span> <span class="pl-v">Locator</span>@<span class="pl-kos">[</span><span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"__RIA_userName"</span><span class="pl-kos">]</span> <span class="pl-s1">successfully</span>
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">07</span>:<span class="pl-c1">47.607</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>
 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">08</span>:<span class="pl-c1">27.677</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>
 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">07.761</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>
 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">07.764</span>  <span class="pl-c1">INFO</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">62</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">clickElement</span><span class="pl-kos">]</span> <span class="pl-v">Clicked</span> <span class="pl-v">Locator</span>@<span class="pl-kos">[</span><span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"__RIA_password"</span><span class="pl-kos">]</span> <span class="pl-s1">successfully</span>
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">09.554</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">99</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">waitUntilWaitingMaskInvisible</span><span class="pl-kos">]</span><span class="pl-kos"></span> Error: <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">received</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-s1">expected</span><span class="pl-kos">)</span> <span class="pl-c">// deep equality</span>

Expected: <span class="pl-c1">0</span>
Received: <span class="pl-c1">undefined</span>

Call <span class="pl-s1">log</span>:
  <span class="pl-c1">-</span> <span class="pl-s1">waiting</span> <span class="pl-s1">for</span> <span class="pl-s1">selector</span> <span class="pl-s">"[class="</span><span class="pl-s1">waitingMask</span><span class="pl-s">"]"</span>
  <span class="pl-c1">-</span>   <span class="pl-s1">selector</span> <span class="pl-s1">resolved</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span> <span class="pl-s1">elements</span>
 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">09.572</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">65</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">clickElement</span><span class="pl-kos">]</span> <span class="pl-v">Click</span> <span class="pl-s1">on</span> <span class="pl-kos">.</span><span class="pl-c1">screenLogin</span><span class="pl-kos">.</span><span class="pl-c1">loginBtn</span> <span class="pl-s1">failed</span> 
<span class="pl-c1">2021</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">07</span>:<span class="pl-c1">09</span>:<span class="pl-c1">09.583</span>  <span class="pl-c1">ERROR</span> <span class="pl-kos">[</span><span class="pl-s1">myLogger</span> <span class="pl-v">Common</span>\B<span class="pl-s1">asePage</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">65</span>  <span class="pl-v">UnifyLoginPage</span><span class="pl-kos">.</span><span class="pl-c1">clickElement</span><span class="pl-kos">]</span> <span class="pl-v">Click</span> <span class="pl-s1">on</span> <span class="pl-kos">.</span><span class="pl-c1">screenLogin</span><span class="pl-kos">.</span><span class="pl-c1">loginBtn</span> <span class="pl-s1">failed</span> 

<span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span><span class="pl-c1">--</span>

  <span class="pl-v">Slow</span> <span class="pl-s1">test</span>: <span class="pl-v">Tests</span>\U<span class="pl-s1">nify</span>\S<span class="pl-s1">ales</span>\S<span class="pl-s1">eatList</span>\V<span class="pl-s1">erifyApplyButtonDisablement</span><span class="pl-kos">.</span><span class="pl-c1">spec</span><span class="pl-kos">.</span><span class="pl-en">ts</span> <span class="pl-kos">(</span><span class="pl-c1">4</span><span class="pl-s1">m</span><span class="pl-kos">)</span>

  <span class="pl-c1">1</span><span class="pl-kos"></span> <span class="pl-s1">failed</span>
    <span class="pl-v">Tests</span>\U<span class="pl-s1">nify</span>\S<span class="pl-s1">ales</span>\S<span class="pl-s1">eatList</span>\V<span class="pl-s1">erifyApplyButtonDisablement</span><span class="pl-kos">.</span><span class="pl-c1">spec</span><span class="pl-kos">.</span><span class="pl-c1">ts</span>:<span class="pl-c1">44</span>:<span class="pl-c1">5</span> <span class="pl-s1">›</span> <span class="pl-v">Seat</span> <span class="pl-v">List</span> <span class="pl-v">Tests</span> @<span class="pl-s1">run</span> <span class="pl-s1">›</span> <span class="pl-v">Validate</span> <span class="pl-s1">apply</span> <span class="pl-s1">button</span> <span class="pl-s1">is</span> <span class="pl-s1">disabled</span> <span class="pl-s1">when</span> <span class="pl-s">'change'</span> <span class="pl-s1">and</span> <span class="pl-s">'to'</span> <span class="pl-s1">are</span> <span class="pl-s1">empty</span> 
</pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">As can be seen from the output of the IDE - even though the assertion of the toHaveCount(0) failed - the test continued and failed after several assertions because the element of the next step was not found. The expected behavior of the assertion is to stop the test in case the assertion was not resolved successfully, isn't it?</p>
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>GOOD Playwright Version: 1.15</li>
<li>BAD Playwright Version: 1.16</li>
</ul>
<p dir="auto"><strong>Code Snippet</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('should display zero initial items', async ({ page }) =&gt; {
  await page.goto('https://todomvc.com/examples/vanilla-es6/');
  await expect(page.locator('.todo-list li')).toHaveCount(0);
});
"><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">'should display zero initial items'</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://todomvc.com/examples/vanilla-es6/'</span><span class="pl-kos">)</span><span class="pl-kos">;</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-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'.todo-list li'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-c1">0</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>Describe the bug</strong></p>
<p dir="auto">Expected: Was passing<br>
Actual: Not passing anymore</p>
<p dir="auto">Getting:</p>
<div class="highlight highlight-text-adblock notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
    Error: expect(received).toHaveCount(expected) // deep equality

    Expected: 0
    Received: undefined

    Call log:
      - waiting for selector &quot;.todo-list li&quot;
      -   selector resolved to 0 elements


      3 | test('should display zero initial items', async ({ page }) =&gt; {
      4 |   await page.goto('https://todomvc.com/examples/vanilla-es6/');
    &gt; 5 |   await expect(page.locator('.todo-list li')).toHaveCount(0);
        |                                               ^
      6 | });"><pre class="notranslate">    Error: expect(received).toHaveCount(expected) // deep equality

    Expected: 0
    Received: undefined

    Call log:
      - waiting for selector ".todo-list li"
      -   selector resolved to 0 elements


      3 | test('should display zero initial items', async ({ page }) =&gt; {
      4 |   await page.goto('https://todomvc.com/examples/vanilla-es6/');
    &gt; 5 |   await expect(page.locator('.todo-list li')).toHaveCount(0);
        |                                               <span class="pl-k">^</span>
      6 | });</pre></div>