diff --git a/models/test-management/src/index.ts b/models/test-management/src/index.ts index 43e288745a1..811a4a3c526 100644 --- a/models/test-management/src/index.ts +++ b/models/test-management/src/index.ts @@ -93,7 +93,7 @@ function defineApplication (builder: Builder): void { parentKey: 'parent', noParentId: testManagement.ids.NoParent, getFolderLink: testManagement.function.GetTestSuiteLink, - allObjectsLabel: testManagement.string.AllTestCases, + allObjectsLabel: testManagement.string.AllTestSuites, allObjectsIcon: testManagement.icon.TestSuites }, syncWithLocationQuery: true @@ -335,20 +335,6 @@ function defineTestCase (builder: Builder): void { ignoreKeys: ['createdBy', 'modifiedBy', 'createdOn', 'modifiedOn', 'name'] }) - builder.createDoc( - view.class.Viewlet, - core.space.Model, - { - attachTo: testManagement.class.TestCase, - descriptor: view.viewlet.Table, - config: ['', { key: 'attachedTo', label: testManagement.string.TestSuite }, 'status', 'assignee'], - configOptions: { - strict: true - } - }, - testManagement.viewlet.TableTestCase - ) - const viewOptions: ViewOptionsModel = { groupBy: ['attachedTo'], orderBy: [ @@ -385,7 +371,6 @@ function defineTestCase (builder: Builder): void { props: { kind: 'list', size: 'small', shouldShowName: false }, displayProps: { key: 'status', fixed: 'left' } }, - { key: '', displayProps: { fixed: 'left', key: 'lead' } }, { key: '', displayProps: { grow: true } }, { key: 'modifiedOn', displayProps: { key: 'modified', fixed: 'right', dividerBefore: true } }, { @@ -398,6 +383,20 @@ function defineTestCase (builder: Builder): void { }, testManagement.viewlet.ListTestCase ) + + builder.createDoc( + view.class.Viewlet, + core.space.Model, + { + attachTo: testManagement.class.TestCase, + descriptor: view.viewlet.Table, + config: ['', { key: 'attachedTo', label: testManagement.string.TestSuite }, 'status', 'assignee'], + configOptions: { + strict: true + } + }, + testManagement.viewlet.TableTestCase + ) } function defineTestRun (builder: Builder): void { @@ -493,6 +492,8 @@ function defineTestResult (builder: Builder): void { key: 'status', props: { kind: 'list', size: 'small', shouldShowName: false } }, + { key: '', displayProps: { grow: true } }, + { key: 'modifiedOn', displayProps: { key: 'modified', fixed: 'right', dividerBefore: true } }, { key: 'assignee', props: { kind: 'list', shouldShowName: false, avatarSize: 'x-small' }, diff --git a/plugins/test-management-assets/lang/cs.json b/plugins/test-management-assets/lang/cs.json index 9f075c90e78..154069f81f8 100644 --- a/plugins/test-management-assets/lang/cs.json +++ b/plugins/test-management-assets/lang/cs.json @@ -21,7 +21,7 @@ "TestCase": "Testovací případ", "TestProject": "Projekt", "TestManagementApplication": "Správa testů", - "AllTestCases": "Všechny testovací případy", + "AllTestSuites": "Všechny testovací sady", "AllProjects": "Všechny projekty", "Projects": "Projekty", "CreateProject": "Vytvořit projekt", diff --git a/plugins/test-management-assets/lang/en.json b/plugins/test-management-assets/lang/en.json index 943bbaa95a3..d3187937989 100644 --- a/plugins/test-management-assets/lang/en.json +++ b/plugins/test-management-assets/lang/en.json @@ -21,7 +21,7 @@ "TestCase": "Test case", "TestProject": "Project", "TestManagementApplication": "Test Management", - "AllTestCases": "All test cases", + "AllTestSuites": "All test suites", "AllProjects": "All projects", "Projects": "Projects", "CreateProject": "Create project", diff --git a/plugins/test-management-assets/lang/es.json b/plugins/test-management-assets/lang/es.json index f0fdb2bc09d..8a0a249378f 100644 --- a/plugins/test-management-assets/lang/es.json +++ b/plugins/test-management-assets/lang/es.json @@ -21,7 +21,7 @@ "TestCase": "Caso de prueba", "TestProject": "Proyecto", "TestManagementApplication": "Gestión de Pruebas", - "AllTestCases": "Todos los casos de prueba", + "AllTestSuites": "Todos los conjuntos de pruebas", "AllProjects": "Todos los proyectos", "Projects": "Proyectos", "CreateProject": "Crear proyecto", diff --git a/plugins/test-management-assets/lang/fr.json b/plugins/test-management-assets/lang/fr.json index 3fd4f7c877a..8ab2c8135f3 100644 --- a/plugins/test-management-assets/lang/fr.json +++ b/plugins/test-management-assets/lang/fr.json @@ -21,7 +21,7 @@ "TestCase": "Cas de test", "TestProject": "Projet", "TestManagementApplication": "Gestion des tests", - "AllTestCases": "Tous les cas de tests", + "AllTestSuites": "Tous les ensembles de tests", "AllProjects": "Tous les projets", "Projects": "Projets", "CreateProject": "Créer un projet", diff --git a/plugins/test-management-assets/lang/it.json b/plugins/test-management-assets/lang/it.json index a1a56b4ab76..195bfb66f96 100644 --- a/plugins/test-management-assets/lang/it.json +++ b/plugins/test-management-assets/lang/it.json @@ -21,7 +21,7 @@ "TestCase": "Caso di test", "TestProject": "Progetto", "TestManagementApplication": "Gestione Test", - "AllTestCases": "Tutti i casi di test", + "AllTestSuites": "Tutti i set di test", "AllProjects": "Tutti i progetti", "Projects": "Progetti", "CreateProject": "Crea progetto", diff --git a/plugins/test-management-assets/lang/pt.json b/plugins/test-management-assets/lang/pt.json index c6a71d734c7..a470584a46b 100644 --- a/plugins/test-management-assets/lang/pt.json +++ b/plugins/test-management-assets/lang/pt.json @@ -21,7 +21,7 @@ "TestCase": "Caso de teste", "TestProject": "Projeto", "TestManagementApplication": "Gestão de Testes", - "AllTestCases": "Todos os casos de teste", + "AllTestSuites": "Todos os conjuntos de testes", "AllProjects": "Todos os projetos", "Projects": "Projetos", "CreateProject": "Criar projeto", diff --git a/plugins/test-management-assets/lang/ru.json b/plugins/test-management-assets/lang/ru.json index e18849137c9..aace7962d27 100644 --- a/plugins/test-management-assets/lang/ru.json +++ b/plugins/test-management-assets/lang/ru.json @@ -21,7 +21,7 @@ "TestCase": "Тест-кейс", "TestProject": "Проект", "TestManagementApplication": "Управление тестированием", - "AllTestCases": "Все тест-кейсы", + "AllTestSuites": "Все категории тестов", "AllProjects": "Все проекты", "Projects": "Проекты", "CreateProject": "Создать проект", @@ -36,14 +36,14 @@ "RoleLabel": "Роль", "ProjectMembers": "Участники проекта", "TestSuites": "Тестовые наборы", - "CreateTestSuite": "Создать тестовый набор", + "CreateTestSuite": "Создать новую категорию тестов", "NamePlaceholder": "Имя тестового набора", "DescriptionPlaceholder": "Описание (опционально)", "TestRuns": "Выполнение тестов", "TestRun": "Тест план", "TestNamePlaceholder": "Имя тест кейса", "ChooseIcon": "Выберите иконку", - "NoTestSuite": "Тестовый набор не задан", + "NoTestSuite": "Категория тестов не задана", "StatusDraft": "В прогрессе", "StatusReview": "Готов для ревью", "StatusReviewComments": "Требует исправлений", @@ -58,7 +58,7 @@ "NoTestCases": "Тест-кейсы отсутствует", "CreateTestRun": "Создать тест план", "TestRunNamePlaceholder": "Название тест плана", - "SelectTestSuites": "Выбрать наборы тестов", + "SelectTestSuites": "Выбрать категории тестов", "SelectTestCases": "Выбрать тест-кейсы", "TestLibrary": "Библиотека тестов", "TestResult": "Результат", diff --git a/plugins/test-management-assets/lang/zh.json b/plugins/test-management-assets/lang/zh.json index 3854292f464..5eb4833e290 100644 --- a/plugins/test-management-assets/lang/zh.json +++ b/plugins/test-management-assets/lang/zh.json @@ -21,7 +21,7 @@ "TestCase": "測試用例", "TestProject": "專案", "TestManagementApplication": "測試管理", - "AllTestCases": "所有測試用例", + "AllTestSuites": "所有測試套件", "AllProjects": "所有項目", "Projects": "專案", "CreateProject": "創建專案", diff --git a/plugins/test-management/src/plugin.ts b/plugins/test-management/src/plugin.ts index fc13a889100..1ebfde133dd 100644 --- a/plugins/test-management/src/plugin.ts +++ b/plugins/test-management/src/plugin.ts @@ -128,7 +128,7 @@ export const testManagementPlugin = plugin(testManagementId, { TestCase: '' as IntlString, TestProject: '' as IntlString, TestManagementApplication: '' as IntlString, - AllTestCases: '' as IntlString, + AllTestSuites: '' as IntlString, AllProjects: '' as IntlString, Projects: '' as IntlString, CreateProject: '' as IntlString,