fix(i18n): localize pipeline processor type

This commit is contained in:
RockChinQ
2026-08-27 15:57:31 +08:00
parent 21ffaf9a14
commit 5e144ac7c8
9 changed files with 26 additions and 10 deletions
+14
View File
@@ -74,6 +74,20 @@ async function forceFormSubmit(page: Page, formSelector: string) {
}
test.describe('frontend CRUD smoke flows', () => {
test('localizes the pipeline processor type in Simplified Chinese', async ({
page,
}) => {
await installLangBotApiMocks(page, {
authenticated: true,
language: 'zh-Hans',
});
await page.goto('/home/agents?id=new');
await expect(
page.locator('[data-processor-kind="pipeline"]'),
).toContainText('流水线');
});
test('viewer keeps ordinary bot and pipeline monitoring access', async ({
page,
}) => {