update test

This commit is contained in:
Simon Knott 2025-02-14 14:41:38 +01:00
parent 6ac45df216
commit 7aed043ea4
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -53,8 +53,8 @@ test('openai', async ({ runUITest, server }) => {
await page.getByRole('button', { name: 'Fix with AI' }).click();
await expect(page.getByRole('tabpanel', { name: 'Errors' })).toMatchAriaSnapshot(`
- tabpanel "Errors":
- paragraph: Help me with the error above. Take the page snapshot into account.
- paragraph: This is a mock response
- text: Help me with the error above. Take the page snapshot into account.
- text: This is a mock response
`);
});
@ -93,7 +93,7 @@ test('anthropic', async ({ runUITest, server }) => {
await page.getByRole('button', { name: 'Fix with AI' }).click();
await expect(page.getByRole('tabpanel', { name: 'Errors' })).toMatchAriaSnapshot(`
- tabpanel "Errors":
- paragraph: Help me with the error above. Take the page snapshot into account.
- paragraph: This is a mock response
- text: Help me with the error above. Take the page snapshot into account.
- text: This is a mock response
`);
});