Skip to content

PI-1441 ignore messages #958

PI-1441 ignore messages

PI-1441 ignore messages #958

GitHub Actions / End-to-end test results failed Oct 19, 2023 in 0s

23 tests run, 21 passed, 1 skipped, 1 failed.

Annotations

Check failure on line 34 in ts

See this annotation in the file changed.

@github-actions github-actions / End-to-end test results

ts.Create a new case note

case-notes.spec.ts:15:1 Create a new case note
Raw output
[default] › prison-case-notes-to-probation/case-notes.spec.ts:15:1 › Create a new case note ──────

    Test timeout of 180000ms exceeded.

    Error: page.selectOption: Page closed
    =========================== logs ===========================
    waiting for locator('#subType')
    ============================================================

       at ../steps/delius/utils/inputs.ts:29

      27 |         option = await getRandomOption(page, selector, 2, filter)
      28 |     }
    > 29 |     await page.selectOption(selector, { label: option })
         |                ^
      30 |     return option
      31 | }
      32 |

        at selectOption (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/utils/inputs.ts:29:16)
        at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:34:11

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    test-results/prison-case-notes-to-probation-case-notes-Create-a-new-case-note-default/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Test timeout of 180000ms exceeded.

    Error: page.selectOption: Page closed
    =========================== logs ===========================
    waiting for locator('#subType')
    ============================================================

       at ../steps/delius/utils/inputs.ts:29

      27 |         option = await getRandomOption(page, selector, 2, filter)
      28 |     }
    > 29 |     await page.selectOption(selector, { label: option })
         |                ^
      30 |     return option
      31 | }
      32 |

        at selectOption (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/utils/inputs.ts:29:16)
        at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:34:11

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    test-results/prison-case-notes-to-probation-case-notes-Create-a-new-case-note-default-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #2 ───────────────────────────────────────────────────────────────────────────────────────

    Test timeout of 180000ms exceeded.

    Error: page.selectOption: Page closed
    =========================== logs ===========================
    waiting for locator('#subType')
    ============================================================

       at ../steps/delius/utils/inputs.ts:29

      27 |         option = await getRandomOption(page, selector, 2, filter)
      28 |     }
    > 29 |     await page.selectOption(selector, { label: option })
         |                ^
      30 |     return option
      31 | }
      32 |

        at selectOption (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/utils/inputs.ts:29:16)
        at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:34:11

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    test-results/prison-case-notes-to-probation-case-notes-Create-a-new-case-note-default-retry2/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────