Compare commits
1 Commits
d3f5790076
...
e360ec8655
| Author | SHA1 | Date | |
|---|---|---|---|
| e360ec8655 |
|
|
@ -122,7 +122,7 @@ await page.locator('#chat-message').fill('What pattern do you see?');
|
||||||
await tap('#send-chat', 500);
|
await tap('#send-chat', 500);
|
||||||
await page.getByText(/mostly Type 4/i).waitFor();
|
await page.getByText(/mostly Type 4/i).waitFor();
|
||||||
await caption('Hermes keeps credentials, tools, and session continuity server-side. Photos stay out of chat.', 1600);
|
await caption('Hermes keeps credentials, tools, and session continuity server-side. Photos stay out of chat.', 1600);
|
||||||
await page.locator('#chat-message').fill('I have rectal bleeding');
|
await page.locator('#chat-message').fill('I threw up');
|
||||||
await tap('#send-chat', 450);
|
await tap('#send-chat', 450);
|
||||||
await page.getByText(/Pause and get medical help/i).waitFor();
|
await page.getByText(/Pause and get medical help/i).waitFor();
|
||||||
if (hermesCalls !== 1) throw new Error('Urgent chat must be intercepted before Hermes');
|
if (hermesCalls !== 1) throw new Error('Urgent chat must be intercepted before Hermes');
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ test('release demo visibly explains the CI-protected browser path without overst
|
||||||
assert.match(demo, /AI may suggest visible form, broad color, and image quality — never symptoms or diagnosis/);
|
assert.match(demo, /AI may suggest visible form, broad color, and image quality — never symptoms or diagnosis/);
|
||||||
assert.match(demo, /Hermes Agent connected/);
|
assert.match(demo, /Hermes Agent connected/);
|
||||||
assert.match(demo, /Photos stay out of chat/);
|
assert.match(demo, /Photos stay out of chat/);
|
||||||
assert.match(demo, /I have rectal bleeding/);
|
assert.match(demo, /I threw up/);
|
||||||
assert.match(demo, /Urgent language is intercepted deterministically before Hermes/);
|
assert.match(demo, /Urgent language is intercepted deterministically before Hermes/);
|
||||||
assert.match(demo, /SLEEK\. SIMPLE\.<br>HERMES-POWERED\./);
|
assert.match(demo, /SLEEK\. SIMPLE\.<br>HERMES-POWERED\./);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user