Render the my-decisions overview on the signed-in home page (INFD-WP-0003 T03)
Groups the reviewer's memos (needs attention, open, accepted, declined, returned, closed, not available) above the manual memo-id form. Server rendered and escaped; refused rows show only the memo id. The Chromium harness gains a home-overview check (13 checks pass). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 359683@bnt-lap001 Assistant-Session: eebdc939-7a9b-4e50-9d39-c8437e8a14ec
This commit is contained in:
parent
39e5366abc
commit
bd6c004f1a
5 changed files with 100 additions and 3 deletions
|
|
@ -34,6 +34,10 @@ try {
|
|||
const session=cookies.find(c=>c.name==='__Host-infd-session');
|
||||
assert(session?.secure && session?.httpOnly && session?.sameSite==='Lax');
|
||||
checks.push('PKCE callback and secure browser session');
|
||||
await page.getByRole('heading',{name:/^Open for you \(1\)$/}).waitFor();
|
||||
assert.equal(await page.locator('a[href="/review?memo_id='+encodeURIComponent(fixture.memo_id)+'"]').count(),1);
|
||||
assert.equal(await page.locator('img,script').count(),0);
|
||||
checks.push('Home overview lists the open memo addressed to the reviewer');
|
||||
await page.getByLabel('Memo identifier').fill(fixture.memo_id);
|
||||
await page.getByRole('button',{name:'Open review',exact:true}).click();
|
||||
await page.getByRole('heading',{name:'The request',exact:true}).waitFor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue