Staff Doc Training › TC-03: Verify document only staff training setup via training API
staff::TC-03: Verify document only staff training setup via training API
E2E test in suite
staff ·
first seen 2026-10-27 01:32:20 UTC · last seen 2026-11-17 01:35:54 UTC
· ← all runs
failing
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8914 [Test failure] Document-only training setup deletes Quiz Results after the Quiz already removed it | Ready for Development · [email protected] | known failure, ENG-8914 is Ready for Development | 2026-11-16 23:25:57 UTC by triage-agent (agent) · for e2e-tests-production The test is wrong |
Each distinct failure it has had (2)
ead64dfea15d
in 0 runs · first
e2e-tests-master jenkins-856
(2026-10-31 01:32:04 UTC) · last
e2e-tests-production jenkins-860
(2026-11-16 20:36:09 UTC)
why Delete activity section API call failed with error: {"message":"ref c9cff7cd-2949-4fa2-87f0-ae2c39cbd234 is not part of the named protocol/activity scope: caller org is not authorized against the requested organization"}
traceback
[main] › tests/training/staff.spec.js:73:3 › Staff Doc Training › TC-03: Verify document only staff training setup via training API
Error: Delete activity section API call failed with error: {"message":"ref c9cff7cd-2949-4fa2-87f0-ae2c39cbd234 is not part of the named protocol/activity scope: caller org is not authorized against the requested organization"}
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:376
374 | isSuccess,
375 | `${operationName} API call failed with error: ${responseBody}`
> 376 | ).toBeTruthy();
| ^
377 | }
378 | return response;
379 | }
at FunctionHelper.handleApiResponse (/home/jenkins/agent/workspace/ui-tests-production/e2e/helpers/functionHelper.js:376:9)
at StudioApiUtility.deleteActivitySection (/home/jenkins/agent/workspace/ui-tests-production/e2e/utils/apiUtility/studioApiUtility.js:1703:5)
at StudioApiUtility.setupDocumentOnlyTrainingForms (/home/jenkins/agent/workspace/ui-tests-production/e2e/utils/apiUtility/studioApiUtility.js:1734:7)
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/training/staff.spec.js:93:5
Error Context: reports/training-staff-Staff-Doc-T-aeef2-ning-setup-via-training-API-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Delete activity section API call failed with error: {"message":"ref 5712faa0-1af3-4081-ba3a-8f323545c36f is not part of the named protocol/activity scope: caller org is not authorized against the requested organization"}
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:376
374 | isSuccess,
375 | `${operationName} API call failed with error: ${responseBody}`
> 376 | ).toBeTruthy();
| ^
377 | }
378 | return response;
379 | }
at FunctionHelper.handleApiResponse (/home/jenkins/agent/workspace/ui-tests-production/e2e/helpers/functionHelper.js:376:9)
at StudioApiUtility.deleteActivitySection (/home/jenkins/agent/workspace/ui-tests-production/e2e/utils/apiUtility/studioApiUtility.js:1703:5)
at StudioApiUtility.setupDocumentOnlyTrainingForms (/home/jenkins/agent/workspace/ui-tests-production/e2e/utils/apiUtility/studioApiUtility.js:1734:7)
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/training/staff.spec.js:93:5
Error Context: reports/training-staff-Staff-Doc-T-aeef2-ning-setup-via-training-API-main-retry1/error-context.md
attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
reports/training-staff-Staff-Doc-T-aeef2-ning-setup-via-training-API-main-retry1/trace.zip
Usage:
npx playwright show-trace reports/training-staff-Staff-Doc-T-aeef2-ning-setup-via-training-API-main-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
84f0d111d3c6
in 0 runs · first
e2e-tests-production jenkins-818
(2026-10-27 12:17:43 UTC) · last
e2e-tests-production jenkins-821
(2026-10-29 05:34:09 UTC)
why Get all documents API call failed with error: {"message":"could not parse params schema: invalid path \"searchstr\""}
traceback
[main] › tests/training/staff.spec.js:71:3 › Staff Training › TC-03: Verify document only staff training setup via training API
Error: Get all documents API call failed with error: {"message":"could not parse params schema: invalid path \"searchstr\""}
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:391
389 | isSuccess,
390 | `${operationName} API call failed with error: ${responseBody}`
> 391 | ).toBeTruthy();
| ^
392 | }
393 | return response;
394 | }
at FunctionHelper.handleApiResponse (/tests/helpers/functionHelper.js:391:9)
at DocumentApiUtility.getDocIdByName (/tests/utils/apiUtility/documentApiUtility.js:23:5)
at /tests/tests/training/staff.spec.js:75:32
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/training-staff-Staff-Train-b93d8-ning-setup-via-training-API-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/training-staff-Staff-Train-b93d8-ning-setup-via-training-API-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Get all documents API call failed with error: {"message":"could not parse params schema: invalid path \"searchstr\""}
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:391
389 | isSuccess,
390 | `${operationName} API call failed with error: ${responseBody}`
> 391 | ).toBeTruthy();
| ^
392 | }
393 | return response;
394 | }
at FunctionHelper.handleApiResponse (/tests/helpers/functionHelper.js:391:9)
at DocumentApiUtility.getDocIdByName (/tests/utils/apiUtility/documentApiUtility.js:23:5)
at /tests/tests/training/staff.spec.js:75:32
Error Context: reports/training-staff-Staff-Train-b93d8-ning-setup-via-training-API-main-retry1/error-context.md