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

Build: #2022 failed

Job: Run Patient Chart E2E Tests failed

Record an allergy to a food item: Test case result

The below summarizes the result of the test "Record an allergy to a food item" in build 2,022 of Reference Application - Distribution 3.x - Run Patient Chart E2E Tests. View test case history
Description
Record an allergy to a food item
Test class
food-allergies.spec.ts
Method
Record an allergy to a food item
Duration
53 secs
Status
Failed (New Failure)

Error Log

FAILURE: food-allergies.spec.ts:12:5 Record an allergy to a food item

  [chromium] › food-allergies.spec.ts:12:5 › Record an allergy to a food item › And I should see the newly recorded food allergy in the list 

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

    Locator: getByRole('table', { name: /allergies summary/i }).locator('thead > tr')
    Expected pattern: /allergen/i
    Received string:  ""
    Call log:
      - expect.toContainText with timeout 40000ms
      - waiting for getByRole('table', { name: /allergies summary/i }).locator('thead > tr')


      40 |
      41 |   await test.step('And I should see the newly recorded food allergy in the list', async () => {
    > 42 |     await expect(headerRow).toContainText(/allergen/i);
         |                             ^
      43 |     await expect(headerRow).toContainText(/severity/i);
      44 |     await expect(headerRow).toContainText(/reaction/i);
      45 |     await expect(headerRow).toContainText(/onset date and comments/i);

        at /app/e2e/specs/food-allergies.spec.ts:42:29
        at /app/e2e/specs/food-allergies.spec.ts:41:14

    attachment #1: video (video/webm) ──────────────────────────────────────────────────────────────
    test-results/food-allergies-Record-an-allergy-to-a-food-item-chromium/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    test-results/food-allergies-Record-an-allergy-to-a-food-item-chromium/trace.zip
    Usage:

        yarn playwright show-trace test-results/food-allergies-Record-an-allergy-to-a-food-item-chromium/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────