[Test failure] Subjects grid search still shows a second row after filtering by a unique patient name
Cause not clear confidence low · medium priority · e2e-tests-master, last seen in build 880
The verdict
- Fix is in
- not known yet
- Issue
- ENG-8855 · Ready for Development
- Owner
- [email protected] (last changed visitExecStudy.page.js (450fde1f8))
- Filed in
- Ready for Development, product project, in the current cycle
- History when filed
- new, this error since build 880
- On screen
- The study's Subjects grid with the row for Ooxht1ypn9cdxj Hufpt1ypn9cdxj (E2E CRO Site, Scheduled), plus a second data row (study.subjects.row-row-1) that the test expected the search to remove.
The test never reached the removed-visit check. It failed in the search on the Subjects grid, in visitExecStudy.page.js:1182-1184, which expects exactly one result: `expect(locator('[class*=table] tr').nth(2)).not.toBeVisible()`.
After typing the patient's name, the name was found, but for 50s (92 polls) there was still a second data row (data-testid study.subjects.row-row-1). The retry failed the same way.
The page object hasn't changed since 450fde1f8, so the test code was the same as when it last passed (build 879). None of the 9 test-repo commits touch the Subjects grid: c5db9232b is study-feed UI only.
The run was unhealthy: cluster preparation reported not_ready, 84 of 710 tests failed, and TC-01 in the same spec also failed. I couldn't tie any of that to this grid, and the exportsvc findings look unrelated.
Next step: open the trace or screenshot (retry1) and see which patient is in row 2. If the filter didn't apply, it's the frontend search; if a second patient really matches, it's the data. Then rerun on a ready cluster.
Steps to reproduce
- Sign in as a CRC user of the E2E CRO Site on the automation study used by the visit-options tests.
- Create a new patient at that site with a care plan, without scheduling the visit.
- Open the study and go to the Subjects tab.
- In the Subjects grid, open the V1 visit icon menu for the new patient and choose Remove visit.
- In the Remove Visit dialog, enter a reason and submit.
- Back on the Subjects tab, type the patient's full name in the grid's search box.
- Expected: only that patient's row is left in the grid; actual: a second row (row index 1) stays visible for 50s after the search.
History of this root cause
- filed ENG-8855 · build 880 7d ago
Cause not clear, confidence low; 1 test; to [email protected] in Ready for Development
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.
| Test | History | Newest run | Reading |
|---|---|---|---|
| Exe - Visit options › TC-03: Verify removing patient visit visitOptions |
did not run |
How the agent decided
- Models
- claude-sonnet-5-5 ($0.28, 8 lookups), then claude-opus-5-5 ($0.54, 7 lookups)
- Settled by
- the escalation model, because the first was unsure
- Cost
- $0.82
What it looked up (15, in order)
1. commit_diff repo=cleopatra, sha=c5db9232b · 5677 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
… (4177 more characters not kept)
2. page_snapshot text=row · 38 chars back
no line of the page contains that text
3. commits repo=cleopatra, path=e2e/pages/visitExecution/visitExecStudy.page.js, since=2026-11-01T00:00:00Z · 1117 chars back
450fde1f8 2026-11-14T15:03 Harsh-Tilda: [E2E] TA 232 own sets (#16823)
4901909b7 2026-11-13T13:41 sbadiger: [E2E]: Training test fixes (#16803)
a4e9aea2b 2026-11-12T17:57 Harsh-Tilda: [E2E] TA 230 shared state (#16769)
77149f3c1 2026-11-12T15:46 tilda-gitbot[bot]: ENG-8704: Fix progress note TC-02 after dropping the page reload (#16734)
f5332f92c 2026-11-11T16:15 sbadiger: [E2E]: AE fixes (#16683)
fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685)
6fa3ebc48 2026-11-11T10:44 sbadiger: [E2E]: Simplify execution (#16679)
7c21eca8d 2026-11-11T02:47 tilda-gitbot[bot]: [E2E] Subject page: open from Subjects, Tasks tab and Documents tab (ENG-8561) (#16640)
9595e30aa 2026-11-11T02:36 asatish: e2e: find toasts by the react-aria markup, not role="status" (#16634)
e96aa3746 2026-11-10T16:10 poojalodhi: Remove the Studio Workflow, Controls, Triggers and Pre-screeners pages (ENG-8575) (#16629)
22bac70a0 2026-11-10T14:13 sbadiger: [E2E]: AE test and heloper fix (#16647)
11c6b32b4 2026-11-10T11:42 Harsh-Tilda: [E2E] changes folder structure and run to run module wise (#16639)
4. blame repo=cleopatra, path=e2e/pages/visitExecution/visitExecStudy.page.js, start_line=1168, end_line=1185 · 1029 chars back
lines 1168-1168: a2fcad656 2026-08-20T02:01 sbadiger: [E2E]: Training fix tbut and reg (#14600)
lines 1169-1169: fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685)
lines 1170-1170: a2fcad656 2026-08-20T02:01 sbadiger: [E2E]: Training fix tbut and reg (#14600)
lines 1171-1171: da2f61487 2026-09-03T11:49 pranitmahajan: [E2E] Test fixes for ai teammates and licensing scenarios (#14914)
lines 1172-1172: 3a914fac2 2026-09-03T16:19 pranitmahajan: [E2E] Updates to Licenses tests (#14925)
lines 1173-1179: a2fcad656 2026-08-20T02:01 sbadiger: [E2E]: Training fix tbut and reg (#14600)
lines 1180-1180: fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685)
lines 1181-1182: a2fcad656 2026-08-20T02:01 sbadiger: [E2E]: Training fix tbut and reg (#14600)
lines 1183-1183: fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685)
lines 1184-1185: a2fcad656 2026-08-20T02:01 sbadiger: [E2E]: Training fix tbut and reg (#14600)
5. service_errors service=studiosvc · 417 chars back
+10m studiosvc observability/middleware.go:281: Request completed — 500 · could not create activation rule chain:activation rule \
+10m studiosvc handlers/respond.go:47: http error response returned to client
+87m studiosvc observability/middleware.go:281: Request completed — 500 · could not create activation rule chain:activation rule \
+87m studiosvc handlers/respond.go:47: http error response returned to client
6. search_code repo=cleopatra, text=study.subjects, path_prefix=apps/sense · 98 chars back
apps/sense/src/modules/studies/routes/studies/study/subjects.tsx
89: testId="study.subjects.row"
7. read_file repo=cleopatra, path=e2e/tests/visitExecution/visitOptions.spec.js, start_line=1, end_line=80 · 3149 chars back
e2e/tests/visitExecution/visitOptions.spec.js (146 lines), lines 1-80:
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 studioDataHelper from '../../helpers/studioDataHelper';
6
7 const data = loadData();
8
9 test.use({ executionSetup: STUDIES.CRO });
10
11 test.describe.configure({ mode: 'serial' });
12 test.describe('Exe - Visit options', () => {
13 const newStudyName = data.croStudyName;
14 const newSiteName = data.croSiteName;
15 const advocateAdminOrg = data.testOrg;
16 let reschedulePatientName = '';
17 const visitName = 'V1';
18
19 test.beforeAll(async ({ commonApiUtility }) => {
20 const scheduleData = await commonApiUtility.schedulePatient(
21 advocateAdminOrg,
22 newStudyName,
23 newSiteName,
24 { visitName }
25 );
26 reschedulePatientName = `
27 ${await scheduleData.patientData.patientDetails.patientFirstName} ${await scheduleData.patientData.patientDetails.patientLastName}`;
28 });
29
30 test('TC-01: Verify cancelling patient visit', async ({ crc }) => {
31 await crc.searchStudy(newStudyName);
32 logger.info('Navigate to study subjects tab');
33 await crc.studySubjectsTab.click();
34 await crc.verifyVisitStatusOnSubjectPage(
35 reschedulePatientName,
36 'scheduled'
37 );
38 await crc.select
… (1649 more characters not kept)
8. read_file repo=cleopatra, path=apps/sense/src/modules/studies/routes/studies/study/subjects.tsx, start_line=1, end_line=140 · 4336 chars back
apps/sense/src/modules/studies/routes/studies/study/subjects.tsx (133 lines), lines 1-133:
1 import {
2 CareplanStatusChangeModal,
3 CareplanSubjecIdModal,
4 ViewToggle
5 } from 'components';
6 import { useProtocolVersionCheck } from 'api';
7 import {
8 PageContent,
9 DataTable,
10 DataTableFilters,
11 FetchDataProps,
12 Text,
13 defineDataTable,
14 field,
15 useDataTableState
16 } from 'ui';
17 import { arrayToString } from 'common';
18 import { useViewToggle } from 'hooks';
19 import { useParams } from 'router';
20 import { restoreDataTables } from 'app/data-table-storage';
21 import pluralize from 'pluralize';
22
23 import { useSubjectFilters, useSubjectsData } from '../../../hooks';
24 import {
25 VisitRemovedModal,
26 SubjectsActions,
27 VisitActionsProvider
28 } from '../../../components';
29
30 const studySubjectsTable = defineDataTable({
31 id: 'study-subjects',
32 fields: {
33 status: field.string(),
34 'siteId': field.string()
35 },
36 toQueryParams: (state): FetchDataProps => ({
37 pageIndex: state.page,
38 pageSize: state.pageSize,
39 sort: state.sort?.id,
40 desc: state.sort?.desc,
41 search: state.search,
42 filters: {
43 ...(state.status && { status: state.status }),
44 ...(state['siteId'] && { 'siteId': state['siteId'] })
45 }
46 })
47 });
48
49 export const loader = restoreDataTables(studySubjectsTable);
50
51 export const Component: React.FC = () => {
52 const { study
… (2836 more characters not kept)
9. page_snapshot text=row " · 216 chars back
28: ```
30: ```yaml
31: - row "Ooxht1ypn9cdxj Hufpt1ypn9cdxj - E2E CRO Site Scheduled Changelog 1 1":
32: - cell "Ooxht1ypn9cdxj Hufpt1ypn9cdxj"
33: - cell "-"
34: - cell "E2E CRO Site"
35: - cell "Scheduled"
10. page_snapshot text=searchbox · 38 chars back
no line of the page contains that text
11. page_snapshot text=row · 38 chars back
no line of the page contains that text
12. commits repo=cleopatra, path=e2e/pages/visitExecution/visitExecStudy.page.js, since=2026-11-01T00:00:00Z · 1117 chars back
450fde1f8 2026-11-14T15:03 Harsh-Tilda: [E2E] TA 232 own sets (#16823)
4901909b7 2026-11-13T13:41 sbadiger: [E2E]: Training test fixes (#16803)
a4e9aea2b 2026-11-12T17:57 Harsh-Tilda: [E2E] TA 230 shared state (#16769)
77149f3c1 2026-11-12T15:46 tilda-gitbot[bot]: ENG-8704: Fix progress note TC-02 after dropping the page reload (#16734)
f5332f92c 2026-11-11T16:15 sbadiger: [E2E]: AE fixes (#16683)
fe5efbd12 2026-11-11T14:30 Harsh-Tilda: [E2E] fixes study feed and documents test (#16685)
6fa3ebc48 2026-11-11T10:44 sbadiger: [E2E]: Simplify execution (#16679)
7c21eca8d 2026-11-11T02:47 tilda-gitbot[bot]: [E2E] Subject page: open from Subjects, Tasks tab and Documents tab (ENG-8561) (#16640)
9595e30aa 2026-11-11T02:36 asatish: e2e: find toasts by the react-aria markup, not role="status" (#16634)
e96aa3746 2026-11-10T16:10 poojalodhi: Remove the Studio Workflow, Controls, Triggers and Pre-screeners pages (ENG-8575) (#16629)
22bac70a0 2026-11-10T14:13 sbadiger: [E2E]: AE test and heloper fix (#16647)
11c6b32b4 2026-11-10T11:42 Harsh-Tilda: [E2E] changes folder structure and run to run module wise (#16639)
13. commit_diff repo=cleopatra, sha=c5db9232b · 5677 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
… (4177 more characters not kept)
14. search_code repo=cleopatra, text=searchSubject, path_prefix=e2e/knowledge · 239 chars back
e2e/knowledge/visit-execution.md
75: `searchSubject` strips only **leading** whitespace and asserts exactly one result row. That is why several specs build the name from a template literal with a leading newline, and why `unscheduledVisi
15. read_file repo=cleopatra, path=e2e/knowledge/visit-execution.md, start_line=60, end_line=100 · 3620 chars back
e2e/knowledge/visit-execution.md (285 lines), lines 60-100:
60
61 Not from the live API — from the **static protocol export** `pages/common/protocols/automation_v2_CRO.json`, read through `helpers/studioDataHelper.js`. Protocol Deviation activities come from `pages/visitExecution/pd.js
62
63 That means a protocol change on the cluster does not reach the tests until the export is regenerated, and a mismatch shows up as a locator failure on a question title rather than as anything that names the protocol.
64
65 V1 activities, in order: `Visit Details, Informed Consent/Assent, Demographics, Genotyping, Concomitant Medications, Medical History, Adverse Event`. V2: `Vital signs, Lab assessments, Concomitant Medications, Adverse Ev
66
67 **Studio table name ≠ UI tab title** (`globalTableData.js:9-31`). The non-ocular Medical History table is named `Non-Ocular Medical Condition` and renders as the tab `Medical Condition`; the ConMeds tables render as `Ocu
68
69 Table cells are found by the header's `data-sticky-key` after an **exact** header-title match (`text-is`), so titles must match the studio JSON character for character — note `Start Date:` with a colon for ConMeds agains
70
71 ## Navigating to a visit, and the identifier that depends on your org
72
73 **SMO users navigate by patient name; CRO users navigate by subject ID.** The EDC view hides patient names entirely, so `dmCro` / `monitorCro` specs pass the `SUB<n>` value that was typed into the ICF activity, while `cr
… (2120 more characters not kept)
What it was shown (build 880, 42.1 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": "visitOptions",
"members": [
{
"test": "visitOptions::TC-03: Verify removing patient visit",
"pattern": "new",
"meaning": "failed 1 run after passing the 21 before",
"newest_first": "F P P P P P P P P P P P P P P P P P P P P P",
"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": "visitOptions::TC-03: Verify removing patient visit",
"status": "failed",
"message": "expect(locator).not.toBeVisible() failed",
"traceback_tail": "\n Error: expect(locator).not.toBeVisible() failed\n\n Locator: locator('[class*=table] tr').nth(2)\n Expected: not visible\n Received: visible\n Timeout: 50000ms\n\n Call log:\n - Expect \"not toBeVisible\" locator('[class*=table] tr').nth(2) with timeout 50000ms\n - waiting for locator('[class*=table] tr').nth(2)\n 92 \u00d7 locator resolved to <tr data-depth=\"0\" data-leafs=\"0\" data-subrows=\"0\" data-row-index=\"1\" data-clickable=\"true\" data-selected=\"false\" data-journey-kind=\"open\" data-journey-auto=\"true\" data-testid=\"study.subjects.row-row-1\" data-journey-action=\"study.subjects.row.row\">\u2026</tr>\n - unexpected value \"visible\"\n\n\n at pages/visitExecution/visitExecStudy.page.js:1184\n\n 1182 | await expect(\n 1183 | this.page.locator('[class*=table] tr').nth(2)\n > 1184 | ).not.toBeVisible();\n | ^\n 1185 | }\n 1186 | async goToVisitsPage(patientName, options = {}) {\n 1187 | const normalizedName = patientName.replace(/^\\s+/, '');\n at VisitStudiesPage.searchSubject (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/visitExecution/visitExecStudy.page.js:1184:11)\n at VisitStudiesPage.goToVisitsPage (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/visitExecution/visitExecStudy.page.js:1194:5)\n at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/visitExecution/visitOptions.spec.js:99:5\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/visitOptions-Exe---Visit-o-84310-rify-removing-patient-visit-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/visitOptions-Exe---Visit-o-84310-rify-removing-patient-visit-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/visitOptions-Exe---Visit-o-84310-rify-removing-patient-visit-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/visitOptions-Exe---Visit-o-84310-rify-removing-patient-visit-visitExecution-retry1/trace.zip\n Usage:\n\n yarn playwright show-trace reports/visitOptions-Exe---Visit-o-84310-rify-removing-patient-visit-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": "e2e7e57c176f9e8c283db8275835a586",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e8c283db82f0239e637",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e8c283db82f6ec66a28",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e8c283db82fb23c5dac",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e8c283db827f8ffa5aa",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e57c176f9e8c283db82f57febdbb",
"method": "GET",
"path": "/api/studio/events",
"status": "404",
"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:1184",
"code_frame": " at pages/visitExecution/visitExecStudy.page.js:1184\n\n 1182 | await expect(\n 1183 | this.page.locator('[class*=table] tr').nth(2)\n> 1184 | ).not.toBeVisible();\n | ^\n 1185 | }\n 1186 | async goToVisitsPage(patientName, options = {}) {\n 1187 | const normalizedName = patientName.replace(/^\\s+/, '');",
"playwright_call_log": [
"- Expect \"not toBeVisible\" locator('[class*=table] tr').nth(2) with timeout 50000ms",
"- waiting for locator('[class*=table] tr').nth(2)",
"- unexpected value \"visible\""
]
}
Console lines about this test
{
"from": "console.log",
"lines": [
"11186: INFO Selecting username Test Pi in search result",
"11187: INFO \u2718 866 [visitExecution] \u203a tests/visitExecution/visitOptions.spec.js:30:3 \u203a Exe - Visit options \u203a TC-01: Verify cancelling patient visit (2.2m)",
"11188: INFO - 872 [visitExecution] \u203a tests/visitExecution/visitOptions.spec.js:54:3 \u203a Exe - Visit options \u203a TC-02: Verify CRC rescheduling patient",
"11189: INFO - 873 [visitExecution] \u203a tests/visitExecution/visitOptions.spec.js:80:3 \u203a Exe - Visit options \u203a TC-03: Verify removing patient visit",
"11190: INFO - 874 [visitExecution] \u203a tests/visitExecution/visitOptions.spec.js:106:3 \u203a Exe - Visit options \u203a TC-04: Verify pause and resume a visit",
"11191: INFO Selecting sites for the user",
"11192: INFO \u25c7 injected env (14) from env/.env.master // tip: \u2318 custom filepath { path: '/custom/path/.env' } (+1 identical, not shipped)",
"\u2026",
"11634: INFO Search for subject Ooxht1ypn9cdxj Hufpt1ypn9cdxj (+1 identical, not shipped)",
"11635: INFO Staff Signoff DOA log for Test Pi task appearing in completed section",
"11636: INFO Select visit activity for Ooxht1ypn9cdxj Hufpt1ypn9cdxj",
"11637: INFO \u2718 885 [visitExecution] \u203a tests/visitExecution/visitOptions.spec.js:80:3 \u203a Exe - Visit options \u203a TC-03: Verify removing patient visit (retry #1) (3.0m)",
"11638: INFO Search for subject Kpklqlnm74l566 Bgdgqlnm74l566",
"11639: INFO Visit started for patient Ooxht1ypn9cdxj Hufpt1ypn9cdxj",
"11640: INFO Check audit log status change from InProgress to PartiallyCompletedOffline",
"\u2026",
"14078: INFO reports/unscheduledVisit-Exe---Uns-70d63-ng-second-unscheduled-visit-visitExecution-retry1/test-failed-1.png",
"14079: INFO Error Context: reports/unscheduledVisit-Exe---Uns-70d63-ng-second-unscheduled-visit-visitExecution-retry1/error-context.md",
"14080: INFO yarn playwright show-trace reports/unscheduledVisit-Exe---Uns-70d63-ng-second-unscheduled-visit-visitExecution-retry1/trace.zip",
"14081: INFO 84) [visitExecution] \u203a tests/visitExecution/visitOptions.spec.js:80:3 \u203a Exe - Visit options \u203a TC-03: Verify removing patient visit",
"14082: INFO Error: expect(locator).not.toBeVisible() failed",
"14083: INFO Locator: locator('[class*=table] tr').nth(2)",
"14084: INFO Expected: not visible",
"\u2026",
"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",
"14274: INFO [visitExecution] \u203a tests/visitExecution/sdv.spec.js:83:3 \u203a SDV \u2014 visit execution \u203a TC-02: Verify SDV toggle \u2014 single-page activity",
"14275: INFO [visitExecution] \u203a tests/visitExecution/unscheduledVisit.spec.js:138:3 \u203a Exe - Unscheduled Visits \u203a TC-05: Verify starting second unscheduled visit",
"14276: INFO [visitExecution] \u203a tests/visitExecution/visitOptions.spec.js:80:3 \u203a Exe - Visit options \u203a TC-03: Verify removing patient visit",
"14277: INFO 7 flaky",
"14278: INFO [tmf] \u203a tests/tmf/documentsCRO.spec.js:188:3 \u203a Documents TMF CRO Page \u203a Verify TMF Report Generation at Study Level",
"14279: INFO [tmf] \u203a tests/tmf/staging.spec.js:100:3 \u203a Files: Staging, Uncategorized, Templates, TDM and study Files \u203a TC-01: Study Files shows the TMF, Staging and Templates categories"
]
}
The test's history
{
"pattern": "new",
"meaning": "failed 1 run after passing the 21 before",
"newest_first": "F P P P P P P P P P P P P P P P P P P P P P",
"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/visitOptions.spec.js",
"from_line": 80,
"failing_line": 80,
"code": "80> test('TC-03: Verify removing patient visit', async ({\n81 commonApiUtility,\n82 crc\n83 }) => {\n84 const scheduleData = await commonApiUtility.schedulePatient(\n85 advocateAdminOrg,\n86 newStudyName,\n87 newSiteName,\n88 { visitName, schedule: false }\n89 );\n90 const patientName = `${await scheduleData.patientData.patientDetails.patientFirstName} ${await scheduleData.patientData.patientDetails.patientLastName}`;\n91 await crc.searchStudy(newStudyName);\n92 await crc.studySubjectsTab.click();\n93 await crc.selectSubjectGridIcon(patientName);\n94 await crc.removeVisitButton.click();\n95 \n96 await crc.verifyHeading('Remove Visit');\n97 await crc.reasonInput.fill('Test removing the current visit');\n98 await crc.visitRemoveSumbitButton.click();\n99 await crc.goToVisitsPage(patientName, {\n100 visitStatus: 'removed',\n101 cpStatus: 'Screen Pending'\n102 });\n103 await expect(crc.visitStatusBadge.nth(1)).toContainText('Removed visit');\n104 });\n105 \n106 test('TC-04: Verify pause and resume a visit', async ({ crc }) => {\n107 await crc.searchStudy(newStudyName);\n108 await crc.goToVisitExecutionPage(reschedulePatientName, {\n109 visitName\n110 });\n111 await crc.startVisitForPatient(reschedulePatientName);\n112 \n113 const visitDetailsActivity = studioDataHelper.getActivityDetails(\n114 'Visit Details',\n115 'V1'\n116 );\n117 const icfActivity = studioDataHelper.getActivityDetails(\n118 'Informed Consent/Assent',\n119 'V1'\n120 );\n121 await crc.completeActivityVisitDetails(visitDetailsActivity);\n122 await crc.verifyHeading(icfActivity.title);\n123 await crc.pauseVisit();\n124 await crc.checkAuditLog('InProgress', 'Paused', {\n125 logName: 'changed state',\n126 visitLevel: true\n127 });\n128 await expect(crc.visitStatusBadge.last()).toContainText('Stopped visit');\n129 await crc.visitManagerBackButton.click();\n130 await crc.subjectsBreadcrumb.click();\n131 await crc.verifyVisitStatusOnSubjectPage(reschedulePatientName, 'paused');\n132 logger.info('Verify resume visit from subject grid');\n133 await crc.selectSubjectGridIcon(reschedulePatientName);\n134 await crc.page\n135 .getByRole('menuitem', {\n136 name: 'Resume visit'\n137 })\n138 .click();\n139 await expect(crc.liveIcon).toBeVisible();\n140 await crc.checkAuditLog('Paused', 'InProgress', {\n141 logName: 'changed state',\n142 visitLevel: true\n143 });\n144 await expect(crc.resumeVisitButton).not.toBeVisible();\n145 });\n146 });"
}
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/visitOptions.spec.js >> Exe - Visit options >> TC-03: Verify removing patient visit\n- Location: tests/visitExecution/visitOptions.spec.js:80:3\n\n# Error details\n\n```\nError: expect(locator).not.toBeVisible() failed\n\nLocator: locator('[class*=table] tr').nth(2)\nExpected: not visible\nReceived: visible\nTimeout: 50000ms\n\nCall log:\n - Expect \"not toBeVisible\" locator('[class*=table] tr').nth(2) with timeout 50000ms\n - waiting for locator('[class*=table] tr').nth(2)\n 92 \u00d7 locator resolved to <tr data-depth=\"0\" data-leafs=\"0\" data-subrows=\"0\" data-row-index=\"1\" data-clickable=\"true\" data-selected=\"false\" data-journey-kind=\"open\" data-journey-auto=\"true\" data-testid=\"study.subjects\n - unexpected value \"visible\"\n\n```\n\n```yaml\n- row \"Ooxht1ypn9cdxj Hufpt1ypn9cdxj - E2E CRO Site Scheduled Changelog 1 1\":\n - cell \"Ooxht1ypn9cdxj Hufpt1ypn9cdxj\"\n - cell \"-\"\n - cell \"E2E CRO Site\"\n - cell \"Scheduled\"\n - cell \"Changelog\"\n - cell\n - cell \"1\"\n - cell\n - cell\n \u2026\n 1098 | await this.page.getByRole('heading', { name: filterName }).click();\n \u2026\n 1100 | await this.page.getByRole('heading', { name: option, exact: true }).click();\n \u2026\n 1126 | await this.filterTask('Status', 'Completed');\n \u2026\n 1153 | .getByRole('heading')\n \u2026\n | ^ Error: expect(locator).not.toBeVisible() failed\n \u2026\n 1249 | .getByRole('heading', {\n \u2026\n 1261 | async updateCarePlanStatus(patientName, status, userName = 'Test Crc') {\n \u2026\n 1263 | `Updating care plan status = ${status} for patient ${patientName}`\n \u2026\n 1270 | // The status listbox can close again right after opening while the table settles.\n \u2026\n 1275 | await this.carePlanStatusOption(status).click({ timeout: 10000 });\n \u2026\n 1278 | if (status === 'Screen Failed') {\n \u2026\n 1281 | // Provide a reason for overriding the status\n 1282 | const reason = `Changing the care plan status for testing ${FunctionHelper.getRandomNumber()}`;\n 1283 | await this.page.locator('[role=dialog] [class*=input]').click();"
}
The code where it failed
{
"path": "e2e/pages/visitExecution/visitExecStudy.page.js",
"failing_line": 1184,
"code": "1159 const { cpStatus, visitStatus, visitName } = options;\n1160 await this.goToVisitsPage(patientName, {\n1161 cpStatus,\n1162 visitStatus\n1163 });\n1164 logger.info('Navigate to visits page');\n1165 await this.selectVisitStatusBadge(visitName);\n1166 }\n1167 \n1168 async searchSubject(patientName) {\n1169 const normalizedName = patientName.replace(/^\\s+/, '');\n1170 logger.info(`Search for subject ${normalizedName}`);\n1171 await this.page.locator('[data-id*=\"base-ui\"] table').nth(0).waitFor();\n1172 await this.page.locator('[data-id*=\"base-ui\"] table').nth(0).waitFor();\n1173 await this.waitForTime(2000);\n1174 await this.page\n1175 .locator('[class*=data-table] input[type=\"search\"]')\n1176 .first()\n1177 .fill(normalizedName);\n1178 await this.waitForTime(2000);\n1179 await expect(\n1180 this.page.locator('[class*=data-table] tr').getByText(normalizedName)\n1181 ).toBeVisible();\n1182 await expect(\n1183 this.page.locator('[class*=table] tr').nth(2)\n1184> ).not.toBeVisible();\n1185 }\n1186 async goToVisitsPage(patientName, options = {}) {\n1187 const normalizedName = patientName.replace(/^\\s+/, '');\n1188 const { cpStatus, visitStatus } = options;\n1189 logger.info('Navigate to study subjects tab');\n1190 await this.waitForTime(2000);\n1191 if (!(await this.page.url().endsWith('/subjects'))) {\n1192 await this.studySubjectsTab.click();\n1193 }\n1194 await this.searchSubject(normalizedName);\n1195 if (cpStatus) {\n1196 await this.verifyCareplanStatusOnSubjectPage(normalizedName, cpStatus);"
}
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:** not known yet.
**What failed:** `expect(locator).not.toBeVisible() failed`
**On screen when it failed:** The study's Subjects grid with the row for Ooxht1ypn9cdxj Hufpt1ypn9cdxj (E2E CRO Site, Scheduled), plus a second data row (study.subjects.row-row-1) that the test expected the search to remove.

**Cause not clear**, confidence low. 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/12af09a48bce68)
The test never reached the removed-visit check. It failed in the search on the Subjects grid, in visitExecStudy.page.js:1182-1184, which expects exactly one result: `expect(locator('[class*=table] tr').nth(2)).not.toBeVisible()`.
After typing the patient's name, the name was found, but for 50s (92 polls) there was still a second data row (data-testid study.subjects.row-row-1). The retry failed the same way.
The page object hasn't changed since 450fde1f8, so the test code was the same as when it last passed (build 879). None of the 9 test-repo commits touch the Subjects grid: c5db9232b is study-feed UI only.
The run was unhealthy: cluster preparation reported not_ready, 84 of 710 tests failed, and TC-01 in the same spec also failed. I couldn't tie any of that to this grid, and the exportsvc findings look unrelated.
Next step: open the trace or screenshot (retry1) and see which patient is in row 2. If the filter didn't apply, it's the frontend search; if a second patient really matches, it's the data. Then rerun on a ready cluster.
**Assigned to:** [email protected] (last changed visitExecStudy.page.js (450fde1f8)).
### Steps to reproduce
1. Sign in as a CRC user of the E2E CRO Site on the automation study used by the visit-options tests.
2. Create a new patient at that site with a care plan, without scheduling the visit.
3. Open the study and go to the Subjects tab.
4. In the Subjects grid, open the V1 visit icon menu for the new patient and choose Remove visit.
5. In the Remove Visit dialog, enter a reason and submit.
6. Back on the Subjects tab, type the patient's full name in the grid's search box.
7. Expected: only that patient's row is left in the grid; actual: a second row (row index 1) stays visible for 50s after the search.
**Failing tests (1):**
- [visitOptions::TC-03: Verify removing patient visit](https://xray.tilda.pizza/tests/case/ab3390217c4f0e1b) (new in this run)
**Error:**
```
expect(locator).not.toBeVisible() failed
```
+++ Agent notes
Filed by X-ray's triage agent. Models asked: claude-sonnet-5-5, claude-opus-5-5; settled by escalate; 15 lookups in the code and its history.
Group `triage:12af09a48bce68` (one issue per root cause).
A wrong verdict can be corrected on the run page in X-ray.
+++