Fix agents e2e endpoint help assertion
This commit is contained in:
@@ -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