fix: localize plugin capability labels

This commit is contained in:
2026-07-14 23:23:24 +08:00
parent cd44ee3866
commit dbfc4e8d0a
2 changed files with 11 additions and 6 deletions
+5
View File
@@ -28,6 +28,11 @@ test.describe('Desktop localization', () => {
await page.locator('[data-settings-menu-button]').click();
await expect(page.locator('[data-settings-action="plugin-manager"]')).toContainText('Менеджер плагинов');
await expect(page.locator('[data-settings-language="ru"]')).toHaveAttribute('aria-checked', 'true');
await page.locator('[data-settings-action="plugin-manager"]').click();
const pluginManager = page.locator('.plugin-manager');
await expect(pluginManager).toContainText('Зарегистрировано возможностей:');
await expect(pluginManager.locator('.registry-section')).toContainText('Реестр возможностей');
await expect(pluginManager.locator('.registry-section')).toContainText('Возможность');
await page.reload();
await waitForAppReady(page);