Create run dialog

This commit is contained in:
Takeshi Kimata
2024-05-26 22:02:14 +09:00
parent 1bab870239
commit 5ae4417c23
8 changed files with 219 additions and 40 deletions

View File

@@ -46,11 +46,11 @@ async function fetchRuns(projectId: string) {
}
}
async function createRun(projectId: string) {
async function createRun(projectId: string, name: string, description: string) {
const newTestRun = {
name: 'untitled run',
name,
configurations: 0,
description: '',
description,
state: 0,
projectId: projectId,
};