Xray
all clusters 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 1 hour▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 10:02:12.
› →|
updated 5d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.

‹ Test triage

[Test failure] Female Creatinine stays 'Not available' in V2 after V1 gender is edited to Female

Product bug confidence medium · medium priority · e2e-tests-master, last seen in build 880

The verdict

Fix is in
the product code
Issue
ENG-8856 · Completed
Owner
[email protected] (author of the suspect commit cee99a538)
Filed in
Ready for Development, product project, in the current cycle
Service
execsvc
History when filed
intermittent, this error since build 880
Suspect commit
cee99a538 feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965) (#17293) (mmukkama)
On screen
The Lab assessments∙Female Creatinine form says 'Not available — This section is not available based previous answers', and the Corrected calcium 2 input is disabled with no edit pencil.
Branches
passes on master again (build 881); still fails on production (e2e-tests-production build 858). The fix has not reached production.
The click times out at visitExecStudy.page.js:2464 (editQuestion) because the 'Female Creatinine' form never unlocked. The selector is fine. On screen: the 'Lab assessments∙Female Creatinine' dialog reads 'Not available — This section is not available based previous answers'. 'Corrected calcium 2' is there but its textbox is disabled and has no pencil icon. The V1 Demographics gender edit to Female saved: the spec's 'Completed' check at line 157 passed. But the V2 branch was not re-evaluated, and the retry failed the same way. Likeliest cause: cee99a538 in main (new in this product range, 7713ce2..a654678). It stores choice answers as a list (values/editValues) and changes branchV2.go, branchConfig.go and the cypher that reads the answer. answer_values.go: nextAnswerValues returns nil when the value changes and the client sends no list, so a branch that reads the list may still see the old 'Male'. The suite's notes (e2e/knowledge/visit-execution.md:268) list this same symptom as a known regression on this test from mid-September. It later passed 9 runs in a row, so the bug seems to have come back. Not proven: check execsvc branch evaluation on an edited radio answer when editValues is absent.

Steps to reproduce

  1. Sign in as a CRC on the SMO org, on the CRO study built from the automation_v2_CRO protocol.
  2. Schedule a new patient for V1 (seeded patients default to Male), start V1, and complete Visit Details, Informed Consent and Demographics.
  3. Set the patient's status to Enrolled, schedule V2, start it, and complete Vital signs and Lab assessments.
  4. Open V1 > Demographics, click the edit pencil on the gender question and choose Female.
  5. Answer the childbearing-potential question that appears, click Complete and confirm the update. Demographics shows Completed.
  6. Go back to the study, open the patient's V2 > Lab assessments, refresh, and open the Female Creatinine questionnaire.
  7. Expected: the Female Creatinine questions can be edited (a pencil on 'Corrected calcium 2'); actual: the section reads 'Not available — This section is not available based previous answers' and the inputs are disabled.

History of this root cause

  • filed ENG-8856 · build 880 7d ago
    Product bug, confidence medium; 1 test; to [email protected] in Ready for Development
  • branches ENG-8856 6d ago

Tests 1

Oldest to newest, up to 30 runs. Green passed, red failed with this error, amber failed with another error. Skipped and collapsed runs are left out. Newest build: 882.

How the agent decided

Models
claude-sonnet-5-5 ($0.79, 16 lookups), then claude-opus-5-5 ($0.74, 8 lookups)
Settled by
the escalation model, because the first was unsure
Cost
$1.53

What it looked up (24, in order)

1. page_snapshot text=Not available · 518 chars back
315: - generic [ref=f5e700]: 316: - generic [ref=f5e702]: 317: - complementary [ref=f5e703] 318: - generic [ref=f5e708]: 319: - heading "Not available" [level=5] [ref=f5e709] 320: - generic [ref=f5e710]: This section is not available based previous answers 321: - generic [ref=f5e712]: 322: - generic [ref=f5e713]: 1. Creatinine clearance ( female)* 323: - generic [ref=f5e716]:
2. page_snapshot text=Corrected calcium · 738 chars back
14: ``` 15: TimeoutError: locator.click: Timeout 50000ms exceeded. 16: Call log: 17: - waiting for locator('form [class*=grid] :has-text("Corrected calcium 2")+ div [data-testid="icon-pencil"]').first() 19: ``` 21: # Page snapshot … 331: - generic [ref=f5e735]: 332: - generic [ref=f5e736]: EDC 333: - generic [ref=f5e738]: Auto computed 334: - generic [ref=f5e741]: 335: - generic [ref=f5e742]: 2. Corrected calcium 2* 336: - generic [ref=f5e745]: 337: - generic [ref=f5e748]: 338: - group [disabled] [ref=f5e751]: 339: - textbox "Enter number..." [disabled] [ref=f5e753]
3. service_errors text=Cache not found · 7799 chars back
+83m exportsvc handlers/activity_update_handler_wrapper.py:86: Cache not found for activity update: Cache not found for study 150e06a9-dc6e-441d-904b-c730f2348a0d. Expected locally: /tmp/exports/responses_150e06a9-dc6e-441d-904b-c730f2348a0d.parquet. Expected in GCS: automation/cache/responses_150e06a9-dc6e-441d-904b-c730f2348a0d.parquet. Run full export first to generate parquet cache. +83m exportsvc handlers/activity_update_handler_wrapper.py:86: Cache not found for activity update: Cache not found for study 150e06a9-dc6e-441d-904b-c730f2348a0d. Expected locally: /tmp/exports/responses_150e06a9-dc6e-441d-904b-c730f2348a0d.parquet. Expected in GCS: automation/cache/responses_150e06a9-dc6e-441d-904b-c730f2348a0d.parquet. Run full export first to generate parquet cache. +84m exportsvc handlers/activity_update_handler_wrapper.py:86: Cache not found for activity update: Cache not found for study 150e06a9-dc6e-441d-904b-c730f2348a0d. Expected locally: /tmp/exports/responses_150e06a9-dc6e-441d-904b-c730f2348a0d.parquet. Expected in GCS: automation/cache/responses_150e06a9-dc6e-441d-904b-c730f2348a0d.parquet. Run full export first to generate parquet cache. +84m exportsvc handlers/activity_update_handler_wrapper.py:86: Cache not found for activity update: Cache not found for study 150e06a9-dc6e-441d-904b-c730f2348a0d. Expected locally: /tmp/exports/responses_150e06a9-dc6e-441d-904b-c730f2348a0d.parquet. Expected in GCS: automation/cache/responses_150e06a9-dc6e-441d-904b-c730f2348a0 … (6299 more characters not kept)
4. blame repo=cleopatra, path=e2e/pages/visitExecution/visitExecStudy.page.js, start_line=2456, end_line=2476 · 1179 chars back
lines 2456-2460: 044e60547 2026-07-03T16:41 sbadiger: [E2E]: Edit regular table records (#13828) lines 2461-2461: fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685) lines 2462-2462: 044e60547 2026-07-03T16:41 sbadiger: [E2E]: Edit regular table records (#13828) lines 2463-2463: 6d7b34642 2026-05-28T15:37 sbadiger: [E2E]: Global table changes (#13106) lines 2464-2466: 044e60547 2026-07-03T16:41 sbadiger: [E2E]: Edit regular table records (#13828) lines 2467-2467: 6c24790b0 2026-11-08T18:16 Harsh-Tilda: [E2E] Nightly 861 e2e fixes (#16601) lines 2468-2468: 044e60547 2026-07-03T16:41 sbadiger: [E2E]: Edit regular table records (#13828) lines 2469-2469: fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685) lines 2470-2470: 044e60547 2026-07-03T16:41 sbadiger: [E2E]: Edit regular table records (#13828) lines 2471-2471: 6c24790b0 2026-11-08T18:16 Harsh-Tilda: [E2E] Nightly 861 e2e fixes (#16601) lines 2472-2473: 044e60547 2026-07-03T16:41 sbadiger: [E2E]: Edit regular table records (#13828) lines 2474-2474: 70e3b9683 2025-09-25T11:31 sbadiger: [E2E]: AE during visit using Plus button (#9687)
5. search_code repo=cleopatra, text=Female Creatinine, path_prefix=e2e · 761 chars back
e2e/knowledge/visit-execution.md 260: The `Female Creatinine` questionnaire in V2 Lab Assessments only appears after gender is edited to Female in V1 — which is necessary because seeded patients default to Male in Demographics (see [`pati 268: - `branchCondition.spec.js` TC-04 has failed on every main and production run since mid-September 2026 (#756 on 09-15 was the last pass). After V1 Demographics gender is edited to Female, V2 `Lab asse e2e/pages/common/protocols/automation_v2_CRO.json 684: "name": "Female Creatinine", 1207: "name": "Female Creatinine", 1209: "title": "Female Creatinine", e2e/tests/visitExecution/branchCondition.spec.js 137: test('TC-04: Verify editing gender to Female enables Female Creatinine questionnaire', async ({
6. commit_diff repo=cleopatra, sha=c5db9232b, path=e2e/pages · 3787 chars back
c5db9232b 2026-11-15T17:13 akshaysharma-tilda: Study feed: request cards in modals with the inbox thread, and the questions list (ENG-8324) (#16831) 28 files changed: apps/sense/src/modules/ai-teammates/ai-inbox/inbox-detail-header.tsx, apps/sense/src/modules/ai-teammates/ai-inbox/work-order-emails/hooks/useSendWorkOrderDraftMutation.ts, apps/sense/src/modules/ai-teammates/ai-inbox/work-order-emails/work-order-draft-actions.tsx, apps/sense/src/modules/ai-teammates/ai-inbox/work-order-emails/work-order-email-conversation.tsx, apps/sense/src/modules/ai-teammates/ai-workorders/work-order-details/activity-components/sticky-draft-card.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/card-review-modal.test.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/card-review-modal.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/card-review.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/feed-card.test.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/feed-side.module.scss, apps/sense/src/modules/studies/routes/studies/study/feed/feed-side.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/feed.test.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/review/registry.ts, apps/sense/src/modules/studies/routes/studies/study/feed/review/requests/attention-view.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/review/requests/email-view.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/r … (2287 more characters not kept)
7. read_file repo=cleopatra, path=e2e/knowledge/visit-execution.md, start_line=252, end_line=285 · 3166 chars back
e2e/knowledge/visit-execution.md (285 lines), lines 252-285: 252 Verified against `origin/main` on 2026-09-18 while diagnosing a `1/5 questions verified` failure in `TC-02`; the switch-state and single-click notes re-verified on 2026-09-23 against `react-aria-components` 1.21.1. 253 254 The spec assumes the `New visit modal` feature flag is already on; it does not enable it. 255 256 ## Branching and auto-compute 257 258 Auto-computed values need a **blur and about 4 s** — the spec clicks another input and waits before reading. Mean arterial pressure from 160/120 renders as `133`. 259 260 The `Female Creatinine` questionnaire in V2 Lab Assessments only appears after gender is edited to Female in V1 — which is necessary because seeded patients default to Male in Demographics (see [`patients.md`](patients.m 261 262 Age on the Demographics form is derived from the seeded DOB and asserted with a ±1 year tolerance, because the seeded DOB is 1 September and the run date moves. 263 264 ## Known regressions and dead code in this area 265 266 Worth knowing before filing a bug or "fixing" a line: 267 268 - `branchCondition.spec.js` TC-04 has failed on every main and production run since mid-September 2026 (#756 on 09-15 was the last pass). After V1 Demographics gender is edited to Female, V2 `Lab assessments ∙ Female Cre 269 270 - `unlockActivity` (`:2519-2534`) tests `this.unlockActivityButton.isVisible()` **without `await`**, so the condition is always truthy. It works today … (1666 more characters not kept)
8. search_code repo=cleopatra, text=has failed on every main and production run since mid-September, path_prefix=e2e/knowledge · 240 chars back
e2e/knowledge/visit-execution.md 268: - `branchCondition.spec.js` TC-04 has failed on every main and production run since mid-September 2026 (#756 on 09-15 was the last pass). After V1 Demographics gender is edited to Female, V2 `Lab asse
9. search_code repo=cleopatra, text=This section is not available, path_prefix=e2e · 240 chars back
e2e/knowledge/visit-execution.md 268: - `branchCondition.spec.js` TC-04 has failed on every main and production run since mid-September 2026 (#756 on 09-15 was the last pass). After V1 Demographics gender is edited to Female, V2 `Lab asse
10. commits repo=cleopatra, path=e2e/knowledge/visit-execution.md, since=2026-09-15T00:00:00Z · 947 chars back
0218d9d1a 2026-11-13T14:06 pranitmahajan: [E2E] Studio test fixes (#16795) fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685) 7c21eca8d 2026-11-11T02:47 tilda-gitbot[bot]: [E2E] Subject page: open from Subjects, Tasks tab and Documents tab (ENG-8561) (#16640) 11c6b32b4 2026-11-10T11:42 Harsh-Tilda: [E2E] changes folder structure and run to run module wise (#16639) 6c24790b0 2026-11-08T18:16 Harsh-Tilda: [E2E] Nightly 861 e2e fixes (#16601) 77e47b6b4 2026-11-07T12:56 pranitmahajan: [E2E] e2e sync with production branch (#16593) e089421a7 2026-10-26T07:41 arzatskis: Use the new Figma icon shapes under the existing icon names (#16085) 0f7c8bc17 2026-09-29T15:30 sbadiger: [E2E]: Queries and more fixes (#15422) 69d18c29c 2026-09-23T14:55 krishnatilda: [E2E] Fix SDV questions-verified 1/5 false failure (#15269) 1c1b66c4b 2026-09-17T17:47 Harsh-Tilda: [E2E] adds knowledge banks for all suites (#15219)
11. commit_diff repo=main, sha=cee99a538, path=common/execlib · 7489 chars back
cee99a538 2026-11-06T17:02 mmukkama: feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965) (#17293) 25 files changed: common/execlib/activityV1toV2.go, common/execlib/activityV2.go, common/execlib/answer_values.go, common/execlib/branchV2.go, common/execlib/branchV2_pq_answer_test.go, common/execlib/hdm_prepopulate.go, common/execlib/questionV2.go, common/execlib/questionv2_update_pq_answer_test.go, common/graphlib/autoComputeConfig.go, common/graphlib/branchConfig.go, common/graphlib/branchConfig_test.go, common/graphlib/pq_answer_cypher.go, common/graphlib/pq_answer_cypher_test.go, execsvc/pkg/execution/chain_placements.go, execsvc/pkg/execution/chain_placements_test.go, execsvc/pkg/health/data_migrations.go, execsvc/pkg/repo/activityV2.go, execsvc/pkg/repo/careplanV2.go, execsvc/pkg/repo/common_forms.go, execsvc/pkg/repo/pq_values_backfill_integration_test.go, execsvc/pkg/repo/pq_values_edit_integration_test.go, execsvc/pkg/repo/pq_values_hdm_integration_test.go, studiosvc/pkg/repo/data_migrations.go, studiosvc/pkg/repo/pq_answer_cypher_migration_integration_test.go, tildaobj/exec_obj_defs.go --- common/execlib/activityV1toV2.go @@ -1563,6 +1563,9 @@ func constructParticipantQuestionV1ToV2(ctx context.Context, qn *tildaobj.Questi obj.Properties["prePopulate"] = prePopulate if defaultVal != nil { obj.Properties["value"] = defaultVal + if values := createdAnswerValues(qn, defaultVal); values != nil { + obj.Properties["values"] = … (5989 more characters not kept)
12. search_code repo=main, text=This section is not available based previous answers · 30 chars back
no match on the default branch
13. search_code repo=cleopatra, text=This section is not available, path_prefix=apps · 143 chars back
apps/sense/src/modules/execution/components/questionnaire/questionnaire.tsx 1282: body="This section is not available based previous answers"
14. read_file repo=cleopatra, path=apps/sense/src/modules/execution/components/questionnaire/questionnaire.tsx, start_line=1255, end_line=1295 · 1911 chars back
apps/sense/src/modules/execution/components/questionnaire/questionnaire.tsx (1719 lines), lines 1255-1295: 1255 </div> 1256 </> 1257 ) : ( 1258 <> 1259 {/* Training activities don't show this alert — branching/activation rules are not supported for training */} 1260 {questionnaireStatus === 'NotAvailable' && !isTraining && ( 1261 <Alert 1262 title="Not available" 1263 body="This section is not available based previous answers" 1264 theme="info" 1265 icon="info" 1266 /> 1267 )} 1268 <FormItemsList 1269 formItems={formItems} 1270 itemIndices={itemIndices} 1271 previewMode={!!visitContext?.previewMode} 1272 disabled={disabled} 1273 activityId={activity?.tildaid} 1274 studyId={visitContext?.studyId} 1275 protocolVersionId={protocolVersionId} 1276 logicConfig={logicConfig} 1277 onEdit={onEdit} 1278 hideFormItemHeaders={hideFormItemHeaders} 1279 hideTableActions={hideTableActions} 1280 participantActivityId={participantActivityId!} 1281 siteTimeZone={siteTimeZone} 1282 filter={allowedTypesFilter} 1283 sectionNotAvailable={questionnaireStatus … (411 more characters not kept)
15. commit_diff repo=main, sha=cee99a538, path=common/execlib/branchV2.go · 3119 chars back
cee99a538 2026-11-06T17:02 mmukkama: feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965) (#17293) 25 files changed: common/execlib/activityV1toV2.go, common/execlib/activityV2.go, common/execlib/answer_values.go, common/execlib/branchV2.go, common/execlib/branchV2_pq_answer_test.go, common/execlib/hdm_prepopulate.go, common/execlib/questionV2.go, common/execlib/questionv2_update_pq_answer_test.go, common/graphlib/autoComputeConfig.go, common/graphlib/branchConfig.go, common/graphlib/branchConfig_test.go, common/graphlib/pq_answer_cypher.go, common/graphlib/pq_answer_cypher_test.go, execsvc/pkg/execution/chain_placements.go, execsvc/pkg/execution/chain_placements_test.go, execsvc/pkg/health/data_migrations.go, execsvc/pkg/repo/activityV2.go, execsvc/pkg/repo/careplanV2.go, execsvc/pkg/repo/common_forms.go, execsvc/pkg/repo/pq_values_backfill_integration_test.go, execsvc/pkg/repo/pq_values_edit_integration_test.go, execsvc/pkg/repo/pq_values_hdm_integration_test.go, studiosvc/pkg/repo/data_migrations.go, studiosvc/pkg/repo/pq_answer_cypher_migration_integration_test.go, tildaobj/exec_obj_defs.go --- common/execlib/branchV2.go @@ -8,6 +8,7 @@ import ( "github.com/neo4j/neo4j-go-driver/v5/neo4j/dbtype" careplan "github.com/tildabio/main/common/careplanlib" + "github.com/tildabio/main/common/graphlib" "github.com/tildabio/main/tildadb" "github.com/tildabio/main/tildaobj" zaplogger "github.com/tildabio/main/util/observability" @@ -6 … (1619 more characters not kept)
16. MISSING · 30 chars back
repo must be cleopatra or main
17. page_snapshot text=Not available · 518 chars back
315: - generic [ref=f5e700]: 316: - generic [ref=f5e702]: 317: - complementary [ref=f5e703] 318: - generic [ref=f5e708]: 319: - heading "Not available" [level=5] [ref=f5e709] 320: - generic [ref=f5e710]: This section is not available based previous answers 321: - generic [ref=f5e712]: 322: - generic [ref=f5e713]: 1. Creatinine clearance ( female)* 323: - generic [ref=f5e716]:
18. page_snapshot text=Corrected calcium · 738 chars back
14: ``` 15: TimeoutError: locator.click: Timeout 50000ms exceeded. 16: Call log: 17: - waiting for locator('form [class*=grid] :has-text("Corrected calcium 2")+ div [data-testid="icon-pencil"]').first() 19: ``` 21: # Page snapshot … 331: - generic [ref=f5e735]: 332: - generic [ref=f5e736]: EDC 333: - generic [ref=f5e738]: Auto computed 334: - generic [ref=f5e741]: 335: - generic [ref=f5e742]: 2. Corrected calcium 2* 336: - generic [ref=f5e745]: 337: - generic [ref=f5e748]: 338: - group [disabled] [ref=f5e751]: 339: - textbox "Enter number..." [disabled] [ref=f5e753]
19. search_code repo=cleopatra, text=Female Creatinine · 761 chars back
e2e/knowledge/visit-execution.md 260: The `Female Creatinine` questionnaire in V2 Lab Assessments only appears after gender is edited to Female in V1 — which is necessary because seeded patients default to Male in Demographics (see [`pati 268: - `branchCondition.spec.js` TC-04 has failed on every main and production run since mid-September 2026 (#756 on 09-15 was the last pass). After V1 Demographics gender is edited to Female, V2 `Lab asse e2e/pages/common/protocols/automation_v2_CRO.json 684: "name": "Female Creatinine", 1207: "name": "Female Creatinine", 1209: "title": "Female Creatinine", e2e/tests/visitExecution/branchCondition.spec.js 137: test('TC-04: Verify editing gender to Female enables Female Creatinine questionnaire', async ({
20. read_file repo=cleopatra, path=e2e/tests/visitExecution/branchCondition.spec.js, start_line=1, end_line=136 · 5369 chars back
e2e/tests/visitExecution/branchCondition.spec.js (205 lines), lines 1-136: 1 import { loadData } from '../../helpers/runData'; 2 import { STUDIES } from '../../helpers/executionSetup'; 3 import { expect, test } from '../../utils/fixtures/visitExec'; 4 import logger from '../../lib/logger/log'; 5 import FunctionHelper from '../../helpers/functionHelper'; 6 import studioDataHelper, { 7 getActivationPathQuestions 8 } from '../../helpers/studioDataHelper'; 9 const data = loadData(); 10 11 test.use({ executionSetup: STUDIES.CRO }); 12 13 test.describe.configure({ mode: 'serial' }); 14 test.describe('Exe - Check Branch & Auto-compute', () => { 15 const studyName = data.croStudyName; 16 const siteName = data.croSiteName; 17 const advocateAdminOrg = data.testOrg; 18 let patientName = ''; 19 let crcUser; 20 let scheduleData; 21 22 test.beforeAll(async ({ commonApiUtility, userApiUtility }) => { 23 scheduleData = await commonApiUtility.schedulePatient( 24 advocateAdminOrg, 25 studyName, 26 siteName, 27 { visitName: 'V1' } 28 ); 29 patientName = `${await scheduleData.patientData.patientDetails.patientFirstName} ${await scheduleData.patientData.patientDetails.patientLastName}`; 30 crcUser = await userApiUtility.findUserDetails('CRC'); 31 }); 32 33 test('TC-01: Verify start and complete visit 1 as CRC while verifying age auto computed', async ({ 34 crc 35 }) => { 36 await crc.searchStudy(studyName); 37 await crc … (3869 more characters not kept)
21. read_file repo=cleopatra, path=e2e/knowledge/visit-execution.md, start_line=255, end_line=290 · 2848 chars back
e2e/knowledge/visit-execution.md (285 lines), lines 255-285: 255 256 ## Branching and auto-compute 257 258 Auto-computed values need a **blur and about 4 s** — the spec clicks another input and waits before reading. Mean arterial pressure from 160/120 renders as `133`. 259 260 The `Female Creatinine` questionnaire in V2 Lab Assessments only appears after gender is edited to Female in V1 — which is necessary because seeded patients default to Male in Demographics (see [`patients.md`](patients.m 261 262 Age on the Demographics form is derived from the seeded DOB and asserted with a ±1 year tolerance, because the seeded DOB is 1 September and the run date moves. 263 264 ## Known regressions and dead code in this area 265 266 Worth knowing before filing a bug or "fixing" a line: 267 268 - `branchCondition.spec.js` TC-04 has failed on every main and production run since mid-September 2026 (#756 on 09-15 was the last pass). After V1 Demographics gender is edited to Female, V2 `Lab assessments ∙ Female Cre 269 270 - `unlockActivity` (`:2519-2534`) tests `this.unlockActivityButton.isVisible()` **without `await`**, so the condition is always truthy. It works today only because every caller reaches it with the button present. 271 - Several clicks are deliberately not awaited and compensated for with a wait and a refresh: `enterScreenFailDetails`, `enterVisitOfflineDetails`. 272 - `enterPin` is a no-op — see [`documents.md`](documents.md) → *Signing*. 273 - `medHistoryCUD.spec.j … (1348 more characters not kept)
22. search_code repo=cleopatra, text=#756 on 09-15 was the last pass · 240 chars back
e2e/knowledge/visit-execution.md 268: - `branchCondition.spec.js` TC-04 has failed on every main and production run since mid-September 2026 (#756 on 09-15 was the last pass). After V1 Demographics gender is edited to Female, V2 `Lab asse
23. service_errors service=execsvc · 2753 chars back
+33m execsvc handlers/duty.go:331: could not list DutyPlans for Study 6b72ee84-e21b-41c3-9cd7-8b8f007813bc: passed Study was not found +37m execsvc pubsub/pubsub.go:549: failed to get Study 6b72ee84-e21b-41c3-9cd7-8b8f007813bc. Error: object Study {tildaid:$a_tildaid} is marked deleted +38m execsvc handlers/duty.go:331: could not list DutyPlans for Study d508d2ef-a1d9-4873-af53-73c9865f3af4: passed Study was not found +45m execsvc execution/careplanV2.go:1240: failed to find study protocol for study study d508d2ef-a1d9-4873-af53-73c9865f3af4 site 6517265c-649c-448d-814a-6a3df77c9ae4: bad status of adopted protocol: not found +45m execsvc repo/careplanV2.go:193: bad status of adopted protocol for plan definition c4af00c8-36d3-4b73-9174-fbdc55381072: not found +46m execsvc execution/careplanV2.go:1240: failed to find study protocol for study study d508d2ef-a1d9-4873-af53-73c9865f3af4 site 6517265c-649c-448d-814a-6a3df77c9ae4: bad status of adopted protocol: not found +46m execsvc repo/careplanV2.go:193: bad status of adopted protocol for plan definition c4af00c8-36d3-4b73-9174-fbdc55381072: not found +46m execsvc execution/careplanV2.go:1240: failed to find study protocol for study study b2debd2d-74b8-4bfb-a7dd-f97fb560d289 site e1bdeb27-bb85-49fa-804c-4cd297f0776d: bad status of adopted protocol: not found +46m execsvc repo/careplanV2.go:193: bad status of adopted protocol for plan definition 334f1b2e-4fc8-401b-8ea9-96c2f9d936b6: not found +136m execsvc handlers/duty.go:331 … (1253 more characters not kept)
24. commit_diff repo=main, sha=cee99a538 · 7489 chars back
cee99a538 2026-11-06T17:02 mmukkama: feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965) (#17293) 25 files changed: common/execlib/activityV1toV2.go, common/execlib/activityV2.go, common/execlib/answer_values.go, common/execlib/branchV2.go, common/execlib/branchV2_pq_answer_test.go, common/execlib/hdm_prepopulate.go, common/execlib/questionV2.go, common/execlib/questionv2_update_pq_answer_test.go, common/graphlib/autoComputeConfig.go, common/graphlib/branchConfig.go, common/graphlib/branchConfig_test.go, common/graphlib/pq_answer_cypher.go, common/graphlib/pq_answer_cypher_test.go, execsvc/pkg/execution/chain_placements.go, execsvc/pkg/execution/chain_placements_test.go, execsvc/pkg/health/data_migrations.go, execsvc/pkg/repo/activityV2.go, execsvc/pkg/repo/careplanV2.go, execsvc/pkg/repo/common_forms.go, execsvc/pkg/repo/pq_values_backfill_integration_test.go, execsvc/pkg/repo/pq_values_edit_integration_test.go, execsvc/pkg/repo/pq_values_hdm_integration_test.go, studiosvc/pkg/repo/data_migrations.go, studiosvc/pkg/repo/pq_answer_cypher_migration_integration_test.go, tildaobj/exec_obj_defs.go --- common/execlib/activityV1toV2.go @@ -1563,6 +1563,9 @@ func constructParticipantQuestionV1ToV2(ctx context.Context, qn *tildaobj.Questi obj.Properties["prePopulate"] = prePopulate if defaultVal != nil { obj.Properties["value"] = defaultVal + if values := createdAnswerValues(qn, defaultVal); values != nil { + obj.Properties["values"] = … (5989 more characters not kept)

What it was shown (build 880, 57.8 KB)

The run
{ "job": "e2e-tests-master", "build": 880, "kind": "ui-tests", "result": "UNSTABLE", "started": "2026-11-16T01:37:29Z", "tests": 710, "failed": 84, "test_commit": "c5db9232b", "cluster_prepared": { "mode": "verify", "result": "not_ready", "product_commit": "a654678" } }
services
[ "docsvc", "execsvc", "patientsvc", "schedsvc", "enrollsvc", "studiosvc", "finsvc", "notifsvc", "dslsvc", "authz", "dashQL", "dashRsvc", "regsvc", "advpsvc", "workplansvc", "datasvc", "payoutsvc", "tusker", "authsvc", "eventsvc", "ehrsvc", "docproc", "studioai", "sense" ]
The cluster during the run
{ "cluster": "automation", "findings_opened_around_the_run": [ { "kind": "error.novel", "severity": "critical", "subject": "exportsvc", "title": "exportsvc: a new error shape, 95\u00d7 in the last hour, never seen in 90 days (Cache not found for activity update: Cache not found for study ?. Expe)", "opened_minutes_after_run_start": 105 }, { "kind": "error.novel", "severity": "warning", "subject": "exportsvc", "title": "exportsvc: a new error shape, 7\u00d7 in the last hour, never seen in 90 days (Cache not found for activity update: Cache not found for study ?. Expe)", "opened_minutes_after_run_start": 235 }, { "kind": "error.novel", "severity": "warning", "subject": "exportsvc", "title": "exportsvc: a new error shape, 7\u00d7 in the last hour, never seen in 90 days (Cache not found for activity update: Cache not found for study ?. Expe)", "opened_minutes_after_run_start": 235 } ], "long_standing_findings_left_out": 22, "pods_in_trouble_during_the_run": [], "deploys_during_the_run": [] }
The group
{ "tests": 1, "suite": "branchCondition", "members": [ { "test": "branchCondition::TC-04: Verify editing gender to Female enables Female Creatinine questionnaire", "pattern": "intermittent", "meaning": "11 failures in 20 runs, 1 in a row now", "newest_first": "F P P P P P P P P P F F F F F F F F F F", "failing_in_a_row": 1, "this_error_in_a_row": 1, "this_error_since_build": 880, "build_before_this_error": 879, "failing_since_build": 880, "last_passed_build": 879 } ] }
The failure
{ "test": "branchCondition::TC-04: Verify editing gender to Female enables Female Creatinine questionnaire", "status": "error", "message": "locator.click: Timeout 50000ms exceeded.", "traceback_tail": " reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution/test-failed-1.png\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n attachment #2: video (video/webm) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution/video.webm\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n Error Context: reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution/error-context.md\n\n Retry #1 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n TimeoutError: locator.click: Timeout 50000ms exceeded.\n Call log:\n - waiting for locator('form [class*=grid] :has-text(\"Corrected calcium 2\")+ div [data-testid=\"icon-pencil\"]').first()\n\n\n at pages/visitExecution/visitExecStudy.page.js:2464\n\n 2462 | )\n 2463 | .first()\n > 2464 | .click();\n | ^\n 2465 | } else {\n 2466 | await this.page\n 2467 | .locator(`svg[data-testid=\"icon-pencil.rectangle\"]`)\n at VisitStudiesPage.editQuestion (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/visitExecution/visitExecStudy.page.js:2464:10)\n at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/visitExecution/branchCondition.spec.js:182:15\n\n attachment #1: screenshot (image/png) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution-retry1/test-failed-1.png\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n attachment #2: video (video/webm) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution-retry1/video.webm\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n Error Context: reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution-retry1/error-context.md\n\n attachment #5: trace (application/zip) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution-retry1/trace.zip\n Usage:\n\n yarn playwright show-trace reports/branchCondition-Exe---Chec-8df89-le-Creatinine-questionnaire-visitExecution-retry1/trace.zip\n\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500", "requests": [ { "trace_id": "e2e7e57c176f9e8d2911724b8deef14d", "method": "GET", "path": "/api/studio/events", "status": "404", "error": "None" }, { "trace_id": "e2e7e57c176f9e8d2911724c50372a97", "method": "GET", "path": "/api/studio/events", "status": "404", "error": "None" }, { "trace_id": "e2e7e57c176f9e8d2911724d3d80fd17", "method": "GET", "path": "/api/studio/events", "status": "404", "error": "None" }, { "trace_id": "e2e7e57c176f9e8d29117249af5cd8be", "method": "GET", "path": "/api/studio/events", "status": "404", "error": "None" }, { "trace_id": "e2e7e57c176f9e8d2911724f95d8e214", "method": "GET", "path": "/api/studio/events", "status": "404", "error": "None" }, { "trace_id": "e2e7e57c176f9e8d29117244ae8b3db1", "method": "GET", "path": "/api/trialexec/study/150e06a9-dc6e-441d-904b-c730f2348a0d/actor", "status": "400", "error": "None" } ], "errors_the_services_logged_for_these_requests": "none: no service logged an error under these requests' trace ids", "raised_at": "e2e/pages/visitExecution/visitExecStudy.page.js:2464", "code_frame": " at pages/visitExecution/visitExecStudy.page.js:2464\n\n 2462 | )\n 2463 | .first()\n> 2464 | .click();\n | ^\n 2465 | } else {\n 2466 | await this.page\n 2467 | .locator(`svg[data-testid=\"icon-pencil.rectangle\"]`)", "playwright_call_log": [ "- waiting for locator('form [class*=grid] :has-text(\"Corrected calcium 2\")+ div [data-testid=\"icon-pencil\"]').first()" ], "attempts": { "errors": [ "TimeoutError: locator.click: Timeout 50000ms exceeded.", "TimeoutError: locator.click: Timeout 50000ms exceeded." ], "note": "every attempt failed the same way: deterministic, not a race" } }
Console lines about this test
{ "from": "console.log", "lines": [ "6281: INFO Processing Yes branch 1 (+1 identical, not shipped)", "6282: INFO \u2713 612 [visitExecution] \u203a tests/visitExecution/adverseEvent/aeCUD.spec.js:33:3 \u203a Exe - Adverse Events CUD \u203a TC-01: Verify adding AE record as part of visit execution (10.3m) (+1 identical, not shipped)", "6283: INFO Verify task category - Adverse Event Review", "6284: INFO \u2718 641 [visitExecution] \u203a tests/visitExecution/branchCondition.spec.js:137:3 \u203a Exe - Check Branch & Auto-compute \u203a TC-04: Verify editing gender to Female enables Female Creatinine questionnaire (4.1m)", "6285: INFO Signing off AE record from task: Text-1794798691612", "6286: INFO Patient created via api: Hmji9cgzm29cma", "6287: INFO Verify query - QA query for adverse event Severity (tab) 1794798949465", "\u2026", "7364: INFO [Training Management on CRO org] Studio checked - expected visible [Training Templates], expected hidden [Study Configuration, Forms]", "7365: INFO [Training Management on CRO org] AI Teammates: nav link hidden as expected", "7366: INFO \u2713 685 [platform] \u203a tests/platform/userProfile/licenseTabVisibility.spec.js:821:5 \u203a User Profile - Org license & visibility \u203a TC-06: Training Management license only on a CRO org - shows the screens and tabs it licenses and hides the rest (47.4s)", "7367: INFO \u2718 678 [visitExecution] \u203a tests/visitExecution/branchCondition.spec.js:137:3 \u203a Exe - Check Branch & Auto-compute \u203a TC-04: Verify editing gender to Female enables Female Creatinine questionnaire (retry #1) (4.3m)", "7368: INFO \u25c7 injected env (0) from ../env/.env.master // tip: \u2318 custom filepath { path: '/custom/path/.env' } (+1 identical, not shipped)", "7369: INFO Opened the organization switcher (+1 identical, not shipped)", "7370: INFO \u25c7 injected env (14) from env/.env.master // tip: \u25c8 secrets for agents [www.dotenvx.com] (+1 identical, not shipped)", "\u2026", "13920: INFO Error Context: reports/userProfile-updateOrg-User-fae9b-rs-export-and-invite-search-platform/error-context.md", "13921: INFO Error Context: reports/userProfile-updateOrg-User-fae9b-rs-export-and-invite-search-platform-retry1/error-context.md", "13922: INFO yarn playwright show-trace reports/userProfile-updateOrg-User-fae9b-rs-export-and-invite-search-platform-retry1/trace.zip", "13923: INFO 78) [visitExecution] \u203a tests/visitExecution/branchCondition.spec.js:137:3 \u203a Exe - Check Branch & Auto-compute \u203a TC-04: Verify editing gender to Female enables Female Creatinine questionnaire", "13924: ERROR TimeoutError: locator.click: Timeout 50000ms exceeded.", "13925: INFO - waiting for locator('form [class*=grid] :has-text(\"Corrected calcium 2\")+ div [data-testid=\"icon-pencil\"]').first()", "13926: INFO at pages/visitExecution/visitExecStudy.page.js:2464", "\u2026", "14267: INFO [platform] \u203a tests/platform/userProfile/licenseTabVisibility.spec.js:821:5 \u203a User Profile - Org license & visibility \u203a TC-02: TMF AI Teammate license only on a CRO org - shows the screens and tabs it licenses and hides the rest", "14268: INFO [platform] \u203a tests/platform/userProfile/licenseTabVisibility.spec.js:821:5 \u203a User Profile - Org license & visibility \u203a TC-03: SSU/WO/WP license only on a CRO org - shows the screens and tabs it licenses and hides the rest", "14269: INFO [platform] \u203a tests/platform/userProfile/updateOrg.spec.js:29:3 \u203a User Profile - Update Organization \u203a TC-01: TC-ORG-037: TC-ORG-042: TC-ORG-051: TC-ORG-052: TC-ORG-069: Org members list, the roles each org type offers, adding a role to a user, and CRO site staff kept out of members, export ", "14270: INFO [visitExecution] \u203a tests/visitExecution/branchCondition.spec.js:137:3 \u203a Exe - Check Branch & Auto-compute \u203a TC-04: Verify editing gender to Female enables Female Creatinine questionnaire", "14271: INFO [visitExecution] \u203a tests/visitExecution/edc/crfPrinting.spec.js:115:3 \u203a EDC - CRF Printing \u203a TC-01: Blank CRF Printing - All Visits and All Activities", "14272: INFO [visitExecution] \u203a tests/visitExecution/edc/edcExports.spec.js:331:3 \u203a EDC - CRF Exports \u203a TC-01: Verify completing crc signoff", "14273: INFO [visitExecution] \u203a tests/visitExecution/protocolDeviation/pdCUD.spec.js:452:3 \u203a Exe - Protocol Deviations CUD \u203a TC-15: Verify CRC marking CRO Monitor query as No action needed from PD tab" ] }
The test's history
{ "pattern": "intermittent", "meaning": "11 failures in 20 runs, 1 in a row now", "newest_first": "F P P P P P P P P P F F F F F F F F F F", "failing_in_a_row": 1, "this_error_in_a_row": 1, "this_error_since_build": 880, "build_before_this_error": 879 }
The test's source
{ "repo": "tildabio/cleopatra", "at": "c5db9232b", "path": "e2e/tests/visitExecution/branchCondition.spec.js", "from_line": 137, "failing_line": 137, "code": "137> test('TC-04: Verify editing gender to Female enables Female Creatinine questionnaire', async ({\n138 crc\n139 }) => {\n140 await crc.searchStudy(studyName);\n141 await crc.goToVisitExecutionPage(patientName, { visitName: 'V1' });\n142 const demographics = await studioDataHelper.getActivityDetails(\n143 'Demographics',\n144 'V1'\n145 );\n146 await crc.selectVisitActivity(demographics.title);\n147 const genderQuestion = demographics.questionnaires[0].question[2];\n148 await crc.editQuestion(genderQuestion.title);\n149 const femaleAnswer = genderQuestion.options[1];\n150 await crc.selectAnswer(genderQuestion.title, femaleAnswer);\n151 await crc.waitForTime(2000);\n152 const branchQuestions = getActivationPathQuestions(genderQuestion, 'Yes');\n153 const childbearingAnswer = branchQuestions[0].options[0];\n154 await crc.selectAnswer(branchQuestions[0].title, childbearingAnswer);\n155 await crc.completeButton.click();\n156 await crc.updateActivitySinglePage();\n157 await expect(\n158 crc.page.locator(\n159 `[data-status=\"Completed\"]+span:has-Text(\"${demographics.title}\")`\n160 )\n161 ).toBeVisible();\n162 logger.info(\n163 `Updated demographics gender to ${femaleAnswer} for ${patientName}`\n164 );\n165 await crc.waitForTime(1000);\n166 \n167 await crc.page\n168 .locator('[class*=dialog] [class*=toolbar]')\n169 .getByRole('link', { name: studyName })\n170 .click();\n171 await crc.goToVisitExecutionPage(patientName, { visitName: 'V2' });\n172 const labAssessments = await studioDataHelper.getActivityDetails(\n173 'Lab Assessments',\n174 'V2'\n175 );\n176 await crc.refresh();\n177 await crc.selectVisitActivity(labAssessments.title);\n178 const questionnaire3 = labAssessments.questionnaires[2];\n179 const femaleQuestions = questionnaire3.question;\n180 await crc.selectVisitActivity(questionnaire3.questionnaireName);\n181 await crc.verifyHeading(questionnaire3.questionnaireName);\n182 await crc.editQuestion(femaleQuestions[1].title);\n183 const correctedCalciumInput = crc.page\n184 .locator(\n185 `form [class*=grid] :has-text(\"${femaleQuestions[1].title}\")+ div input`\n186 )\n187 .first();\n188 await expect(correctedCalciumInput).toBeEnabled();\n189 await crc.addAnswerForQuestion(femaleQuestions[1].title, {\n190 type: 'number',\n191 value: '9.5'\n192 });\n193 await expect(correctedCalciumInput).toHaveValue('9.5');\n194 await crc.completeButton.click();\n195 await crc.updateActivitySinglePage();\n196 await expect(\n197 crc.page.locator(\n198 `[data-status=\"Completed\"]+span:has-Text(\"${labAssessments.title}\")`\n199 )\n200 ).toBeVisible();\n201 logger.info(\n202 `Entered data on ${questionnaire3.questionnaireName} after gender update`\n203 );\n204 });\n205 });" }
The page when it failed
{ "what": "Playwright's accessibility snapshot of the page at the moment the test gave up (error-context.md): what was really on screen", "snapshot": "# Instructions\n\n- Following Playwright test failed.\n- Explain why, be concise, respect Playwright best practices.\n- Provide a snippet of code with the fix, if possible.\n\n# Test info\n\n- Name: tests/visitExecution/branchCondition.spec.js >> Exe - Check Branch & Auto-compute >> TC-04: Verify editing gender to Female enables Female Creatinine questionnaire\n- Location: tests/visitExecution/branchCondition.spec.js:137:3\n\n# Error details\n\n```\nTimeoutError: locator.click: Timeout 50000ms exceeded.\nCall log:\n - waiting for locator('form [class*=grid] :has-text(\"Corrected calcium 2\")+ div [data-testid=\"icon-pencil\"]').first()\n\n```\n\n# Page snapshot\n\n```yaml\n- generic [ref=f5e1]:\n - main [ref=f5e3]:\n - generic \"Main navigation sidebar\" [ref=f5e4]:\n - generic [ref=f5e5]:\n - link \"Home\" [ref=f5e6] [cursor=pointer]:\n - /url: /\n - button \"Collapse navigation\" [ref=f5e7] [cursor=pointer]\n - generic [ref=f5e12]:\n - button \"E2 E2E UI880 SMO Test Crc\" [ref=f5e14] [cursor=pointer]:\n - generic [ref=f5e15]: E2\n - generic [ref=f5e16]:\n - generic [ref=f5e17]: E2E UI880 SMO\n - generic [ref=f5e18]: Test Crc\n - navigation [ref=f5e24]:\n - treegrid \"Navigation\" [ref=f5e25]:\n - rowgroup [ref=f5e26]:\n - row \"Home\" [level=1] [ref=f5e27]:\n \u2026\n - heading \"Lzxz0zca2kscli Zmuo0zca2kscli Enrolled\" [level=2] [ref=f5e301]:\n \u2026\n - heading \"Visit Details\" [level=5] [ref=f5e355]\n \u2026\n - heading \"Informed Consent/Assent\" [level=5] [ref=f5e367]\n \u2026\n - heading \"Demographics\" [level=5] [ref=f5e379]\n \u2026\n - heading \"Genotyping\" [level=5] [ref=f5e391]\n \u2026\n - heading \"Concomitant Medications\" [level=5] [ref=f5e396]\n \u2026\n - heading \"Medical History\" [level=5] [ref=f5e401]\n \u2026\n - heading \"Adverse Event\" [level=5] [ref=f5e406]\n \u2026\n - heading \"Vital signs\" [level=5] [ref=f5e431]\n \u2026\n - heading \"Lab assessments\" [level=5] [ref=f5e443]\n \u2026\n - heading \"Concomitant Medications\" [level=5] [ref=f5e455]\n \u2026\n - heading \"Adverse Event\" [level=5] [ref=f5e460]\n \u2026\n - heading \"Serum Pregnancy Test\" [level=5] [ref=f5e465]\n \u2026\n - heading \"Informed Consent/Assent\" [level=5] [ref=f5e493]\n \u2026\n - heading \"Brief physical exam\" [level=5] [ref=f5e498]\n - dialog \"dialog\" [ref=f5e502]:\n \u2026\n - heading \"Lab assessments\u2219Female Creatinine\" [level=2] [ref=f5e666]\n \u2026\n - heading \"Not available\" [level=5] [ref=f5e709]\n \u2026\n 2400 | .locator('[data-status=\"Completed\"] +span')\n \u2026\n 2438 | .locator('[data-status=\"scheduled\"]')\n \u2026\n 2451 | this.page.getByRole('heading', { name: 'Schedule visit' })\n \u2026\n | ^ TimeoutError: locator.click: Timeout 50000ms exceeded.\n \u2026\n 2550 | logger.info('Entering details in disqualify dialog');\n \u2026\n 2554 | \"Patient's status will change to Screen Fail, and they will no longer qualify to participate in the study. All future appointments will be cancelled\"" }
The code where it failed
{ "path": "e2e/pages/visitExecution/visitExecStudy.page.js", "failing_line": 2464, "code": "2439 ).toBeVisible();\n2440 const visitDate = FunctionHelper.getCurrentDate();\n2441 await expect(\n2442 this.page\n2443 .locator('[class*=title]')\n2444 .filter({ hasText: visitTitle })\n2445 .first()\n2446 .locator('[class*=description]')\n2447 .getByText(visitDate.year)\n2448 ).toBeVisible();\n2449 await this.waitForTime(5000);\n2450 await expect(\n2451 this.page.getByRole('heading', { name: 'Schedule visit' })\n2452 ).not.toBeVisible();\n2453 return visitTitle;\n2454 }\n2455 \n2456 async editQuestion(question) {\n2457 if (question) {\n2458 logger.info(`Editing question: ${question}`);\n2459 await this.page\n2460 .locator(\n2461 `form [class*=grid] :has-text(\"${question}\")+ div [data-testid=\"icon-pencil\"]`\n2462 )\n2463 .first()\n2464> .click();\n2465 } else {\n2466 await this.page\n2467 .locator(`svg[data-testid=\"icon-pencil.rectangle\"]`)\n2468 .nth(0)\n2469 .waitFor({ state: 'visible' });\n2470 await this.page\n2471 .locator(`svg[data-testid=\"icon-pencil.rectangle\"]`)\n2472 .first()\n2473 .click();\n2474 }\n2475 \n2476 await this.waitForTime(1000);" }
Commits in the window
{ "between": "build 879 (last pass, started 2026-11-15T01:35:54Z) and build 880 (first failure of the streak, started 2026-11-16T01:37:29Z)", "test_repo": { "repo": "tildabio/cleopatra", "range": "450fde1f8..c5db9232b", "href": "https://github.com/tildabio/cleopatra/compare/450fde1f8c905b5fc07c2535b763609fea4a97bb...c5db9232b1268bb11f614e536f963c55d6d5b34d", "total": 9, "commits": [ { "sha": "c5db9232b", "subject": "Study feed: request cards in modals with the inbox thread, and the questions list (ENG-8324) (#16831)", "login": "akshaysharma-tilda", "name": "akshaysharma-tilda", "date": "2026-11-15T17:13", "touches": [ "apps/sense", "e2e/pages", "e2e/tests", "e2e/utils" ] }, { "sha": "e5787321c", "subject": "fix(ai-chat): New chat on a feed card starts on the card's items (ENG-8850) (#16834)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-15T16:25", "touches": [ "apps/sense" ] }, { "sha": "063b076fb", "subject": "[E2E]: Training fix (#16835)", "login": "sbadiger", "name": "Santosh Badiger", "date": "2026-11-15T16:13", "touches": [ "e2e/pages" ] }, { "sha": "563a8b891", "subject": "e2e: publish the coverage log (ui-requests.jsonl) with each run (ENG-8417) (#16830)", "login": "asatish", "name": "asatish", "date": "2026-11-15T09:47", "touches": [ "e2e/publishResults.js" ] }, { "sha": "b6287d477", "subject": "feat(feed): Ask AI on the draft emails review (ENG-8850) (#16829)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-15T06:20", "touches": [ "apps/sense", "packages/api" ] }, { "sha": "25e885202", "subject": "feat(sense): superseded auto queries read-only and Studio inherited auto queries (ENG-7994) (#16819)", "login": "nkommuri", "name": "Naga Kishore", "date": "2026-11-15T01:23", "touches": [ "apps/sense", "packages/api", "packages/common", "packages/ui" ] }, { "sha": "b3c533cff", "subject": "Site startup suggestion card and EDL purpose (ENG-8842) (#16827)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-15T00:54", "touches": [ "apps/sense", "packages/api" ] }, { "sha": "61adba3a2", "subject": "Reviewing the training certificate completes the training (#16820)", "login": "taylorfutral", "name": "Taylor", "date": "2026-11-14T19:21", "touches": [ "apps/sense" ] }, { "sha": "806127aa4", "subject": "feat(feed): Suggestions tab for missing documents (ENG-8794) (#16816)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-14T17:37", "touches": [ "apps/sense", "packages/api" ] } ] }, "product": { "repo": "tildabio/main", "range": "7713ce2..a654678", "href": "https://github.com/tildabio/main/compare/7713ce2...a654678", "total": 130, "commits": [ { "sha": "830e852e8", "subject": "workplansvc: backfill WorkPlanInstance scopeId from its site edge so the NODE KEY can be created (#16896) (#17300)", "login": "sureshboddapati", "name": "Suresh Boddapati", "date": "2026-11-06T18:15", "touches": [ "workplansvc/pkg" ] }, { "sha": "9a12afd2a", "subject": "[Cherry-pick] fix(va): show the work-order email the site actually received (ENG-7530) (#16882, #16949) (#17299)", "login": "mmukkama", "name": "mmukkama", "date": "2026-11-06T18:07", "touches": [ "data-science/virtual_assistant" ] }, { "sha": "e3da2fa76", "subject": "test not valid removing from run will correct flow and format changes (#17296) (#17297)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T17:52", "touches": [ "e2e/automation" ] }, { "sha": "cee99a538", "subject": "feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965) (#17293)", "login": "mmukkama", "name": "mmukkama", "date": "2026-11-06T17:02", "touches": [ "common/execlib", "common/graphlib", "execsvc/pkg", "studiosvc/pkg", "tildaobj/exec_obj_defs.go" ] }, { "sha": "8e44d9e2b", "subject": "List a study admin's studies for the org Trainings page (#17209) (#17292)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T17:01", "touches": [ "api/auth.go", "authz/pkg" ] }, { "sha": "86b408c60", "subject": "fix(wo): audit log shows assignee names, not user ids (ENG-8527) (#17288)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-06T15:43", "touches": [ "data-science/virtual_assistant" ] }, { "sha": "672c813a0", "subject": "[Cherry-pick] fix(chat-agent, dashQL): QC/funnel caveats, report tables, active-events routing (ENG-8269, ENG-8397, ENG-8404) (#17260)", "login": "mmukkama", "name": "mmukkama", "date": "2026-11-06T15:37", "touches": [ "dashQL/charts", "dashQL/graph", "data-science/chat-agent" ] }, { "sha": "129712e49", "subject": "fix(execsvc): refresh cached permissions on study-site roster edits (ENG-8519) (#17248) (#17283)", "login": "mmukkama", "name": "mmukkama", "date": "2026-11-06T15:31", "touches": [ "common/authlib", "execsvc/pkg" ] }, { "sha": "3969a1020", "subject": "fix(execlib): one PANotStarted test for the amendment's started-activity gates (#17245) (#17246)", "login": "nkommuri", "name": "Naga Kishore", "date": "2026-11-06T15:28", "touches": [ "common/execlib", "execsvc/pkg" ] }, { "sha": "69d3ab2f8", "subject": "production: cherry-pick per-service schema convergence (#16243, #16833) (#17286)", "login": "asatish", "name": "asatish", "date": "2026-11-06T15:28", "touches": [ ".github/AI_CONTEXT.md", ".github/REVIEW.md", ".github/workflows", ".gitignore", "CLAUDE.md", "Makefile", "advpsvc/Dockerfile", "advpsvc/api", "advpsvc/internal", "authz/Dockerfile", "authz/main.go", "authz/pkg" ] }, { "sha": "9ac7682ef", "subject": "studiosvc: auto query keeps every condition group when reopened (#17229) (#17285)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T15:01" }, { "sha": "bd328fd8d", "subject": "fix(docsvc): share Not Ready documents; release Not Ready on a recipient's completion (ENG-8485) (#17221) (#17253)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T15:00" }, { "sha": "5821b5e82", "subject": "fix(execsvc): no duplicate auto-queries from table template cells; row save evaluates only that row (ENG-8548) (#17282)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T14:41" }, { "sha": "34e04a9e9", "subject": "Do not consider removed activities for making them next executable (#17224) (#17270)", "login": "nkommuri", "name": "Naga Kishore", "date": "2026-11-06T14:22" }, { "sha": "bb373ffe7", "subject": "Fix: Staff state not getting updated (#17276)", "login": "pralim", "name": "Prasad", "date": "2026-11-06T13:57" }, { "sha": "664ac14a6", "subject": "Block CBR auto-promote when Site scope has no resolved siteId (#17266) (#17267)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T09:12" }, { "sha": "3f5b7aea8", "subject": "fix(execlib): record Not Done reason when a blank autosave lands first in edit mode (ENG-8505) (#17242) (#17261)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T08:12" }, { "sha": "d44e6a5a1", "subject": "ci(automation): write the automation image into the ui-tests jobs too; wait between push retries (#17254) (#17257)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-06T06:43" }, { "sha": "9dd2fe3d0", "subject": "docproc: a guard's tag replaces the model's rulebook tag so its QC policy severity reaches the model's copy (#17206) (#17234)", "login": "aaburaed", "name": "aaburaed", "date": "2026-11-06T01:47" }, { "sha": "6fc75ce13", "subject": "tilda-ocr: keep rotated pages upright when shrinking oversized page boxes (ENG-8491) (#17231)", "login": "aaburaed", "name": "aaburaed", "date": "2026-11-06T01:45" }, { "sha": "3df8ee012", "subject": "fix(edl): chat agent reads EDL progress from docsvc completion; plan-first event creation (ENG-8474) (#17250)", "login": "mvelamatt", "name": "murali krishna velamati", "date": "2026-11-06T00:59" }, { "sha": "618e0d73d", "subject": "fix(execsvc): report global-table draft rows across all pages (ENG-6995) (#17216) (#17238)", "login": "mmukkama", "name": "mmukkama", "date": "2026-11-05T18:36" }, { "sha": "30cf610bb", "subject": "feat(execsvc): re-evaluate cross-form auto-queries when the read form completes (ENG-8464) (#17239)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-05T18:20" }, { "sha": "5bab8cbac", "subject": "Backport Not Ready training copies to production (#17240)", "login": "taylorfutral", "name": "Taylor", "date": "2026-11-05T18:13" }, { "sha": "3892e3355", "subject": "Retire study actor on removal from last site (#17226)", "login": "tilda-gitbot[bot]", "name": "tilda-gitbot[bot]", "date": "2026-11-05T16:06" } ] } }
The issue as the agent wrote it
**Fix is in:** the product code. **What failed:** `locator.click: Timeout 50000ms exceeded.` **On screen when it failed:** The Lab assessments∙Female Creatinine form says 'Not available — This section is not available based previous answers', and the Corrected calcium 2 input is disabled with no edit pencil. ![The page when the test failed](https://uploads.linear.app/d1b9dc36-3ae8-49c0-8ea8-02f9d1566efc/1718a7dc-ee5b-4573-a4fa-324e6640c6b4/1d9c881f-01fe-4358-ac04-b5e54040b5c2) **Product bug**, confidence medium. Found in `e2e-tests-master` build 880: [run in X-ray](https://xray.tilda.pizza/tests/run/e2e-tests-master/880). **Root cause in X-ray:** [the verdict, each test's history and the evidence the agent read](https://xray.tilda.pizza/test-triage/a6b190f3fb0c7b) The click times out at visitExecStudy.page.js:2464 (editQuestion) because the 'Female Creatinine' form never unlocked. The selector is fine. On screen: the 'Lab assessments∙Female Creatinine' dialog reads 'Not available — This section is not available based previous answers'. 'Corrected calcium 2' is there but its textbox is disabled and has no pencil icon. The V1 Demographics gender edit to Female saved: the spec's 'Completed' check at line 157 passed. But the V2 branch was not re-evaluated, and the retry failed the same way. Likeliest cause: cee99a538 in main (new in this product range, 7713ce2..a654678). It stores choice answers as a list (values/editValues) and changes branchV2.go, branchConfig.go and the cypher that reads the answer. answer_values.go: nextAnswerValues returns nil when the value changes and the client sends no list, so a branch that reads the list may still see the old 'Male'. The suite's notes (e2e/knowledge/visit-execution.md:268) list this same symptom as a known regression on this test from mid-September. It later passed 9 runs in a row, so the bug seems to have come back. Not proven: check execsvc branch evaluation on an edited radio answer when editValues is absent. **Suspect commit:** [cee99a538](https://github.com/tildabio/main/commit/cee99a538480157bed9e836bbf209e33a27f0e75) feat(execlib): store choice answers as a list on ParticipantQuestion (ENG-8210) (#16965) (#17293) (mmukkama) **Service:** execsvc **Assigned to:** [email protected] (author of the suspect commit cee99a538). ### Steps to reproduce 1. Sign in as a CRC on the SMO org, on the CRO study built from the automation_v2_CRO protocol. 2. Schedule a new patient for V1 (seeded patients default to Male), start V1, and complete Visit Details, Informed Consent and Demographics. 3. Set the patient's status to Enrolled, schedule V2, start it, and complete Vital signs and Lab assessments. 4. Open V1 > Demographics, click the edit pencil on the gender question and choose Female. 5. Answer the childbearing-potential question that appears, click Complete and confirm the update. Demographics shows Completed. 6. Go back to the study, open the patient's V2 > Lab assessments, refresh, and open the Female Creatinine questionnaire. 7. Expected: the Female Creatinine questions can be edited (a pencil on 'Corrected calcium 2'); actual: the section reads 'Not available — This section is not available based previous answers' and the inputs are disabled. **Failing tests (1):** - [branchCondition::TC-04: Verify editing gender to Female enables Female Creatinine questionnaire](https://xray.tilda.pizza/tests/case/94dc31b39d3d281c) (new in this run) **Error:** ``` locator.click: Timeout 50000ms exceeded. ``` +++ Agent notes Filed by X-ray's triage agent. Models asked: claude-sonnet-5-5, claude-opus-5-5; settled by escalate; 24 lookups in the code and its history. Group `triage:a6b190f3fb0c7b` (one issue per root cause). A wrong verdict can be corrected on the run page in X-ray. +++