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 full name: Test case result

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

Error Log

FAILURE: patient-search.spec.ts:45:5 Search patient by full name

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

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

    Locator: locator('[data-testid="floatingSearchResultsContainer"]')
    Expected pattern: /1 search result/
    Received string:  "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
    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 "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"
      -   locator resolved to <div data-testid="floatingSearchResultsContainer" cla…>…</div>
      -   unexpected value "{count} search resultJSJohn7767  Smith806Male · 3 yrs·OpenMRS ID10001U7"


      60 |
      61 |   await test.step('Then I should see only the patient with the entered name', async () => {
    > 62 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(/1 search result/);
         |                                                             ^
      63 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(new RegExp(firstName));
      64 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(new RegExp(lastName));
      65 |     await expect(homePage.floatingSearchResultsContainer()).toHaveText(new RegExp(openmrsIdentifier));

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

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