Plan responsible for building Docker images for the 3.x demo and development sites

Build: #1877 failed

Job: Run Patient Management E2E Tests failed

Search patient by patient identifier: Test case result

The below summarizes the result of the test "Search patient by patient identifier" in build 1,877 of Reference Application - Distribution 3.x - Run Patient Management E2E Tests. View test case history
Description
Search patient by patient identifier
Test class
patient-search.spec.ts
Method
Search patient by patient identifier
Duration
44 secs
Status
Failed (New Failure)

Error Log

FAILURE: patient-search.spec.ts:12:5 Search patient by patient identifier

  [chromium] › patient-search.spec.ts:12:5 › Search patient by patient identifier › Then I should see only the patient with the entered identifier 

    Error: Timed out 40000ms waiting for expect(locator).toHaveText(expected)

    Locator: locator('[data-testid="floatingSearchResultsContainer"]')
    Expected pattern: /1 search result/
    Received string:  "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
    Call log:
      - expect.toHaveText with timeout 40000ms
      - waiting for locator('[data-testid="floatingSearchResultsContainer"]')
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "Empty data illustrationSorry, no patient charts were foundTry to search again using the patient's unique ID number"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "Empty data illustrationSorry, no patient charts were foundTry to search again using the patient's unique ID number"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "Empty data illustrationSorry, no patient charts were foundTry to search again using the patient's unique ID number"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value " ·  ·  ·  ·  ·  ·  ·  ·  ·  · "
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value " ·  ·  ·  ·  ·  ·  ·  ·  ·  · "
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn4339  Smith5600Male · 3 yrs·OpenMRS ID10001T9"


      26 |
      27 |   await test.step('Then I should see only the patient with the entered identifier', async () => {
    > 28 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(/1 search result/);
         |                                                             ^
      29 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(new RegExp(firstName));
      30 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(new RegExp(lastName));
      31 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(new RegExp(openmrsIdentifier));

        at /app/e2e/specs/patient-search.spec.ts:28:61
        at /app/e2e/specs/patient-search.spec.ts:27:14

    attachment #1: video (video/webm) ──────────────────────────────────────────────────────────────
    test-results/patient-search-Search-patient-by-patient-identifier-chromium/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────