Exe - Medical History Task › TC-03: Verify editing and PI sign off medical history record via task
medHistoryTasks::TC-03: Verify editing and PI sign off medical history record via task
E2E test in suite
medHistoryTasks ·
first seen 2026-09-19 20:32:18 UTC · last seen 2026-11-17 01:35:54 UTC
· ← all runs
failing
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8913 [Test failure] Task filter: 'Con Med Review' heading matches the new 'group tasks' heading too (2 tests) | Completed · [email protected] | ENG-8913 is Completed; no run has started since | 2026-11-16 23:24:44 UTC by triage-agent (agent) · for e2e-tests-production The test is wrong |
Each distinct failure it has had (3)
1cb416bad191
in 0 runs · first
e2e-tests-production jenkins-838
(2026-11-05 07:46:35 UTC) · last
e2e-tests-production jenkins-860
(2026-11-16 20:36:09 UTC)
why locator.click: Error: strict mode violation: getByRole('heading', { name: 'Med Hist Review' }) resolved to 2 elements:
traceback
[singlePage] › tests/singlePage/medHistory/medHistoryTasks.spec.js:66:3 › Exe - Medical History Task › TC-03: Verify editing and PI sign off medical history record via task
Error: locator.click: Error: strict mode violation: getByRole('heading', { name: 'Med Hist Review' }) resolved to 2 elements:
1) <h5 class="_heading_eix6n_16 _title_154hi_15">Med Hist Review group tasks</h5> aka getByRole('heading', { name: 'Med Hist Review group tasks' })
2) <h5 class="_heading_eix6n_16 _title_154hi_15">Med Hist Review</h5> aka getByTestId('MedHistReview').getByRole('heading', { name: 'Med Hist Review' })
Call log:
- waiting for getByRole('heading', { name: 'Med Hist Review' })
at pages/studies/visitExecStudy.page.js:1237
1235 | await this.page.getByRole('heading', { name: filterName }).click();
1236 | await this.waitForTime(2000);
> 1237 | await this.page.getByRole('heading', { name: option }).click();
| ^
1238 | await this.waitForTime(2000);
1239 | await expect(
1240 | this.page.getByRole('row', { name: `${filterName}: ${option}` }).first()
at VisitStudiesPage.filterTask (/home/jenkins/agent/workspace/ui-tests-production/e2e/pages/studies/visitExecStudy.page.js:1237:60)
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/singlePage/medHistory/medHistoryTasks.spec.js:78:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('heading', { name: 'Med Hist Review' }) resolved to 2 elements:
1) <h5 class="_heading_eix6n_16 _title_154hi_15">Med Hist Review group tasks</h5> aka getByRole('heading', { name: 'Med Hist Review group tasks' })
2) <h5 class="_heading_eix6n_16 _title_154hi_15">Med Hist Review</h5> aka getByTestId('MedHistReview').getByRole('heading', { name: 'Med Hist Review' })
Call log:
- waiting for getByRole('heading', { name: 'Med Hist Review' })
at pages/studies/visitExecStudy.page.js:1237
1235 | await this.page.getByRole('heading', { name: filterName }).click();
1236 | await this.waitForTime(2000);
> 1237 | await this.page.getByRole('heading', { name: option }).click();
| ^
1238 | await this.waitForTime(2000);
1239 | await expect(
1240 | this.page.getByRole('row', { name: `${filterName}: ${option}` }).first()
at VisitStudiesPage.filterTask (/home/jenkins/agent/workspace/ui-tests-production/e2e/pages/studies/visitExecStudy.page.js:1237:60)
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/singlePage/medHistory/medHistoryTasks.spec.js:78:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/error-context.md
attachment #5: trace (application/zip) ─────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/trace.zip
Usage:
npx playwright show-trace reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
4d7035894ce4
in 0 runs · first
e2e-tests-production jenkins-857
(2026-11-12 20:52:22 UTC) · last
e2e-tests-production jenkins-857
(2026-11-12 20:52:22 UTC)
why expect(locator).not.toBeVisible() failed
traceback
[singlePage] › tests/singlePage/medHistory/medHistoryTasks.spec.js:66:3 › Exe - Medical History Task › TC-03: Verify editing and PI sign off medical history record via task
Error: expect(locator).not.toBeVisible() failed
Locator: locator('[class*=table] tr').nth(2)
Expected: not visible
Received: visible
Timeout: 50000ms
Call log:
- Expect "not toBeVisible" locator('[class*=table] tr').nth(2) with timeout 50000ms
- waiting for locator('[class*=table] tr').nth(2)
97 × locator resolved to <tr data-depth="0" data-leafs="0" data-subrows="0" data-row-index="1" data-clickable="true" data-selected="false" data-journey-kind="open" data-journey-auto="true" data-testid="study.subjects.row-row-1" data-journey-action="study.subjects.row.row">…</tr>
- unexpected value "visible"
at pages/studies/visitExecStudy.page.js:1128
1126 | await expect(
1127 | this.page.locator('[class*=table] tr').nth(2)
> 1128 | ).not.toBeVisible();
| ^
1129 | }
1130 | async goToVisitsPage(patientName, options = {}) {
1131 | const normalizedName = patientName.replace(/^\s+/, '');
at VisitStudiesPage.searchSubject (/home/jenkins/agent/workspace/ui-tests-production/e2e/pages/studies/visitExecStudy.page.js:1128:11)
at VisitStudiesPage.goToVisitsPage (/home/jenkins/agent/workspace/ui-tests-production/e2e/pages/studies/visitExecStudy.page.js:1138:5)
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/singlePage/medHistory/medHistoryTasks.spec.js:76:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('heading', { name: 'Med Hist Review' }) resolved to 2 elements:
1) <h5 class="_heading_eix6n_16 _title_154hi_15">Med Hist Review group tasks</h5> aka getByRole('heading', { name: 'Med Hist Review group tasks' })
2) <h5 class="_heading_eix6n_16 _title_154hi_15">Med Hist Review</h5> aka getByTestId('MedHistReview').getByRole('heading', { name: 'Med Hist Review' })
Call log:
- waiting for getByRole('heading', { name: 'Med Hist Review' })
at pages/studies/visitExecStudy.page.js:1044
1042 | await this.page.getByRole('heading', { name: filterName }).click();
1043 | await this.waitForTime(2000);
> 1044 | await this.page.getByRole('heading', { name: option }).click();
| ^
1045 | await this.waitForTime(2000);
1046 | await expect(
1047 | this.page.getByRole('row', { name: `${filterName}: ${option}` }).first()
at VisitStudiesPage.filterTask (/home/jenkins/agent/workspace/ui-tests-production/e2e/pages/studies/visitExecStudy.page.js:1044:60)
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/singlePage/medHistory/medHistoryTasks.spec.js:78:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/error-context.md
attachment #5: trace (application/zip) ─────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/trace.zip
Usage:
npx playwright show-trace reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
12bb2559efb8
in 0 runs · first
e2e-tests-master jenkins-850
(2026-10-27 01:32:20 UTC) · last
e2e-tests-production jenkins-846
(2026-11-06 15:16:26 UTC)
why locator.waitFor: Timeout 50000ms exceeded.
traceback
[singlePage] › tests/singlePage/medHistory/medHistoryTasks.spec.js:66:3 › Exe - Medical History Task › TC-03: Verify editing and PI sign off medical history record via task
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for getByTestId('organization-dropdown.toggle') to be visible
at pages/base.page.js:764
762 | async selectOrg(orgName) {
763 | await this.page.waitForTimeout(2000);
> 764 | await this.orgSwitcher.waitFor();
| ^
765 | const orgAlias = FunctionHelper.getOrgAlias(orgName);
766 | if ((await this.orgSwitcherName.textContent()) === orgName) {
767 | logger.info('Already on the selected org page: ' + orgAlias);
at VisitStudiesPage.selectOrg (/tests/pages/base.page.js:764:28)
at VisitStudiesPage.selectOrgAndModule (/tests/pages/base.page.js:418:5)
at Object.pi (/tests/utils/fixtures/visitExec.js:143:5)
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for getByTestId('organization-dropdown.toggle') to be visible
at pages/base.page.js:764
762 | async selectOrg(orgName) {
763 | await this.page.waitForTimeout(2000);
> 764 | await this.orgSwitcher.waitFor();
| ^
765 | const orgAlias = FunctionHelper.getOrgAlias(orgName);
766 | if ((await this.orgSwitcherName.textContent()) === orgName) {
767 | logger.info('Already on the selected org page: ' + orgAlias);
at VisitStudiesPage.selectOrg (/tests/pages/base.page.js:764:28)
at VisitStudiesPage.selectOrgAndModule (/tests/pages/base.page.js:418:5)
at Object.pi (/tests/utils/fixtures/visitExec.js:143:5)
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/error-context.md
attachment #5: trace (application/zip) ─────────────────────────────────────────────────────────
reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/trace.zip
Usage:
npx playwright show-trace reports/medHistory-medHistoryTasks-d6825-cal-history-record-via-task-singlePage-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────