mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-25 18:02:04 +00:00
UBERF-8613: Rename all test cases and fix list viewlet (#7255)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
parent
abdf2572e2
commit
6af28c9655
@ -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' },
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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": "Результат",
|
||||
|
@ -21,7 +21,7 @@
|
||||
"TestCase": "測試用例",
|
||||
"TestProject": "專案",
|
||||
"TestManagementApplication": "測試管理",
|
||||
"AllTestCases": "所有測試用例",
|
||||
"AllTestSuites": "所有測試套件",
|
||||
"AllProjects": "所有項目",
|
||||
"Projects": "專案",
|
||||
"CreateProject": "創建專案",
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user