mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-21 23:43:35 +00:00
🎯 test: Match the Action Save Toast Once When a Live Region Repeats It (#17091)
This commit is contained in:
parent
d738fa43b4
commit
09ae8d2f3b
1 changed files with 3 additions and 1 deletions
|
|
@ -102,7 +102,9 @@ test.describe('action auth console', () => {
|
|||
);
|
||||
await page.getByRole('button', { name: 'Create', exact: true }).click();
|
||||
expect((await saveRequest).postData() ?? '').toContain(API_KEY);
|
||||
await expect(page.getByText('Successfully created or updated Action')).toBeVisible();
|
||||
await expect(
|
||||
page.getByText('Successfully created or updated Action', { exact: true }).first(),
|
||||
).toBeVisible();
|
||||
|
||||
const logged = await Promise.all(pending);
|
||||
expect(logged.filter((line) => line.includes(API_KEY))).toEqual([]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue