feat: import test cases UI using Excel (#339)

This commit is contained in:
kimatata
2025-11-22 10:32:18 +09:00
committed by GitHub
parent 7db464e28b
commit b986f39c42
13 changed files with 263 additions and 76 deletions

View File

@@ -68,7 +68,7 @@ export default function (sequelize) {
let errorMessage = null;
const casesToCreate = [];
const requiredFields = ['title', 'preConditions', 'expectedResults'];
const requiredFields = ['title', 'priority', 'type', 'template'];
for (const [index, row] of jsonData.entries()) {
const rowNumber = index + 2;
for (const field of requiredFields) {