add seed data
This commit is contained in:
@@ -89,7 +89,7 @@ module.exports = {
|
||||
detail: "Test Plat's Manual test",
|
||||
userId: 1,
|
||||
isPublic: true,
|
||||
createdAt: new Date(),
|
||||
createdAt: new Date(2024, 5, 4),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
@@ -97,7 +97,15 @@ module.exports = {
|
||||
detail: 'リリース前総合評価',
|
||||
userId: 1,
|
||||
isPublic: true,
|
||||
createdAt: new Date(),
|
||||
createdAt: new Date(2024, 6, 10),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
name: 'MS200',
|
||||
detail: '',
|
||||
userId: 1,
|
||||
isPublic: true,
|
||||
createdAt: new Date(2024, 6, 24),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
]);
|
||||
@@ -139,6 +147,20 @@ module.exports = {
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
name: 'Chart',
|
||||
detail: '',
|
||||
projectId: 1,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
name: 'Simulate',
|
||||
detail: '',
|
||||
projectId: 1,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
]);
|
||||
|
||||
// Add runs table records
|
||||
@@ -342,6 +364,104 @@ module.exports = {
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
title: 'Chart display',
|
||||
state: 1,
|
||||
priority: 1,
|
||||
type: 4,
|
||||
automationStatus: 1,
|
||||
description: '',
|
||||
template: 0,
|
||||
preConditions: '',
|
||||
expectedResults: '',
|
||||
folderId: 6,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
title: 'Chart update',
|
||||
state: 1,
|
||||
priority: 1,
|
||||
type: 4,
|
||||
automationStatus: 1,
|
||||
description: '',
|
||||
template: 0,
|
||||
preConditions: '',
|
||||
expectedResults: '',
|
||||
folderId: 6,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
title: 'Chart palette color change',
|
||||
state: 1,
|
||||
priority: 1,
|
||||
type: 4,
|
||||
automationStatus: 1,
|
||||
description: '',
|
||||
template: 0,
|
||||
preConditions: '',
|
||||
expectedResults: '',
|
||||
folderId: 6,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
title: 'Simlation exec',
|
||||
state: 1,
|
||||
priority: 1,
|
||||
type: 4,
|
||||
automationStatus: 1,
|
||||
description: '',
|
||||
template: 0,
|
||||
preConditions: '',
|
||||
expectedResults: '',
|
||||
folderId: 7,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
title: 'Simlation update',
|
||||
state: 1,
|
||||
priority: 1,
|
||||
type: 4,
|
||||
automationStatus: 1,
|
||||
description: '',
|
||||
template: 0,
|
||||
preConditions: '',
|
||||
expectedResults: '',
|
||||
folderId: 7,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
title: 'Simlation result palette color',
|
||||
state: 1,
|
||||
priority: 1,
|
||||
type: 4,
|
||||
automationStatus: 1,
|
||||
description: '',
|
||||
template: 0,
|
||||
preConditions: '',
|
||||
expectedResults: '',
|
||||
folderId: 7,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
title: 'Simlation button disable condition',
|
||||
state: 1,
|
||||
priority: 1,
|
||||
type: 4,
|
||||
automationStatus: 1,
|
||||
description: '',
|
||||
template: 0,
|
||||
preConditions: '',
|
||||
expectedResults: '',
|
||||
folderId: 7,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
]);
|
||||
|
||||
// Add steps table records
|
||||
@@ -490,15 +610,64 @@ module.exports = {
|
||||
runId: 1,
|
||||
caseId: 1,
|
||||
status: 1,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
createdAt: new Date(2024, 5, 15),
|
||||
updatedAt: new Date(2024, 5, 15),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 2,
|
||||
status: 1,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
createdAt: new Date(2024, 5, 15),
|
||||
updatedAt: new Date(2024, 5, 15),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 13,
|
||||
status: 1,
|
||||
createdAt: new Date(2024, 5, 18),
|
||||
updatedAt: new Date(2024, 5, 18),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 14,
|
||||
status: 1,
|
||||
createdAt: new Date(2024, 5, 18),
|
||||
updatedAt: new Date(2024, 5, 18),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 15,
|
||||
status: 1,
|
||||
createdAt: new Date(2024, 5, 18),
|
||||
updatedAt: new Date(2024, 5, 18),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 16,
|
||||
status: 0,
|
||||
createdAt: new Date(2024, 5, 15),
|
||||
updatedAt: new Date(2024, 5, 15),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 17,
|
||||
status: 0,
|
||||
createdAt: new Date(2024, 5, 16),
|
||||
updatedAt: new Date(2024, 5, 16),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 18,
|
||||
status: 2,
|
||||
createdAt: new Date(2024, 5, 16),
|
||||
updatedAt: new Date(2024, 5, 16),
|
||||
},
|
||||
{
|
||||
runId: 1,
|
||||
caseId: 19,
|
||||
status: 3,
|
||||
createdAt: new Date(2024, 5, 17),
|
||||
updatedAt: new Date(2024, 5, 17),
|
||||
},
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user