Staff Doc Training › TC-10: Verify Staff Training entries in Study Team Training Log
staff::TC-10: Verify Staff Training entries in Study Team Training Log
E2E test in suite
staff ·
first seen 2026-11-16 08:54:38 UTC · last seen 2026-11-17 01:35:54 UTC
· ← all runs
failing
since #881
(2026-11-16 08:54:38 UTC), 2 runs in a row ·
never passed in the stored runs
· failing
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8877 [Test failure] Study Team Training Log shows "In Progress"; new TC-10 expects "In progress" | Completed · [email protected] | ENG-8877 is Completed; no run has started since | 2026-11-16 12:23:50 UTC by triage-agent (agent) · for e2e-tests-master Cause not clear |
Each distinct failure it has had (1)
dd1c812ffdfa
in 0 runs · first
e2e-tests-master jenkins-881
(2026-11-16 08:54:38 UTC) · last
e2e-tests-master jenkins-882
(2026-11-17 01:35:54 UTC)
why expect(locator).toHaveText(expected) failed
traceback
[training] › tests/training/staff.spec.js:212:3 › Staff Doc Training › TC-10: Verify Staff Training entries in Study Team Training Log
Error: expect(locator).toHaveText(expected) failed
Locator: getByRole('row').filter({ hasText: 'Staff Training - 1794882298974' }).locator('td[data-column-id="status"]')
Expected: "In progress"
Received: "In Progress"
Timeout: 50000ms
Call log:
- Expect "soft toHaveText" getByRole('row').filter({ hasText: 'Staff Training - 1794882298974' }).locator('td[data-column-id="status"]') with timeout 50000ms
- waiting for getByRole('row').filter({ hasText: 'Staff Training - 1794882298974' }).locator('td[data-column-id="status"]')
102 × locator resolved to <td data-column-id="status">…</td>
- unexpected value "In Progress"
at pages/visitExecution/visitExecStudy.page.js:692
690 | if (entry.status !== undefined) {
691 | logger.info(`Training log: ${traineeName} status is ${entry.status}`);
> 692 | await expect.soft(cells.status).toHaveText(entry.status);
| ^
693 | }
694 | if (entry.assignedBy !== undefined) {
695 | logger.info(
at VisitStudiesPage.expectTrainingLogEntries (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/visitExecution/visitExecStudy.page.js:692:41)
at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/training/staff.spec.js:217:5
TimeoutError: page.waitForResponse: Timeout 50000ms exceeded while waiting for event "response"
at utils/apiUtility/visitApiUtility.js:224
222 | */
223 | static waitForTrainingLogSearch(page, search) {
> 224 | return page.waitForResponse((response) => {
| ^
225 | const url = new URL(response.url());
226 | return (
227 | response.request().method() === 'GET' &&
at VisitApiUtil.waitForTrainingLogSearch (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/visitApiUtility.js:224:17)
at VisitStudiesPage.searchTrainingLog (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/visitExecution/visitExecStudy.page.js:640:24)
at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/training/staff.spec.js:242:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected) failed
Locator: getByRole('row').filter({ hasText: 'Staff Training - 1794882820224' }).locator('td[data-column-id="status"]')
Expected: "In progress"
Received: "In Progress"
Timeout: 50000ms
Call log:
- Expect "soft toHaveText" getByRole('row').filter({ hasText: 'Staff Training - 1794882820224' }).locator('td[data-column-id="status"]') with timeout 50000ms
- waiting for getByRole('row').filter({ hasText: 'Staff Training - 1794882820224' }).locator('td[data-column-id="status"]')
99 × locator resolved to <td data-column-id="status">…</td>
- unexpected value "In Progress"
at pages/visitExecution/visitExecStudy.page.js:692
690 | if (entry.status !== undefined) {
691 | logger.info(`Training log: ${traineeName} status is ${entry.status}`);
> 692 | await expect.soft(cells.status).toHaveText(entry.status);
| ^
693 | }
694 | if (entry.assignedBy !== undefined) {
695 | logger.info(
at VisitStudiesPage.expectTrainingLogEntries (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/visitExecution/visitExecStudy.page.js:692:41)
at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/training/staff.spec.js:217:5
TimeoutError: page.waitForResponse: Timeout 50000ms exceeded while waiting for event "response"
at utils/apiUtility/visitApiUtility.js:224
222 | */
223 | static waitForTrainingLogSearch(page, search) {
> 224 | return page.waitForResponse((response) => {
| ^
225 | const url = new URL(response.url());
226 | return (
227 | response.request().method() === 'GET' &&
at VisitApiUtil.waitForTrainingLogSearch (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/visitApiUtility.js:224:17)
at VisitStudiesPage.searchTrainingLog (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/visitExecution/visitExecStudy.page.js:640:24)
at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/training/staff.spec.js:242:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training-retry1/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training-retry1/error-context.md
attachment #5: trace (application/zip) ─────────────────────────────────────────────────────────
reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training-retry1/trace.zip
Usage:
yarn playwright show-trace reports/staff-Staff-Doc-Training-T-90cc7--in-Study-Team-Training-Log-training-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────