[Test failure] Review notice now reads "Already done."; TC-16 still expects "...by someone else." (2 tests)
The test is wrong confidence medium · medium priority · e2e-tests-master, last seen in build 882
The verdict
- Fix is in
- the automation suite (e2e): the test is wrong
- Issue
- ENG-8921 · Testing
- Owner
- [email protected] (last changed studyFeedEdlReview.spec.js (f5332f92c); the test agent opens the pull request once this is in Ready for Development)
- Filed in
- Backlog, Test Agent Automation
- Service
- sense
- History when filed
- intermittent, this error since build 882
- Suspect commit
- 91eafc436 feed: demo-flow fixes for review panes, side panel and actions (#16882) (mvelamatt)
- On screen
- The sr-only status region reads 'Already done. Nothing left to review.' after the view moved on, with no 'by someone else' wording.
- Branches
- fails on master; these tests are not in the production suite (e2e-tests-production build 860).
TC-16 (spec line 139) expects 'Already done by someone else.', but the live region reads 'Already done. Nothing left to review.'
Commit 91eafc436 (#16882, 'demo-flow fixes for review panes') changed review-item-pane.tsx. It now sends `live.by ? \`Already done by ${live.by}.\` : 'Already done.'` instead of `Already done by ${live.by || 'someone else'}.`.
The test stubs docsvc to answer 'Accepted' with no actor, so the product now correctly says 'Already done.'. The failure is deterministic: both attempts failed the same way.
The rename looks intended, since the component's unit tests expect 'Already done.' too. The e2e spec and the `notice` string at e2e/pages/study/studyFeedCoverageData.js:323 were not updated.
I did not open TC-18's source. I'm assuming it fails on the same stale notice text because it is in the same error group. Check it when you fix TC-16.
Proposed fix
In e2e/tests/study/studyFeedEdlReview.spec.js:139-141, expect 'Already done.' (a regex like /Already done\./ also works). Update `notice` in e2e/pages/study/studyFeedCoverageData.js:323 to match. Check TC-18 for the same stale string. If a test needs the 'by <person>' wording, have the stub return an actor.
History of this root cause
- filed ENG-8921 · build 882 6d ago
The test is wrong, confidence medium; 2 tests; to [email protected] in Backlog
Tests 2
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 |
|---|---|---|---|
| Study feed EDL review views › TC-16: An item settled elsewhere says so and moves on studyFeedEdlReview |
did not run | ||
| Study feed EDL review views › TC-18: Scopes waiting for approval list the EDLs proposing the scope and Accept scope answers per EDL studyFeedEdlReview |
did not run |
How the agent decided
- Models
- claude-sonnet-5-5 ($0.41, 14 lookups)
- Settled by
- the investigating model
- Cost
- $0.41
What it looked up (14, in order)
1. search_code repo=cleopatra, text=Already done by someone else · 170 chars back
e2e/pages/study/studyFeedCoverageData.js
323: notice: 'Already done by someone else.',
e2e/tests/study/studyFeedEdlReview.spec.js
140: 'Already done by someone else.'
2. search_code repo=cleopatra, text=Nothing left to review · 783 chars back
e2e/knowledge/studies.md
103: - **The result notice** is no longer an inline element. A review action shows a success toast and writes the message, followed by `Item N of M` (or "Nothing left to review."), into an `sr-only` live r
108: - **v1 feed contract** (#16666, 2026-11-10): one card per kind, **no older fold** (`study-feed-older`) and **no Clear backlog** (`study-feed-clear-backlog`, the `clear-backlog` action) any more. A doc
apps/sense/src/modules/studies/routes/studies/study/feed/review/review-page.tsx
540: {[notice, review.isEmpty ? 'Nothing left to review.' : position]
547: title="Nothing left to review"
apps/sense/src/modules/studies/routes/studies/study/feed/review/review.test.tsx
549: expect(liveRegion().textContent).toBe('Nothing left to review.');
3. search_code repo=cleopatra, text=Already done, path_prefix=apps/sense/src/modules/studies · 944 chars back
apps/sense/src/modules/studies/routes/studies/study/feed/review/live-state.ts
23: * "Already done.". The shell remounts the hook per item.
apps/sense/src/modules/studies/routes/studies/study/feed/review/review-item-pane.tsx
194: live.by ? `Already done by ${live.by}.` : 'Already done.'
apps/sense/src/modules/studies/routes/studies/study/feed/review/edl/proposal-view.tsx
93: 'Already done: no proposal at this site waits for approval.',
apps/sense/src/modules/studies/routes/studies/study/feed/review/documents/document-live-state.test.ts
apps/sense/src/modules/studies/routes/studies/study/feed/review/edl-match/match-view.test.tsx
630: 'Already done by you.'
635: 'Already done.'
640: 'Already done.'
645: 'Already done.'
apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/coverage.test.tsx
267: 'Already done by [email protected].'
281: 'Already done.'
512: 'Already done.'
576: 'Already done.'
4. read_file repo=cleopatra, path=e2e/knowledge/studies.md, start_line=98, end_line=112 · 2123 chars back
e2e/knowledge/studies.md (126 lines), lines 98-112:
98 ## Study feed review: snooze, the result notice and the Undo window
99
100 Main only (#16220, then ENG-8406 `d089e70844`, 2026-11-05); read from code 2026-11-08, not run.
101
102 - **Snooze** offers 1 hour / 6 hours / 1 day (`SNOOZE_OPTIONS`, `feed/feed-card-actions.tsx:19-23`) and posts `until = now + hours`.
103 - **The result notice** is no longer an inline element. A review action shows a success toast and writes the message, followed by `Item N of M` (or "Nothing left to review."), into an `sr-only` live region, `study-feed-r
104 - **Confirm in the match view waits out a 5 s Undo window** (`UNDO_MS`) before it calls docsvc (`edl-match/match-view.tsx`, the `commit` passed to `onDone`). Assertions on the stubbed write must poll. Other review action
105 - **The key hint** reads "J / K or ← / → to move between items" (`feed/review/review-item-pane.tsx:123`); arrow keys move as well.
106 - **A lone candidate for a lone placeholder is preselected** (`edl-match/match-view.tsx:150-158`), with a `study-feed-match-why` line, so Confirm starts enabled. The match summary ("2 placeholders, 3 candidates") shares
107 - **Staff findings need a CRO org.** The viewer's QC tab, which holds the Site team section and its Confirm, renders only when `canViewQcFindings`, i.e. for CRO orgs (`useBinaryDocumentOptions.ts:150-154`). Coverage TC-2
108 - **v1 feed contract** (#16666, 2026-11-10): one card per kind, **no older fold** (`study-fe
… (623 more characters not kept)
5. read_file repo=cleopatra, path=apps/sense/src/modules/studies/routes/studies/study/feed/review/review-item-pane.tsx, start_line=165, end_line=215 · 1639 chars back
apps/sense/src/modules/studies/routes/studies/study/feed/review/review-item-pane.tsx (228 lines), lines 165-215:
165 )}
166 </PaneSlotsContext.Provider>
167 </section>
168 );
169 };
170
171 interface ItemBodyProps extends Pick<
172 Props,
173 'card' | 'groups' | 'rowGroups' | 'rowItems' | 'onDone' | 'canAct'
174 > {
175 item: FeedCardItem;
176 }
177
178 const ItemBody: React.FC<ItemBodyProps> = ({
179 card,
180 item,
181 groups,
182 rowGroups,
183 rowItems,
184 onDone,
185 canAct = true
186 }) => {
187 const { View, useLiveState, hidesName } = reviewViewFor(card.kind);
188 const live = useLiveState(item);
189
190 useEffect(() => {
191 if (live.status === 'done') {
192 onDone([item.item_id], `Already done by ${live.by || 'someone else'}.`);
193 }
194 }, [live, item, onDone]);
195
196 if (live.status === 'loading' || live.status === 'done') {
197 // A card that fills its own frame is loaded into that frame.
198 return hidesName ? <ReviewCardLoading /> : <Loader size="md" hideLogo />;
199 }
200 if (live.status === 'error') {
201 return (
202 <EmptyState
203 size="sm"
204 icon="exclamation.circle"
205 title="Couldn't check this item"
206 subtitle="Its owning service did not answer. Try again, or move to the next item."
207 testId="study-feed-review-live-error"
208 />
209 );
210 }
211 return (
212 // A disabled fieldset disables every
… (139 more characters not kept)
6. read_file repo=cleopatra, path=apps/sense/src/modules/studies/routes/studies/study/feed/review/live-state.ts, start_line=1, end_line=80 · 1452 chars back
apps/sense/src/modules/studies/routes/studies/study/feed/review/live-state.ts (34 lines), lines 1-34:
1 import { useRef } from 'react';
2 import { FeedCardItem } from 'api';
3
4 /** What the owning service (docsvc, VA, docproc) says about an item now. */
5 export type LiveItemState =
6 | { status: 'loading' }
7 | { status: 'open' }
8 // The item no longer needs action; `by` names who settled it, when known.
9 | { status: 'done'; by: string | null }
10 | { status: 'error'; error: unknown };
11
12 /**
13 * Reads one item's live state when the item opens, so nobody acts on a stale
14 * fact. Each card's view supplies its own; it must call the same hooks for
15 * every item of that card.
16 */
17 export type UseLiveItemState = (item: FeedCardItem) => LiveItemState;
18
19 const OPEN: LiveItemState = { status: 'open' };
20
21 /**
22 * Keeps the item's first answer, so the view's own action is not read back as
23 * "Already done by someone else". The shell remounts the hook per item.
24 */
25 export const useStateWhenOpened = (state: LiveItemState): LiveItemState => {
26 const first = useRef<LiveItemState | null>(null);
27 if (!first.current && (state.status === 'open' || state.status === 'done')) {
28 first.current = state;
29 }
30 return first.current ?? state;
31 };
32
33 /** Stub until a card's view lands: trusts the stored fact. */
34 export const useStoredItemState: UseLiveItemState = () => OPEN;
7. read_file repo=cleopatra, path=apps/sense/src/modules/studies/routes/studies/study/feed/review/review-page.tsx, start_line=520, end_line=555 · 108 chars back
apps/sense/src/modules/studies/routes/studies/study/feed/review/review-page.tsx (511 lines), lines 520-511:
8. read_file repo=cleopatra, path=apps/sense/src/modules/studies/routes/studies/study/feed/review/edl/proposal-view.tsx, start_line=40, end_line=130 · 3260 chars back
apps/sense/src/modules/studies/routes/studies/study/feed/review/edl/proposal-view.tsx (183 lines), lines 40-130:
40 return (
41 <LoadedContent
42 {...row}
43 isLoading={row.isPending}
44 data={row.data}
45 placeholder={false}
46 >
47 {(all) => <Proposals {...props} rowItems={all} />}
48 </LoadedContent>
49 );
50 };
51
52 // The view over the whole row, every page loaded.
53 const Proposals: React.FC<ReviewViewProps> = ({
54 card,
55 item,
56 rowItems,
57 onDone
58 }) => {
59 const { openAlert } = useAlertDialog();
60 const { openModal } = useRejectProposalsModal();
61 const decide = useBulkPlaceholderDecisionsMutation();
62 const rowAll = useRowItemsMutation(card.card_key, (all) =>
63 fetchWaitingPlaceholders(all, 'Pending')
64 );
65 const proposals = useWaitingPlaceholders(rowItems, 'Pending');
66 const edls = useMemo(() => groupByEdl(proposals), [proposals]);
67 const { selected, setSelected } = useTicks(proposals, isTickedByDefault);
68 const [failures, setFailures] = useState<BulkOutcome['failures']>([]);
69 const isBusy = decide.isPending || rowAll.isPending;
70
71 const finish = useCallback(
72 (verb: string) => (outcome: BulkOutcome) => {
73 setFailures(outcome.failures);
74 if (outcome.okIds.length) {
75 onDone(outcomeMessage(verb, 'proposal', outcome), outcome.okIds);
76 }
77 },
78 [onDone]
79 );
80
81 const confirm = (items: FeedCardItem[]) =>
… (1760 more characters not kept)
9. search_code repo=cleopatra, text='Already done.' · 569 chars back
apps/sense/src/modules/studies/routes/studies/study/feed/review/review-item-pane.tsx
194: live.by ? `Already done by ${live.by}.` : 'Already done.'
apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/coverage.test.tsx
281: 'Already done.'
512: 'Already done.'
576: 'Already done.'
683: 'Already done.'
apps/sense/src/modules/studies/routes/studies/study/feed/review/edl-match/match-view.test.tsx
635: 'Already done.'
640: 'Already done.'
645: 'Already done.'
701: await waitFor(() => expect(notice()).toBe('Already done.'));
10. commits repo=cleopatra, path=apps/sense/src/modules/studies/routes/studies/study/feed/review, since=2026-11-10T00:00:00Z · 1705 chars back
080e738cf 2026-11-17T02:31 mvelamatt: feed: card text, buttons, card pages with Ask AI docked, sample news (ENG-8919) (#16885)
91eafc436 2026-11-16T22:29 mvelamatt: feed: demo-flow fixes for review panes, side panel and actions (#16882)
49d9c02e3 2026-11-16T13:57 arzatskis: Save every table's column layout under its definition and require definitions for stateful tables (#16850)
5095804d2 2026-11-16T13:43 arzatskis: Fix broken tests and run the full suite in the required CI check (#16852)
c5db9232b 2026-11-15T17:13 akshaysharma-tilda: Study feed: request cards in modals with the inbox thread, and the questions list (ENG-8324) (#16831)
b6287d477 2026-11-15T06:20 mvelamatt: feat(feed): Ask AI on the draft emails review (ENG-8850) (#16829)
b3c533cff 2026-11-15T00:54 mvelamatt: Site startup suggestion card and EDL purpose (ENG-8842) (#16827)
806127aa4 2026-11-14T17:37 mvelamatt: feat(feed): Suggestions tab for missing documents (ENG-8794) (#16816)
feb20df34 2026-11-13T20:31 akshaysharma-tilda: Study feed follow-ups: email modal with the work order draft card, delegation log walk, Actions list tidy-ups (ENG-8324) (#16815)
3aceba0fc 2026-11-13T00:37 mvelamatt: Feed reviews: accepted scopes leave the list, counts refresh after feedsvc, QC walk reads the reason row (ENG-8324) (#16773)
043c3c113 2026-11-12T20:49 akshaysharma-tilda: Study feed: Actions/Notifications, review modals, Insights tab, feedsvc EDL contract (ENG-8324) (#16770)
4513a696e 2026-11-10T23:53 mvelamatt: feat(feed):
… (205 more characters not kept)
11. commits repo=cleopatra, path=e2e/tests/study/studyFeedEdlReview.spec.js, since=2026-11-10T00:00:00Z · 392 chars back
043c3c113 2026-11-12T20:49 akshaysharma-tilda: Study feed: Actions/Notifications, review modals, Insights tab, feedsvc EDL contract (ENG-8324) (#16770)
f5332f92c 2026-11-11T16:15 sbadiger: [E2E]: AE fixes (#16683)
6fa3ebc48 2026-11-11T10:44 sbadiger: [E2E]: Simplify execution (#16679)
11c6b32b4 2026-11-10T11:42 Harsh-Tilda: [E2E] changes folder structure and run to run module wise (#16639)
12. commit_diff repo=cleopatra, sha=91eafc436, path=apps/sense/src/modules/studies/routes/studies/study/feed/review/review-item-pane.tsx · 2805 chars back
91eafc436 2026-11-16T22:29 mvelamatt: feed: demo-flow fixes for review panes, side panel and actions (#16882)
33 files changed: apps/sense/src/modules/ai-chat/actions/apply-stream-event.test.ts, apps/sense/src/modules/ai-chat/actions/apply-stream-event.ts, apps/sense/src/modules/ai-teammates/ai-workorders/work-order-config/event-work-order-title.test.ts, apps/sense/src/modules/ai-teammates/ai-workorders/work-order-config/event-work-order-title.ts, apps/sense/src/modules/ai-teammates/ai-workorders/work-order-config/work-order-config-modal.tsx, apps/sense/src/modules/documents/components/accept-all-scopes-modal.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/edl-complete-modal.test.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/edl-complete-modal.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/feed.test.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/coverage.test.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/index.ts, apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/ready-documents-view.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/renewal-view.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/staff-finding-view.tsx, apps/sense/src/modules/studies/routes/studies/study/feed/review/coverage-cards/staged-document-view.tsx, apps/sense/src/modules/studies/routes/stud
… (1305 more characters not kept)
13. commits repo=cleopatra, path=e2e, since=2026-11-16T22:00:00Z · 82 chars back
ff9aa20b3 2026-11-17T01:56 AlekhyaBolineedi: [E2E]: Fixes for WOLifecycle (#16875)
14. search_code repo=cleopatra, text=reviewNotice, path_prefix=e2e/pages · 104 chars back
e2e/pages/study/studyFeedPage.js
37: this.reviewNotice = page.getByTestId('study-feed-review-status');
What it was shown (build 882, 44.2 KB)
The run
{
"job": "e2e-tests-master",
"build": 882,
"kind": "ui-tests",
"result": "UNSTABLE",
"started": "2026-11-17T01:35:54Z",
"tests": 742,
"failed": 40,
"test_commit": "e0858153f",
"branch": "master",
"cluster_prepared": {
"mode": "verify",
"result": "ready",
"product_commit": "e770fbf"
}
}
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": "job.failing",
"severity": "warning",
"subject": "pubsub.org-soft-delete-automation-authz-sub",
"title": "pubsub.org-soft-delete-automation-authz-sub: 6 failed runs in the last 6 h \u2014 Neo4jError: Neo.TransientError.Transaction.DeadlockDetected (ForsetiClient[transactionId=?, clientId",
"opened_minutes_after_run_start": 144
},
{
"kind": "service.silent",
"severity": "warning",
"subject": "workplansvc",
"title": "workplansvc on automation has served nothing for 1.2 h; at this hour it normally serves about 318 calls/hour",
"opened_minutes_after_run_start": 171
},
{
"kind": "endpoint.4xx_spike",
"severity": "warning",
"subject": "feedsvc",
"title": "feedsvc GET /studies/:id/feed/news: 4xx \u2014 23 of 23 calls (100 %; other 4xx\u00d723) in the last 15 min \u2014 it usually has none",
"opened_minutes_after_run_start": 69
},
{
"kind": "error.novel",
"severity": "warning",
"subject": "finsvc",
"title": "finsvc: a new error shape, 6\u00d7 in the last hour, never seen in 90 days (error in pubsub handler \u2014 failed to get budget (siteId=?, studyId=?): )",
"opened_minutes_after_run_start": 160
}
],
"long_standing_findings_left_out": 19,
"pods_in_trouble_during_the_run": [],
"deploys_during_the_run": []
}
The group
{
"tests": 2,
"suite": "studyFeedEdlReview",
"members": [
{
"test": "studyFeedEdlReview::TC-16: An item settled elsewhere says so and moves on",
"pattern": "intermittent",
"meaning": "2 failures in 18 runs, 1 in a row now",
"newest_first": "F P P P P P P P P P P P P F P P P P",
"failing_in_a_row": 1,
"this_error_in_a_row": 1,
"this_error_since_build": 882,
"build_before_this_error": 881,
"failing_since_build": 882,
"last_passed_build": 881
},
{
"test": "studyFeedEdlReview::TC-18: Scopes waiting for approval list the EDLs proposing the scope and Accept scope answers per EDL",
"pattern": "new",
"meaning": "failed 1 run after passing the 5 before",
"newest_first": "F P P P P P",
"failing_in_a_row": 1,
"this_error_in_a_row": 1,
"this_error_since_build": 882,
"build_before_this_error": 881,
"failing_since_build": 882,
"last_passed_build": 881
}
]
}
The failure
{
"test": "studyFeedEdlReview::TC-16: An item settled elsewhere says so and moves on",
"status": "failed",
"message": "expect(locator).toContainText(expected) failed",
"traceback_tail": "\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 Error: expect(locator).toContainText(expected) failed\n\n Locator: getByTestId('study-feed-review-status')\n Expected substring: \"Already done by someone else.\"\n Received string: \"Already done. Nothing left to review.\"\n Timeout: 50000ms\n\n Call log:\n - Expect \"toContainText\" getByTestId('study-feed-review-status') with timeout 50000ms\n - waiting for getByTestId('study-feed-review-status')\n - locator resolved to <div role=\"status\" class=\"sr-only\" data-testid=\"study-feed-review-status\">Item 1 of 3</div>\n - unexpected value \"Item 1 of 3\"\n 91 \u00d7 locator resolved to <div role=\"status\" class=\"sr-only\" data-testid=\"study-feed-review-status\">Already done. Nothing left to review.</div>\n - unexpected value \"Already done. Nothing left to review.\"\n\n\n 137 | edlData.proposal\n 138 | );\n > 139 | await expect(studyFeedPage.reviewNotice).toContainText(\n | ^\n 140 | 'Already done by someone else.'\n 141 | );\n 142 | logger.info('docsvc said Accepted, so the view moved on');\n at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/study/studyFeedEdlReview.spec.js:139:46\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/studyFeedEdlReview-Study-f-0a56a-ewhere-says-so-and-moves-on-study-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/studyFeedEdlReview-Study-f-0a56a-ewhere-says-so-and-moves-on-study-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/studyFeedEdlReview-Study-f-0a56a-ewhere-says-so-and-moves-on-study-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/studyFeedEdlReview-Study-f-0a56a-ewhere-says-so-and-moves-on-study-retry1/trace.zip\n Usage:\n\n yarn playwright show-trace reports/studyFeedEdlReview-Study-f-0a56a-ewhere-says-so-and-moves-on-study-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": "e2e7e579e75dda87af69ebd32c4b2e09",
"method": "GET",
"path": "/api/v1/feed/studies/29d2e5b3-6bcb-4b69-9110-f084427e2e3c/feed/news",
"status": "404",
"error": "None"
},
{
"trace_id": "e2e7e579e75dda87af69ebda829e5c58",
"method": "GET",
"path": "/api/myprofile/signature",
"status": "200",
"error": "None"
},
{
"trace_id": "e2e7e579e75dda87af69ebd9a935a081",
"method": "POST",
"path": "/api/journey",
"status": "204",
"error": "None"
},
{
"trace_id": "e2e7e579e75dda87af69ebdde7c36941",
"method": "POST",
"path": "/api/journey",
"status": "204",
"error": "None"
},
{
"trace_id": "e2e7e579e75dda87af69ebdb2f784357",
"method": "POST",
"path": "/api/journey",
"status": "204",
"error": "None"
},
{
"trace_id": "e2e7e579e75dda87af69ebd1595ce106",
"method": "GET",
"path": "/api/studio/events",
"status": "200",
"error": "None"
}
],
"errors_the_services_logged_for_these_requests": "none: no service logged an error under these requests' trace ids",
"raised_at": "e2e/tests/study/studyFeedEdlReview.spec.js:139",
"code_frame": " 137 | edlData.proposal\n 138 | );\n> 139 | await expect(studyFeedPage.reviewNotice).toContainText(\n | ^\n 140 | 'Already done by someone else.'\n 141 | );\n 142 | logger.info('docsvc said Accepted, so the view moved on');",
"playwright_call_log": [
"- Expect \"toContainText\" getByTestId('study-feed-review-status') with timeout 50000ms",
"- waiting for getByTestId('study-feed-review-status')",
"- locator resolved to <div role=\"status\" class=\"sr-only\" data-testid=\"study-feed-review-status\">Item 1 of 3</div>",
"- unexpected value \"Item 1 of 3\"",
"- unexpected value \"Already done. Nothing left to review.\""
],
"attempts": {
"errors": [
"Error: expect(locator).toContainText(expected) failed",
"Error: expect(locator).toContainText(expected) failed"
],
"note": "every attempt failed the same way: deterministic, not a race"
}
}
Console lines about this test
{
"from": "console.log",
"lines": [
"6006: INFO Opened the doc_spot_check review",
"6007: INFO \u2713 512 [platform] \u203a tests/platform/calendar/calendar.spec.js:19:3 \u203a Calendar Page \u203a TC-03: Verify calendar default view is Day view (9.5s)",
"6008: INFO Logging out from profile menu",
"6009: INFO \u2718 502 [study] \u203a tests/study/studyFeedEdlReview.spec.js:125:3 \u203a Study feed EDL review views \u203a TC-16: An item settled elsewhere says so and moves on (1.5m)",
"6010: INFO The 207 failure keeps the viewer on the document",
"6011: INFO Select Month",
"6012: INFO Checking user is returned to sign-in page",
"\u2026",
"6166: INFO \u2718 516 [study] \u203a tests/study/studyFeedMatches.spec.js:26:3 \u203a Study feed: confirm AI matches \u203a TC-10: One candidate for one placeholder is confirmed with a single pick (retry #1) (1.8m)",
"6167: INFO Activate option selected for patient",
"6168: INFO Check partner appearing on activate tab",
"6169: INFO \u2718 518 [study] \u203a tests/study/studyFeedEdlReview.spec.js:125:3 \u203a Study feed EDL review views \u203a TC-16: An item settled elsewhere says so and moves on (retry #1) (1.6m)",
"6170: INFO CRO user data_manager (data_manager) added to study CRO Site Journey Study 1794883435458",
"6171: INFO Deleting partner with name Test-partner-1794883435683",
"6172: INFO Site 066c4605-fe4b-4f3f-ad51-b4d3f455e6f5 added to study Study Feed CRO 1794883467883 with number 1794883479981",
"\u2026",
"6545: INFO Signing in Test Admin ([email protected]) (+3 identical, not shipped)",
"6546: INFO Created new study Study Feed 1794882903647 with tildaid 338de338-7476-4603-a4d3-3847b3a95ed3 (+2 identical, not shipped)",
"6547: INFO \u2718 499 [study] \u203a tests/study/studyFeedMatches.spec.js:26:3 \u203a Study feed: confirm AI matches \u203a TC-10: One candidate for one placeholder is confirmed with a single pick (1.8m) (+1 identical, not shipped)",
"6548: INFO \u2718 502 [study] \u203a tests/study/studyFeedEdlReview.spec.js:125:3 \u203a Study feed EDL review views \u203a TC-16: An item settled elsewhere says so and moves on (1.5m) (+1 identical, not shipped)",
"6549: INFO Selecting Study CRO Site Journey Study 1794883435458 and sites tab",
"6550: INFO Address search filled street, city, state, ZIP and country",
"6551: INFO Selected study CRO Site Journey Study 1794883435458",
"\u2026",
"6708: INFO Successfully navigated to study Study Feed 1794882903647 overview tab (+1 identical, not shipped)",
"6709: INFO Opened https://automation.master.tilda.pizza/e2EUi882Smo/studies/338de338-7476-4603-a4d3-3847b3a95ed3/feed (+1 identical, not shipped)",
"6710: INFO \u2718 499 [study] \u203a tests/study/studyFeedMatches.spec.js:26:3 \u203a Study feed: confirm AI matches \u203a TC-10: One candidate for one placeholder is confirmed with a single pick (1.8m) (+1 identical, not shipped)",
"6711: INFO \u2718 502 [study] \u203a tests/study/studyFeedEdlReview.spec.js:125:3 \u203a Study feed EDL review views \u203a TC-16: An item settled elsewhere says so and moves on (1.5m) (+1 identical, not shipped)",
"6712: INFO Deleting site 015106ae-e37b-48ab-ba31-b4324c368c4d (+1 identical, not shipped)",
"6713: INFO \u2713 550 [platform] \u203a tests/platform/sites/sites.spec.js:9:3 \u203a Sites Page \u203a TC-01: Verify required field warnings on the create site form (26.7s) (+1 identical, not shipped)",
"6714: INFO \u2713 528 [platform] \u203a tests/platform/sites/croAddSite.spec.js:56:3 \u203a CRO Add Site \u203a TC-01: Add new site inside CRO org with 2 members and contact strategy (1.9m) (+1 identical, not shipped)"
]
}
The test's history
{
"pattern": "intermittent",
"meaning": "2 failures in 18 runs, 1 in a row now",
"newest_first": "F P P P P P P P P P P P P F P P P P",
"failing_in_a_row": 1,
"this_error_in_a_row": 1,
"this_error_since_build": 882,
"build_before_this_error": 881
}
other_branch
{
"branch": "production",
"job": "e2e-tests-production",
"build": 860,
"these_tests_there": {
"absent": 2
},
"reading": "fails on master; these tests are not in the production suite (`e2e-tests-production` build 860)."
}
The test's source
{
"repo": "tildabio/cleopatra",
"at": "e0858153f",
"path": "e2e/tests/study/studyFeedEdlReview.spec.js",
"from_line": 125,
"failing_line": 125,
"code": "125> test('TC-16: An item settled elsewhere says so and moves on', async ({\n126 studyFeedPage,\n127 feedApiUtility,\n128 studyFeedData,\n129 edlData,\n130 edlActionApiUtility\n131 }) => {\n132 await edlActionApiUtility.stubEdlActions(studyFeedPage.page, {\n133 placeholderDecision: 'Accepted'\n134 });\n135 await openReview(\n136 { studyFeedPage, feedApiUtility, studyFeedData },\n137 edlData.proposal\n138 );\n139 await expect(studyFeedPage.reviewNotice).toContainText(\n140 'Already done by someone else.'\n141 );\n142 logger.info('docsvc said Accepted, so the view moved on');\n143 });\n144 \n145 test('TC-17: Removals start all ticked; Select the unfiled ones, Confirm removals takes the ticked rows and Keep keeps the ticked ones', async ({\n146 studyFeedPage,\n147 feedApiUtility,\n148 studyFeedData,\n149 edlData,\n150 edlActionApiUtility\n151 }) => {\n152 const writes = await edlActionApiUtility.stubEdlActions(\n153 studyFeedPage.page,\n154 {\n155 placeholderDecision: 'PendingForDelete',\n156 placeholderIds: placeholderIds(edlData.removal)\n157 }\n158 );\n159 await openReview(\n160 { studyFeedPage, feedApiUtility, studyFeedData },\n161 edlData.removal\n162 );\n163 \n164 const { page } = studyFeedPage;\n165 await expect(\n166 page.getByTestId('study-feed-review-removal-warning')\n167 ).toContainText(\n168 '1 of these 2 placeholders already has an accepted document'\n169 );\n170 await expect(page.getByRole('checkbox', { name: /ICH-GCP/ })).toBeChecked();\n171 await expect(\n172 page.getByRole('checkbox', { name: /Other CV/ })\n173 ).toBeChecked();\n174 \n175 await page\n176 .getByRole('button', { name: 'Select the 1 without a filed document' })\n177 .click();\n178 await expect(\n179 page.getByRole('checkbox', { name: /Other CV/ })\n180 ).toBeChecked();\n181 await page.getByRole('button', { name: 'Confirm removals (1)' }).click();\n182 await studyFeedPage.confirmAlert('Remove 1');\n183 await expect(studyFeedPage.reviewNotice).toContainText(\n184 'Removed 1 document.'\n185 );\n186 expect(writes[0].body.updates).toEqual([\n187 { placeholderId: 'ph-r2', state: 'Rejected', reason: 'Rejected by user' }\n188 ]);\n189 logger.info('Confirm removals sent the ticked row only, after its confirm');\n190 \n191 await page.getByRole('checkbox', { name: /ICH-GCP/ }).check();\n192 await page.getByRole('button', { name: 'Keep (1)' }).click();\n193 await studyFeedPage.confirmAlert('Keep 1');\n194 await expect(studyFeedPage.reviewNotice).toContainText('Kept 1 document.');\n195 expect(writes[1].body.updates).toEqual(["
}
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/study/studyFeedEdlReview.spec.js >> Study feed EDL review views >> TC-16: An item settled elsewhere says so and moves on\n- Location: tests/study/studyFeedEdlReview.spec.js:125:3\n\n# Error details\n\n```\nError: expect(locator).toContainText(expected) failed\n\nLocator: getByTestId('study-feed-review-status')\nExpected substring: \"Already done by someone else.\"\nReceived string: \"Already done. Nothing left to review.\"\nTimeout: 50000ms\n\nCall log:\n - Expect \"toContainText\" getByTestId('study-feed-review-status') with timeout 50000ms\n - waiting for getByTestId('study-feed-review-status')\n - locator resolved to <div role=\"status\" class=\"sr-only\" data-testid=\"study-feed-review-status\">Already done. Item 1 of 1</div>\n - unexpected value \"Already done. Item 1 of 1\"\n 85 \u00d7 locator resolved to <div role=\"status\" class=\"sr-only\" data-testid=\"study-feed-review-status\">Already done. Nothing left to review.</div>\n - unexpected value \"Already done. Nothing left to review.\"\n\n```\n\n```yaml\n- status: Already done. Nothing left to review.\n```\n\n# Test source\n\n```ts\n 39 | card\n 40 | ) => {\n \u2026\n 75 | // The bulk button sits on the pane heading, outside the view.\n \u2026\n 89 | const dialog = page.getByRole('dialog');\n 90 | await dialog.getByRole('textbox').fill(proposal.expected.rejectReason);\n 91 | await dialog.getByRole('button', { name: 'Reject' }).click();\n \u2026\n | ^ Error: expect(locator).toContainText(expected) failed"
}
Commits in the window
{
"between": "build 881 (last pass, started 2026-11-16T08:54:38Z) and build 882 (first failure of the streak, started 2026-11-17T01:35:54Z)",
"test_repo": {
"repo": "tildabio/cleopatra",
"range": "de78c7210..e0858153f",
"href": "https://github.com/tildabio/cleopatra/compare/de78c72100d11ee0de34af537ac1feac367d13bc...e0858153fdab271bf773a3edc8037c217f4884f1",
"total": 33,
"commits": [
{
"sha": "e0858153f",
"subject": "[E2E] Update studio tests as per new changes (#16874)",
"login": "pranitmahajan",
"name": "Pranit Mahajan",
"date": "2026-11-16T18:07",
"touches": [
"e2e/pages",
"e2e/tests"
]
},
{
"sha": "c6270d034",
"subject": "ENG-8707: Rename site team roles and map study roles inline (#16714)",
"login": "mail2bhargava",
"name": "mail2bhargava",
"date": "2026-11-16T16:10",
"touches": [
"apps/sense",
"e2e/pages",
"e2e/tests"
]
},
{
"sha": "f0b1cb82e",
"subject": "ENG-8706: Show a role count on the Site Roles card and tidy the Site Roles page (#16711)",
"login": "mail2bhargava",
"name": "mail2bhargava",
"date": "2026-11-16T16:10",
"touches": [
"apps/sense",
"packages/ui"
]
},
{
"sha": "15e79d189",
"subject": "Warn trainees closing a training they started but haven't finished (#16868)",
"login": "danherberttilda",
"name": "Dan Herbert",
"date": "2026-11-16T15:54",
"touches": [
"apps/sense"
]
},
{
"sha": "9fdfabb0e",
"subject": "Enable Work Plans templates in production (#16870)",
"login": "poojalodhi",
"name": "Pooja Lodhi",
"date": "2026-11-16T15:41",
"touches": [
"packages/api"
]
},
{
"sha": "bb356dab0",
"subject": "fix(sense): show Open work order for every trainee attempt with a WO (#16833)",
"login": "mmukkama",
"name": "mmukkama",
"date": "2026-11-16T15:23",
"touches": [
"apps/sense"
]
},
{
"sha": "fc32eb136",
"subject": "Name the Studio create dialogs' primary button after the object (#16869)",
"login": "gedi-tilda",
"name": "gedi-tilda",
"date": "2026-11-16T15:22",
"touches": [
"apps/sense",
"e2e/pages"
]
},
{
"sha": "8c725c873",
"subject": "Inset the Schedule of Events 16px like the other Studio list pages (#16867)",
"login": "gedi-tilda",
"name": "gedi-tilda",
"date": "2026-11-16T15:07",
"touches": [
"apps/sense"
]
},
{
"sha": "a9c29596b",
"subject": "feat(studio): show auto queries in the published protocol view (ENG-8242) (#16839)",
"login": "sanchitmishra08",
"name": "sanchitmishra08",
"date": "2026-11-16T14:55",
"touches": [
"apps/sense"
]
},
{
"sha": "7e59c586a",
"subject": "AI chat: copy button under your messages on hover (#16791)",
"login": "gedi-tilda",
"name": "gedi-tilda",
"date": "2026-11-16T14:55",
"touches": [
"apps/sense"
]
},
{
"sha": "293cdaa77",
"subject": "Chat entity links: icon on the first line, text after them flows inline (#16855)",
"login": "gedi-tilda",
"name": "gedi-tilda",
"date": "2026-11-16T14:32"
},
{
"sha": "f3843c8c8",
"subject": "studio: show where a question is used and mark rules whose choices no longer exist (ENG-6755) (#16473)",
"login": "sanchitmishra08",
"name": "sanchitmishra08",
"date": "2026-11-16T14:24"
},
{
"sha": "1c4efe475",
"subject": "[Remove Feature Toggle] Studio: remove the Studio UI Update feature flag and the name-follows-title gate (ENG-8778, part 2) (#16813)",
"login": "danherberttilda",
"name": "Dan Herbert",
"date": "2026-11-16T14:13"
},
{
"sha": "49d9c02e3",
"subject": "Save every table's column layout under its definition and require definitions for stateful tables (#16850)",
"login": "arzatskis",
"name": "Edvinas Ar\u017eatskis",
"date": "2026-11-16T13:57"
},
{
"sha": "5095804d2",
"subject": "Fix broken tests and run the full suite in the required CI check (#16852)",
"login": "arzatskis",
"name": "Edvinas Ar\u017eatskis",
"date": "2026-11-16T13:43"
},
{
"sha": "48f943aa1",
"subject": "Allow only one role per signer in Manage Signers (#16849)",
"login": "arzatskis",
"name": "Edvinas Ar\u017eatskis",
"date": "2026-11-16T13:42"
},
{
"sha": "641c817a1",
"subject": "Read the study Audit and staff member tabs from the navigation registry (#16851)",
"login": "arzatskis",
"name": "Edvinas Ar\u017eatskis",
"date": "2026-11-16T13:42"
},
{
"sha": "c463b89e9",
"subject": "Bring back the document scope select in the TMF digest modal (#16846)",
"login": "arzatskis",
"name": "Edvinas Ar\u017eatskis",
"date": "2026-11-16T13:41"
},
{
"sha": "08b35d548",
"subject": "[E2E] Cover the study Trainings tabs: Team Trainings, Site Training Log and Study Team Training Log (ENG-8868) (#16854)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T13:33"
},
{
"sha": "2f606fb1b",
"subject": "Site create, list, overview, documents and contact strategy UI journey (ENG-8754) (#16797)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T13:17"
},
{
"sha": "f9b005e8b",
"subject": "[E2E] Cover the Trainings module's Study Trainings, Study Team and Site Training Logs and Reports (ENG-8870) (#16859)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T13:03"
},
{
"sha": "835e081c9",
"subject": "Cancelling the Not Done reasons dialog on Complete no longer moves to the next activity (ENG-8750) (#16841)",
"login": "avdkishore",
"name": "Kishore",
"date": "2026-11-16T12:59"
},
{
"sha": "64eabc54e",
"subject": "Add UI coverage for site import and export dialogs (ENG-8713) (#16723)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T12:56"
},
{
"sha": "2fce3ffa4",
"subject": "Add Site Team tab UI coverage for SMO invites, removal, member panel and CRO staff rules (ENG-8715) (#16740)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T12:56"
},
{
"sha": "3ec3dfd93",
"subject": "Scroll Studio object tables like DataTable, inside the page padding (#16864)",
"login": "gedi-tilda",
"name": "gedi-tilda",
"date": "2026-11-16T12:56"
}
]
},
"product": {
"repo": "tildabio/main",
"range": "82fca18..e770fbf",
"href": "https://github.com/tildabio/main/compare/82fca18...e770fbf",
"total": 20,
"commits": [
{
"sha": "e770fbf1d",
"subject": "fix(careplanlib): PI can sign off a screening visit after the subject left screening (ENG-8740) (#17478)",
"login": "Shashank-Agrawal12",
"name": "Shashank-Agrawal12",
"date": "2026-11-16T18:16",
"touches": [
"common/careplanlib",
"execsvc/pkg"
]
},
{
"sha": "a557e97ff",
"subject": "SSE for fileupload emails mailbox - initial impl (#17509)",
"login": "vikrantsharma-tildabio",
"name": "vikrantsharma-tildabio",
"date": "2026-11-16T17:58",
"touches": [
"data-science/packages",
"data-science/virtual_assistant"
]
},
{
"sha": "d8ccef432",
"subject": "chat-agent: studio_authoring resolves the open study configuration, visit and form from context (ENG-8592) (#17508)",
"login": "sureshboddapati",
"name": "Suresh Boddapati",
"date": "2026-11-16T17:41",
"touches": [
"data-science/chat-agent"
]
},
{
"sha": "8b80e3e2f",
"subject": "fix(docsvc): split accepted vs suggested matches in placeholder export (ENG-7494) (#17505)",
"login": "susheelkumar-cmyk",
"name": "susheelkumar-cmyk",
"date": "2026-11-16T16:02",
"touches": [
"docsvc/pkg"
]
},
{
"sha": "a28d70403",
"subject": "evals: work-order eval rework and judge calibration (EC-1) (#17418)",
"login": "TadasValaitiz",
"name": "Tadas Valaitis",
"date": "2026-11-16T15:49",
"touches": [
"data-science/chat-agent"
]
},
{
"sha": "4cf808b2a",
"subject": "fix(studiosvc): put the org in the Timer and ESign NODE KEY so org-level titles are unique per org (ENG-8586, ENG-8741) (#17391)",
"login": "danherberttilda",
"name": "Dan Herbert",
"date": "2026-11-16T15:33",
"touches": [
"studiosvc/pkg",
"tildaobj/schema_owner_test.go",
"tildaobj/schema_retired.go",
"tildaobj/studio_obj_defs.go"
]
},
{
"sha": "d7e283183",
"subject": "fix concurrency issue and add support for parallel run (#17506)",
"login": "Harsh-Tilda",
"name": "Harsh Agarwal",
"date": "2026-11-16T15:21",
"touches": [
"e2e/.gitignore",
"e2e/CLAUDE.md",
"e2e/TEST_ARCHITECTURE.md",
"e2e/automation",
"e2e/pyproject.toml",
"e2e/run-tests.sh",
"e2e/uv.lock"
]
},
{
"sha": "d4a45f5f0",
"subject": "fix(authz): site-staff bulk import is all-or-nothing, 422 on refused rows (ENG-8657) (#17502)",
"login": "akshaysharma-tilda",
"name": "akshaysharma-tilda",
"date": "2026-11-16T14:59",
"touches": [
"authz/pkg"
]
},
{
"sha": "7abc30f55",
"subject": "chat-agent: study_configuration, studio_visit and studio_form context kinds (ENG-8592) (#17500)",
"login": "avdkishore",
"name": "Kishore",
"date": "2026-11-16T14:54",
"touches": [
"data-science/chat-agent"
]
},
{
"sha": "88a093d22",
"subject": "Cover visit activities v2: list, save, skip, resume, edit cycle, sign-off, audit log, unscheduled visit and ch (ENG-8864) (#17495)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T13:13",
"touches": [
"e2e/CLAUDE.md",
"e2e/automation"
]
},
{
"sha": "d9115c14b",
"subject": "fix(docsvc): skip unparseable changelog JSON in migrate-original-filename (ENG-8671) (#17443)",
"login": "susheelkumar-cmyk",
"name": "susheelkumar-cmyk",
"date": "2026-11-16T11:26"
},
{
"sha": "11a3e5b2d",
"subject": "chat-agent: one short date form on work-order cards, 13 Nov 2026, with MM/DD/YYYY allowed from work orders (ENG-8247) (#17425)",
"login": "TadasValaitiz",
"name": "Tadas Valaitis",
"date": "2026-11-16T11:11"
},
{
"sha": "3262c1f2e",
"subject": "va: short date form in card summaries and steer messages; parser accepts 13 Nov 2026 (ENG-8247) (#17430)",
"login": "TadasValaitiz",
"name": "Tadas Valaitis",
"date": "2026-11-16T11:11"
},
{
"sha": "91b905144",
"subject": "fix(docsvc): an explicit site filter only narrows the caller's site scope (ENG-8613) (#17419)",
"login": "TadasValaitiz",
"name": "Tadas Valaitis",
"date": "2026-11-16T11:10"
},
{
"sha": "ccc68752a",
"subject": "fix(ci): stop logging into Auth0 for [email protected] in CI (#17481)",
"login": "ojasgo",
"name": "ojasgo",
"date": "2026-11-16T11:00"
},
{
"sha": "0deca7fbe",
"subject": "[E2E] TA 113 gated api test scope (#17496)",
"login": "Harsh-Tilda",
"name": "Harsh Agarwal",
"date": "2026-11-16T10:57"
},
{
"sha": "b410a7af1",
"subject": "Fix tusker task tests: empty stats are [] and the outside-study user is TEST_NON_STUDY (ENG-8849) (#17494)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T09:52"
},
{
"sha": "48784f6be",
"subject": "Update EDL change-log e2e tests to the EDL audit log row shape (ENG-8848) (#17493)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T09:50"
},
{
"sha": "2a51624b3",
"subject": "Fix recommendations e2e tests for docproc's camelCase wire format (ENG-8843) (#17488)",
"login": "tilda-gitbot[bot]",
"name": "tilda-gitbot[bot]",
"date": "2026-11-16T08:19"
},
{
"sha": "2a0c94e40",
"subject": "docsvc: reject 0-byte uploads when leaving Upload Pending (#17483)",
"login": "vishal23karedla",
"name": "Vishal Karedla",
"date": "2026-11-16T08:00"
}
]
}
}
The issue as the agent wrote it
**Fix is in:** the automation suite (e2e): the test is wrong.
**What failed:** `expect(locator).toContainText(expected) failed`
**On screen when it failed:** The sr-only status region reads 'Already done. Nothing left to review.' after the view moved on, with no 'by someone else' wording.

**The test is wrong**, confidence medium. Found in `e2e-tests-master` build 882: [run in X-ray](https://xray.tilda.pizza/tests/run/e2e-tests-master/882).
**Root cause in X-ray:** [the verdict, each test's history and the evidence the agent read](https://xray.tilda.pizza/test-triage/b966eb80ff0e34)
**Branches:** fails on master; these tests are not in the production suite (`e2e-tests-production` build 860).
TC-16 (spec line 139) expects 'Already done by someone else.', but the live region reads 'Already done. Nothing left to review.'
Commit 91eafc436 (#16882, 'demo-flow fixes for review panes') changed review-item-pane.tsx. It now sends `live.by ? \`Already done by ${live.by}.\` : 'Already done.'` instead of `Already done by ${live.by || 'someone else'}.`.
The test stubs docsvc to answer 'Accepted' with no actor, so the product now correctly says 'Already done.'. The failure is deterministic: both attempts failed the same way.
The rename looks intended, since the component's unit tests expect 'Already done.' too. The e2e spec and the `notice` string at e2e/pages/study/studyFeedCoverageData.js:323 were not updated.
I did not open TC-18's source. I'm assuming it fails on the same stale notice text because it is in the same error group. Check it when you fix TC-16.
**Suspect commit:** [91eafc436](https://github.com/tildabio/cleopatra/commit/91eafc436c4a84e003d5217fa0e7edc4f4536f85) feed: demo-flow fixes for review panes, side panel and actions (#16882) (mvelamatt)
**Service:** sense
**Assigned to:** [email protected] (last changed studyFeedEdlReview.spec.js (f5332f92c); the test agent opens the pull request once this is in Ready for Development).
**Proposed fix:**
In e2e/tests/study/studyFeedEdlReview.spec.js:139-141, expect 'Already done.' (a regex like /Already done\./ also works). Update `notice` in e2e/pages/study/studyFeedCoverageData.js:323 to match. Check TC-18 for the same stale string. If a test needs the 'by <person>' wording, have the stub return an actor.
**Failing tests (2):**
- [studyFeedEdlReview::TC-16: An item settled elsewhere says so and moves on](https://xray.tilda.pizza/tests/case/15fa97a927ffd604) (new in this run)
- [studyFeedEdlReview::TC-18: Scopes waiting for approval list the EDLs proposing the scope and Accept scope answers per EDL](https://xray.tilda.pizza/tests/case/24d47e8d4cc6038a) (new in this run)
**Error:**
```
expect(locator).toContainText(expected) failed
```
The test agent picks this ticket up and opens the pull request.
```yaml
suite: ui
feature: fix-studyfeededlreview
find: true
fix: true
target_file: e2e/tests/study/studyFeedEdlReview.spec.js
failing_tests:
- 'studyFeedEdlReview::TC-16: An item settled elsewhere says so and moves on'
- 'studyFeedEdlReview::TC-18: Scopes waiting for approval list the EDLs proposing the scope and Accept
scope answers per EDL'
acceptance:
- Each test in failing_tests passes on the automation cluster.
- 'No assertion is weakened to make a test pass: the test still checks the behaviour it was written for.'
request: 'Fix existing tests that fail on master. Do not write new coverage.
Error: expect(locator).toContainText(expected) failed
Diagnosis: TC-16 (spec line 139) expects ''Already done by someone else.'', but the live region reads
''Already done. Nothing left to review.''
Commit 91eafc436 (#16882, ''demo-flow fixes for review panes'') changed review-item-pane.tsx. It now
sends `live.by ? \`Already done by ${live.by}.\` : ''Already done.''` instead of `Already done by ${live.by
|| ''someone else''}.`.
The test stubs docsvc to answer ''Accepted'' with no actor, so the product now correctly says ''Already
done.''. The failure is deterministic: both attempts failed the same way.
The rename looks intended, since the component''s unit tests expect ''Already done.'' too. The e2e spec
and the `notice` string at e2e/pages/study/studyFeedCoverageData.js:323 were not updated.
I did not open TC-18''s source. I''m assuming it fails on the same stale notice text because it is in
the same error group. Check it when you fix TC-16.
Proposed change: In e2e/tests/study/studyFeedEdlReview.spec.js:139-141, expect ''Already done.'' (a
regex like /Already done\./ also works). Update `notice` in e2e/pages/study/studyFeedCoverageData.js:323
to match. Check TC-18 for the same stale string. If a test needs the ''by <person>'' wording, have the
stub return an actor.'
```
+++ Agent notes
Filed by X-ray's triage agent. Models asked: claude-sonnet-5-5; settled by deep; 14 lookups in the code and its history.
Group `triage:b966eb80ff0e34` (one issue per root cause).
A wrong verdict can be corrected on the run page in X-ray.
+++