Fix agents e2e endpoint help assertion
This commit is contained in:
1 parent
f36520e57c
commit
0fd3b7ba85
1 file changed
+1
-1
@@ -9,7 +9,7 @@ test('agents page shows demo cards and edit drawer opens', async ({ page }) => {
|
|||||||
localized('Group MCP tools around concrete tasks', 'Старайтесь группировать MCP инструменты')
|
localized('Group MCP tools around concrete tasks', 'Старайтесь группировать MCP инструменты')
|
||||||
);
|
);
|
||||||
await expect(page.locator('.agent-card-date').first()).toContainText(
|
await expect(page.locator('.agent-card-date').first()).toContainText(
|
||||||
localized('MCP endpoint', 'Данный эндпоинт')
|
localized('Set this endpoint', 'Данный эндпоинт')
|
||||||
);
|
);
|
||||||
await page.getByRole('button', { name: localized('New agent', 'Новый агент') }).click();
|
await page.getByRole('button', { name: localized('New agent', 'Новый агент') }).click();
|
||||||
await expect(page.locator('.drawer-title')).toHaveText(localized('New agent', 'Новый агент'));
|
await expect(page.locator('.drawer-title')).toHaveText(localized('New agent', 'Новый агент'));
|
||||||
|
|||||||
Reference in new issue
Block a user