first commit
This commit is contained in:
367
procedures/mock_procedures.json
Normal file
367
procedures/mock_procedures.json
Normal file
@@ -0,0 +1,367 @@
|
||||
{
|
||||
"mockProcedures": [
|
||||
{
|
||||
"id": "LONG_NAME_TEST",
|
||||
"name": "这是一个非常非常非常非常非常非常长的规程名称,用于测试UI在处理超长名称时的显示效果和换行逻辑是否正常工作",
|
||||
"version": "1.0.0-longname",
|
||||
"description": "这个规程专门用于测试长名称和长描述的显示效果。在实际工程中,规程名称可能会很长,需要确保UI能够正确处理这种情况。",
|
||||
"taskGroups": [
|
||||
{
|
||||
"id": "longTestGroup",
|
||||
"name": "超长名称测试任务组",
|
||||
"steps": [
|
||||
{
|
||||
"id": "longStep1",
|
||||
"type": "Manual",
|
||||
"content": "这是一个非常详细的步骤描述,包含了大量的文字说明。在实际测试过程中,可能需要详细说明每一个操作步骤,确保操作人员能够准确理解并执行。这种长描述可能会包含安全注意事项、操作顺序、参数设置等多方面的内容。操作要点:检查显示是否完整,文字是否能够正常换行,滚动条是否正常工作。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "longStep2",
|
||||
"type": "Manual",
|
||||
"content": "第二个步骤的描述相对简短一些。继续测试各项功能是否正常。",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": []
|
||||
},
|
||||
{
|
||||
"id": "NO_VERSION",
|
||||
"name": "无版本号规程",
|
||||
"version": "",
|
||||
"description": "这个规程没有版本号,用于测试系统对缺失版本信息的处理能力",
|
||||
"taskGroups": [
|
||||
{
|
||||
"id": "noVersionGroup",
|
||||
"name": "测试任务组",
|
||||
"steps": [
|
||||
{
|
||||
"id": "step1",
|
||||
"type": "Manual",
|
||||
"content": "执行基本测试步骤。检查系统是否能正常处理无版本规程。",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": []
|
||||
},
|
||||
{
|
||||
"id": "SPECIAL_CHAR_<>{}[]",
|
||||
"name": "特殊字符测试 <HTML> {JSON} [Array]",
|
||||
"version": "2.0",
|
||||
"description": "包含特殊字符: < > { } [ ] & \" ' 的规程,测试HTML转义和显示",
|
||||
"taskGroups": [
|
||||
{
|
||||
"id": "specialCharGroup",
|
||||
"name": "特殊字符 <测试> 组",
|
||||
"steps": [
|
||||
{
|
||||
"id": "specialStep1",
|
||||
"type": "Manual",
|
||||
"content": "测试内容: 检查 <标签> 和 {对象} 以及 [数组] 的显示。确认特殊字符 & \" ' 能正确显示。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "specialStep2",
|
||||
"type": "Manual",
|
||||
"content": "XML标签测试: <root><child>内容</child></root>。检查是否被误解析为HTML。",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": []
|
||||
},
|
||||
{
|
||||
"id": "EMPTY_DESC",
|
||||
"name": "空描述测试",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"taskGroups": [
|
||||
{
|
||||
"id": "emptyGroup",
|
||||
"name": "任务组",
|
||||
"steps": [
|
||||
{
|
||||
"id": "emptyStep1",
|
||||
"type": "Manual",
|
||||
"content": "",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "emptyStep2",
|
||||
"type": "Manual",
|
||||
"content": "正常步骤内容",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": []
|
||||
},
|
||||
{
|
||||
"id": "LONG_DESC",
|
||||
"name": "超长描述测试规程",
|
||||
"version": "3.0.1",
|
||||
"description": "这是一个包含大量步骤和详细描述的规程,用于测试系统在处理复杂规程时的性能和稳定性。\n规程包含多个任务组,每个任务组包含多个步骤。\n这种规程通常用于复杂的校准或验证过程。",
|
||||
"taskGroups": [
|
||||
{
|
||||
"id": "preparation",
|
||||
"name": "准备阶段",
|
||||
"steps": [
|
||||
{
|
||||
"id": "prep_step_1",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 1: 详细说明操作内容和注意事项。这是第 1 个步骤,需要仔细执行。",
|
||||
"status": "Confirmed"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_2",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 2: 详细说明操作内容和注意事项。这是第 2 个步骤,需要仔细执行。",
|
||||
"status": "Confirmed"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_3",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 3: 详细说明操作内容和注意事项。这是第 3 个步骤,需要仔细执行。",
|
||||
"status": "Confirmed"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_4",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 4: 详细说明操作内容和注意事项。这是第 4 个步骤,需要仔细执行。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_5",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 5: 详细说明操作内容和注意事项。这是第 5 个步骤,需要仔细执行。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_6",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 6: 详细说明操作内容和注意事项。这是第 6 个步骤,需要仔细执行。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_7",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 7: 详细说明操作内容和注意事项。这是第 7 个步骤,需要仔细执行。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_8",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 8: 详细说明操作内容和注意事项。这是第 8 个步骤,需要仔细执行。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_9",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 9: 详细说明操作内容和注意事项。这是第 9 个步骤,需要仔细执行。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "prep_step_10",
|
||||
"type": "Manual",
|
||||
"content": "准备步骤 10: 详细说明操作内容和注意事项。这是第 10 个步骤,需要仔细执行。",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "measurement",
|
||||
"name": "测量阶段",
|
||||
"steps": [
|
||||
{
|
||||
"id": "meas_step_1",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 1: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "meas_step_2",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 2: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "meas_step_3",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 3: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "meas_step_4",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 4: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "meas_step_5",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 5: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "meas_step_6",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 6: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "meas_step_7",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 7: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "meas_step_8",
|
||||
"type": "Automatic",
|
||||
"content": "测量步骤 8: 进行精确的测量和数据采集。",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "verification",
|
||||
"name": "验证阶段",
|
||||
"steps": [
|
||||
{
|
||||
"id": "verify_step_1",
|
||||
"type": "Manual",
|
||||
"content": "验证步骤 1: 确认测量结果的准确性和可靠性。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "verify_step_2",
|
||||
"type": "Manual",
|
||||
"content": "验证步骤 2: 确认测量结果的准确性和可靠性。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "verify_step_3",
|
||||
"type": "Manual",
|
||||
"content": "验证步骤 3: 确认测量结果的准确性和可靠性。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "verify_step_4",
|
||||
"type": "Manual",
|
||||
"content": "验证步骤 4: 确认测量结果的准确性和可靠性。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "verify_step_5",
|
||||
"type": "Manual",
|
||||
"content": "验证步骤 5: 确认测量结果的准确性和可靠性。",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": [],
|
||||
"totalSteps": 23,
|
||||
"completedSteps": 3
|
||||
},
|
||||
{
|
||||
"id": "TEST-2024-12-31_V1.0",
|
||||
"name": "日期戳测试规程 2024-12-31",
|
||||
"version": "V1.0",
|
||||
"description": "创建日期: 2024-12-31\n修订日期: 2024-12-31\n\n这个规程使用了日期戳命名格式,用于测试系统对不同命名约定的支持。",
|
||||
"taskGroups": [
|
||||
{
|
||||
"id": "dateTestGroup",
|
||||
"name": "日期戳测试组",
|
||||
"steps": [
|
||||
{
|
||||
"id": "dateStep1",
|
||||
"type": "Manual",
|
||||
"content": "检查日期格式显示: 2024-12-31。验证日期解析功能。",
|
||||
"status": "Pending"
|
||||
},
|
||||
{
|
||||
"id": "dateStep2",
|
||||
"type": "Automatic",
|
||||
"content": "测试时间戳: 2024-12-31 23:59:59。验证时间格式处理。",
|
||||
"status": "Pending",
|
||||
"tableRefs": [
|
||||
"dateInfoTable"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": [
|
||||
{
|
||||
"id": "dateInfoTable",
|
||||
"name": "日期信息表",
|
||||
"columns": [
|
||||
{
|
||||
"id": "createDate",
|
||||
"name": "创建日期",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"id": "modifyDate",
|
||||
"name": "修改日期",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "MULTILINE",
|
||||
"name": "多行文本测试",
|
||||
"version": "1.0",
|
||||
"description": "第一行描述\n第二行描述\n第三行描述\n\n这个规程用于测试多行文本的显示效果。\n包括:\n- 换行处理\n- 段落间距\n- 列表显示",
|
||||
"taskGroups": [
|
||||
{
|
||||
"id": "multilineGroup",
|
||||
"name": "多行测试组",
|
||||
"steps": [
|
||||
{
|
||||
"id": "multilineStep1",
|
||||
"type": "Manual",
|
||||
"content": "步骤说明:\n1. 第一步操作\n2. 第二步操作\n3. 第三步操作\n\n注意事项:\n- 注意A\n- 注意B\n- 注意C\n\n按照上述步骤执行,确保每一步都正确完成,记录执行结果。",
|
||||
"status": "Pending",
|
||||
"tableRefs": [
|
||||
"multilineTable"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "multilineStep2",
|
||||
"type": "Manual",
|
||||
"content": "这是一个包含\n多行\n文本\n的步骤\n\n测试多行显示效果",
|
||||
"status": "Pending"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tables": [
|
||||
{
|
||||
"id": "multilineTable",
|
||||
"name": "多行数据表",
|
||||
"columns": [
|
||||
{
|
||||
"id": "description",
|
||||
"name": "描述",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"id": "notes",
|
||||
"name": "备注\n(多行)",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user