Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/plugins/testmo/api/blueprint_v200.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func makePipelinePlanV200(
tasks.TestmoOptions{
ConnectionId: connection.ID,
ProjectId: scope.Id,
Name: scope.Name,
ScopeConfig: scopeConfig,
},
)
Expand Down
1 change: 0 additions & 1 deletion backend/plugins/testmo/impl/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func (p Testmo) SubTaskMetas() []plugin.SubTaskMeta {
tasks.ExtractAutomationRunsMeta,
tasks.CollectTestsMeta,
tasks.ExtractTestsMeta,
tasks.ConvertProjectsMeta,
tasks.ConvertAutomationRunsMeta,
tasks.ConvertTestsMeta,
}
Expand Down
79 changes: 0 additions & 79 deletions backend/plugins/testmo/tasks/project_converter.go

This file was deleted.

1 change: 1 addition & 0 deletions backend/plugins/testmo/tasks/task_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
type TestmoOptions struct {
ConnectionId uint64 `json:"connectionId"`
ProjectId uint64 `json:"projectId"`
Name string `json:"name"`
ScopeConfig *models.TestmoScopeConfig

// Time filter
Expand Down
43 changes: 20 additions & 23 deletions config-ui/src/plugins/register/testmo/assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion config-ui/src/plugins/register/testmo/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const TestmoConfig: IPluginConfig = {
plugin: 'testmo',
name: 'Testmo',
icon: ({ color }) => <Icon fill={color} />,
isBeta: true,
sort: 160,
connection: {
docLink: 'https://devlake.apache.org/docs/Configuration/Testmo',
Expand Down Expand Up @@ -62,4 +63,4 @@ export const TestmoConfig: IPluginConfig = {
entities: ['TEST', 'TESTCASE', 'TESTRESULT'],
transformation: {},
},
}
};
3 changes: 3 additions & 0 deletions config-ui/src/routes/pipeline/components/task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ export const PipelineTask = ({ task }: Props) => {
case ['bamboo'].includes(config.plugin):
name = `${name}:${options.planKey}`;
break;
case ['testmo'].includes(config.plugin):
name = `${name}:${options.name}`;
break;
case ['azuredevops_go'].includes(config.plugin):
name = `ado:${options.name}`;
break;
Expand Down
Loading