|
30 | 30 | "isRecordTestCaseList": "config.hbuilderx-for-uniapp-test.recordTestCaseList", |
31 | 31 | "isShowCreateTestCase": "expression.isCheckTestEnv && (expression.isUniPageDir || expression.isUniPageFile)", |
32 | 32 | "isShowRunCurrentTestCaseMenu": "expression.isUniApp && expression.isJSFileForEnv && (workspaceFolderRelativePath =~ /^(src\\/pages|pages)\\/.*\\.test\\.js$/ || workspaceFolderRelativePath =~ /^\\pages\\/autotest\\/uni.*/)", |
33 | | - "isShowRunALLTestCaseMenu": "expression.isUniApp && expression.isJSFileForEnv && expression.isJSFileForJestConfig && (explorerResourceIsWorkspaceFolder || expression.isTestConfigFile)" |
| 33 | + "isShowRunALLTestCaseMenu": "expression.isUniApp && expression.isJSFileForEnv && expression.isJSFileForJestConfig && (explorerResourceIsWorkspaceFolder || expression.isTestConfigFile)", |
| 34 | + "iSOtherTestReport": "config.hbuilderx-for-uniapp-test.storageTestReportOutPutDirType == '其它'" |
34 | 35 | }, |
35 | 36 | "snippets": [ |
36 | 37 | { |
|
597 | 598 | "hbuilderx-for-uniapp-test.customTestEnvironmentDependencyDir": { |
598 | 599 | "type": "string", |
599 | 600 | "default": "", |
600 | | - "description": "uni-app自动化测试依赖:自定义依赖目录。<span style='font-size: 13px;'><br/>1. 配置方法:HBuilderX安装目录/hbuilderx-for-uniapp-test/src/environment目录下<br/>2. 拷贝package.json到你要自定义的目录,执行npm install。<br/>3. <span style='color: #4E9ADE;'>注意:请谨慎操作。路径必须要以node_modules结尾。如非专业人员,建议使用默认,不要修改此项。</span></span>" |
| 601 | + "description": "uni-app自动化测试依赖:自定义依赖目录。<span style='font-size: 12px;'><br/>1. 配置方法:HBuilderX安装目录/hbuilderx-for-uniapp-test/src/environment目录下<br/>2. 拷贝package.json到你要自定义的目录,执行npm install。<br/>3. <span style='color: #4E9ADE;'>注意:请谨慎操作。路径必须要以node_modules结尾。如非专业人员,建议使用默认,不要修改此项。</span></span>" |
| 602 | + }, |
| 603 | + "hbuilderx-for-uniapp-test.storageTestReportOutPutDirType": { |
| 604 | + "type": "string", |
| 605 | + "default": "其它", |
| 606 | + "enum": [ |
| 607 | + "项目目录", |
| 608 | + "其它" |
| 609 | + ], |
| 610 | + "description": "uni-app自动化测试插件,测试报告,存储类型。" |
601 | 611 | }, |
602 | 612 | "hbuilderx-for-uniapp-test.testReportOutPutDir": { |
603 | 613 | "type": "string", |
604 | 614 | "default": "", |
605 | | - "description": "uni-app自动化测试插件,测试报告输出路径。" |
| 615 | + "description": "uni-app自动化测试插件,测试报告输出路径。<br/><span style='font-size: 12px;color: #4E9ADE;'>当测试报告存储类型,选择 [其它] 时生效。</span>", |
| 616 | + "when": "iSOtherTestReport" |
606 | 617 | }, |
607 | 618 | "hbuilderx-for-uniapp-test.AutomaticModificationTestMatch": { |
608 | 619 | "type": "boolean", |
609 | 620 | "default": true, |
610 | | - "description": "自动修改jest.config.js文件中的testMatch。<br/><span style='font-size: 13px;color: #4E9ADE;'>默认规范:测试用例在pages页面目录下。如测试用例在其它目录,请不要勾选此项。</span>" |
| 621 | + "description": "自动修改jest.config.js文件中的testMatch。<br/><span style='font-size: 12px;color: #4E9ADE;'>默认规范:测试用例在pages页面目录下。如测试用例在其它目录,请不要勾选此项。</span>" |
611 | 622 | }, |
612 | 623 | "hbuilderx-for-uniapp-test.jestNodeType": { |
613 | 624 | "type": "boolean", |
|
0 commit comments