fix: update test content order (#961)
This commit is contained in:
parent
451a866c73
commit
845b40f7fe
3 changed files with 9 additions and 4 deletions
|
|
@ -141,11 +141,12 @@ test.describe('Chat activity', () => {
|
|||
|
||||
test('Create message from url query', async ({ page }) => {
|
||||
await page.goto('/?query=Why is the sky blue?');
|
||||
const userMessage = await chatPage.getRecentUserMessage();
|
||||
expect(userMessage.content).toBe('Why is the sky blue?');
|
||||
|
||||
await chatPage.isGenerationComplete();
|
||||
|
||||
const userMessage = await chatPage.getRecentUserMessage();
|
||||
expect(userMessage.content).toBe('Why is the sky blue?');
|
||||
|
||||
const assistantMessage = await chatPage.getRecentAssistantMessage();
|
||||
expect(assistantMessage.content).toContain("It's just blue duh!");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue