Studio 2 - Study Configuration › TC-06: Create all sections with nodes and flags from JSON
createProtocolFromJson::TC-06: Create all sections with nodes and flags from JSON
E2E test in suite
createProtocolFromJson ·
first seen 2026-08-11 20:33:04 UTC · last seen 2026-11-17 01:35:54 UTC
· ← all runs
failing
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8917 [Test failure] Section search fill hits the protocol list's searchbox behind the Studio overlay (inert) | Ready for Development · Pranit Mahajan | known failure, ENG-8917 is Ready for Development | 2026-11-16 23:29:56 UTC by triage-agent (agent) · for e2e-tests-production The test is wrong |
e2e-tests-master — its newest 11 runs, oldest first
e2e-tests-production — its newest 2 runs, oldest first
What changed when it broke on e2e-tests-production
reading the deploy trail and the test repo…
Each distinct failure it has had (6)
7904653a1a77
in 0 runs · first
e2e-tests-production jenkins-855
(2026-11-10 21:25:00 UTC) · last
e2e-tests-production jenkins-860
(2026-11-16 20:36:09 UTC)
why locator.fill: Timeout 50000ms exceeded.
traceback
[main] › tests/studioConfig/createProtocolFromJson.spec.js:329:3 › Studio 2 - Study Configuration › TC-06: Create all sections with nodes and flags from JSON › Create section: Section 1
TimeoutError: locator.fill: Timeout 50000ms exceeded.
Call log:
- waiting for getByRole('searchbox', { name: 'Search...' }).first()
- locator resolved to <input value="" title="" data-rac="" tabindex="0" type="search" autocomplete="off" data-1p-ignore="true" placeholder="Search..." class="_field_1b5xl_258" id="react-aria2208597207-_r_12_" data-testid="protocol-table-search"/>
- fill("Section 1")
- attempting fill action
2 × waiting for element to be visible, enabled and editable
- element is inert
- retrying fill action
- waiting 20ms
2 × waiting for element to be visible, enabled and editable
- element is inert
- retrying fill action
- waiting 100ms
97 × waiting for element to be visible, enabled and editable
- element is inert
- retrying fill action
- waiting 500ms
343 |
344 | // Filter first — the table paginates at 30 rows.
> 345 | await protocolPage.tableSearchbox.nth(0).fill(section.name);
| ^
346 | await expect(
347 | protocolPage.page.locator(`tr:has-text("${section.name}")`)
348 | ).toBeVisible();
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/studioConfig/createProtocolFromJson.spec.js:345:50
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/studioConfig/createProtocolFromJson.spec.js:337:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 50000ms exceeded.
Call log:
- waiting for getByRole('searchbox', { name: 'Search...' }).first()
- locator resolved to <input value="" title="" data-rac="" tabindex="0" type="search" autocomplete="off" data-1p-ignore="true" placeholder="Search..." class="_field_1b5xl_258" id="react-aria530774438-_r_12_" data-testid="protocol-table-search"/>
- fill("Section 1")
- attempting fill action
2 × waiting for element to be visible, enabled and editable
- element is inert
- retrying fill action
- waiting 20ms
2 × waiting for element to be visible, enabled and editable
- element is inert
- retrying fill action
- waiting 100ms
92 × waiting for element to be visible, enabled and editable
- element is inert
- retrying fill action
- waiting 500ms
343 |
344 | // Filter first — the table paginates at 30 rows.
> 345 | await protocolPage.tableSearchbox.nth(0).fill(section.name);
| ^
346 | await expect(
347 | protocolPage.page.locator(`tr:has-text("${section.name}")`)
348 | ).toBeVisible();
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/studioConfig/createProtocolFromJson.spec.js:345:50
at /home/jenkins/agent/workspace/ui-tests-production/e2e/tests/studioConfig/createProtocolFromJson.spec.js:337:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/error-context.md
attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/trace.zip
Usage:
npx playwright show-trace reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
12bb2559efb8
in 3 runs · first
e2e-tests-master jenkins-705
(2026-08-12 23:01:20 UTC) · last
e2e-tests-master jenkins-840
(2026-10-22 01:32:19 UTC)
why locator.waitFor: Timeout 50000ms exceeded.
traceback
[main] › tests/studioConfig/createProtocolFromJson.spec.js:329:3 › Studio 2 - Study Configuration › TC-06: Create all sections with nodes and flags from JSON › Create section: Section 1
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for locator('[form="add-existing-question-slideover-form"][type="submit"]').last() to be hidden
- locator resolved to visible <button disabled data-rac="" type="submit" data-size="normal" data-layout="inline" data-theme="regular" data-disabled="true" data-variant="primary" class="_button_ay2sv_1" data-journey-label="Add" data-journey-auto="true" data-react-aria-pressable="true" id="react-aria978883295-_r_1f4_" form="add-existing-question-slideover-form" data-testid="questions.add-existing-question-details.add" data-journey-action="questions.add-existing-question-details.add">…</button>
97 × locator resolved to visible <button data-rac="" tabindex="0" type="submit" data-size="normal" data-layout="inline" data-theme="regular" data-variant="primary" class="_button_ay2sv_1" data-journey-label="Add" data-journey-auto="true" data-react-aria-pressable="true" id="react-aria978883295-_r_1f4_" form="add-existing-question-slideover-form" data-testid="questions.add-existing-question-details.add" data-journey-action="questions.add-existing-question-details.add">…</button>
at pages/studio/protocol.page.js:1854
1852 | await this.setSlideoverQuestionFlags(flags);
1853 | await this.addExistingQuestionConfirmButton.click();
> 1854 | await this.addExistingQuestionConfirmButton.waitFor({
| ^
1855 | state: 'hidden'
1856 | });
1857 | logger.info(
at ProtocolPage.addExistingQuestionToSectionByName (/tests/pages/studio/protocol.page.js:1854:49)
at addNodeToSection (/tests/tests/studioConfig/createProtocolFromJson.spec.js:156:5)
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:355:13
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:337:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for locator('[form="add-existing-question-slideover-form"][type="submit"]').last() to be hidden
99 × locator resolved to visible <button data-rac="" tabindex="0" type="submit" data-size="normal" data-layout="inline" data-theme="regular" data-variant="primary" class="_button_ay2sv_1" data-journey-label="Add" data-journey-auto="true" data-react-aria-pressable="true" id="react-aria954498294-_r_1bk_" form="add-existing-question-slideover-form" data-testid="questions.add-existing-question-details.add" data-journey-action="questions.add-existing-question-details.add">…</button>
at pages/studio/protocol.page.js:1854
1852 | await this.setSlideoverQuestionFlags(flags);
1853 | await this.addExistingQuestionConfirmButton.click();
> 1854 | await this.addExistingQuestionConfirmButton.waitFor({
| ^
1855 | state: 'hidden'
1856 | });
1857 | logger.info(
at ProtocolPage.addExistingQuestionToSectionByName (/tests/pages/studio/protocol.page.js:1854:49)
at addNodeToSection (/tests/tests/studioConfig/createProtocolFromJson.spec.js:156:5)
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:355:13
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:337:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/error-context.md
7ebaa31da947
in 3 runs · first
e2e-tests-master jenkins-718
(2026-08-20 06:35:05 UTC) · last
e2e-tests-master jenkins-747
(2026-09-08 01:31:50 UTC)
why locator.click: Timeout 50000ms exceeded.
traceback
[main] › tests/studioConfig/createProtocolFromJson.spec.js:322:3 › Studio 2 - Study Configuration › TC-06: Create all sections with nodes and flags from JSON › Create section: Section 1
TimeoutError: locator.click: Timeout 50000ms exceeded.
Call log:
- waiting for getByTestId('Table-button')
- locator resolved to <button data-rac="" tabindex="0" type="button" data-size="normal" data-layout="inline" data-theme="regular" data-variant="outline" class="_button_wvmjd_1" data-testid="Table-button" data-react-aria-pressable="true" id="react-aria3953907250-_r_1hv_">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
2 × retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16 p-12 bg-gray-100 flex-1 h-max min-h-full undefined">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
2 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16 p-12 bg-gray-100 flex-1 h-max min-h-full undefined">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16 p-12 bg-gray-100 flex-1 h-max min-h-full undefined">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
2 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-16">…</div> from <div data-state="in" class="_overlay_or068_1" data-in-container="true">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at pages/studio/protocol.page.js:2949
2947 | .click();
2948 | await this.tableButton.waitFor();
> 2949 | await this.tableButton.click();
| ^
2950 | await this.slideoverPanel.getByText(tableTitle).first().waitFor();
2951 | await this.slideoverPanel.getByText(tableTitle).first().click();
2952 | await this.page.waitForTimeout(1000);
at ProtocolPage.addExistingTableToSectionByName (/tests/pages/studio/protocol.page.js:2949:28)
at addNodeToSection (/tests/tests/studioConfig/createProtocolFromJson.spec.js:186:7)
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:349:13
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:330:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for locator('section[aria-label="slideover"]').getByPlaceholder('Search for a codelist') to be visible
at pages/studio/protocol.page.js:1814
1812 | if (responseSetName) {
1813 | const rsInput = this.responseSetSearchInput;
> 1814 | await rsInput.waitFor();
| ^
1815 | await this.page.waitForTimeout(1000);
1816 | await this.page.locator('[aria-label="Show suggestions"]').click();
1817 | await this.page.locator('[aria-label="Show suggestions"]').click();
at ProtocolPage.addExistingQuestionToSectionByName (/tests/pages/studio/protocol.page.js:1814:21)
at addNodeToSection (/tests/tests/studioConfig/createProtocolFromJson.spec.js:155:5)
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:349:13
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:330:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/error-context.md
73ee20d3e9c9
in 1 run · first
e2e-tests-master jenkins-716
(2026-08-19 01:31:56 UTC) · last
e2e-tests-master jenkins-716
(2026-08-19 01:31:56 UTC)
why expect(locator).toContainText(expected) failed
traceback
[main] › tests/studioConfig/createProtocolFromJson.spec.js:322:3 › Studio 2 - Study Configuration › TC-06: Create all sections with nodes and flags from JSON › Create section: Section 1
Error: expect(locator).toContainText(expected) failed
Locator: getByTestId('sections-section-table')
Expected substring: "Yes No"
Received string: "section namevariable namereferencesflagsrule chainlast updatedSection 1019 Aug 2026"
Timeout: 50000ms
Call log:
- Expect "toContainText" with timeout 50000ms
- waiting for getByTestId('sections-section-table')
98 × locator resolved to <table data-testid="sections-section-table">…</table>
- unexpected value "section namevariable namereferencesflagsrule chainlast updatedSection 1019 Aug 2026"
161 | await expect(
162 | protocolPage.page.getByTestId('sections-section-table')
> 163 | ).toContainText(title);
| ^
164 | } else if (node.objtype === 'Statement') {
165 | logger.info(` Adding statement to section "${sectionName}"`);
166 | await protocolPage.addStatementToSectionByName(
at addNodeToSection (/tests/tests/studioConfig/createProtocolFromJson.spec.js:163:7)
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:349:13
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:330:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for locator('[form="create-statement-form"][type="submit"]') to be hidden
102 × locator resolved to visible <button data-rac="" tabindex="0" type="submit" data-size="normal" data-hovered="true" data-focused="true" data-layout="inline" data-theme="regular" data-variant="primary" class="_button_wvmjd_1" form="create-statement-form" data-react-aria-pressable="true" id="react-aria5064506400-_r_1lb_">…</button>
at pages/studio/protocol.page.js:2892
2890 | await this.page.waitForTimeout(500);
2891 | await this.createStatementSaveButton.click();
> 2892 | await this.createStatementSaveButton.waitFor({
| ^
2893 | state: 'hidden'
2894 | });
2895 | logger.info(`[JSON] Statement added to section "${sectionName}"`);
at ProtocolPage.addStatementToSectionByName (/tests/pages/studio/protocol.page.js:2892:42)
at addNodeToSection (/tests/tests/studioConfig/createProtocolFromJson.spec.js:166:5)
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:349:13
at /tests/tests/studioConfig/createProtocolFromJson.spec.js:330:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/studioConfig-createProtoco-0a69a-h-nodes-and-flags-from-JSON-main-retry1/error-context.md
a456d5ee93f0
in 1 run · first
e2e-tests-master jenkins-707
(2026-08-15 01:30:00 UTC) · last
e2e-tests-master jenkins-707
(2026-08-15 01:30:00 UTC)
why TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for locator('[form="create-statement-form"][type="submit"]') to be hidden
102 × locator resolved to visible <button data-rac="" tabindex="0" type="submit" data-size="normal" data-hovered="true" data-focused="true" data-layout="inline" data-theme="regular" data-variant="primary" class="_button_wvmjd_1" form="create-statement-form" data-react-aria-pressable="true" id="react-aria7549172589-_r_1m3_">…</button>
d14e4b5b81f9
in 1 run · first
e2e-tests-master jenkins-702
(2026-08-12 05:23:14 UTC) · last
e2e-tests-master jenkins-702
(2026-08-12 05:23:14 UTC)