397 lines
11 KiB
JSON
397 lines
11 KiB
JSON
{
|
|
"config": {
|
|
"argv": [
|
|
"D:\\Nodejs\\node.exe",
|
|
"D:\\DAIMA\\vdi-cloud\\console\\node_modules\\@playwright\\test\\cli.js",
|
|
"test",
|
|
"e2e/snapshots.spec.ts",
|
|
"--reporter=list,json"
|
|
],
|
|
"configFile": "D:\\DAIMA\\vdi-cloud\\console\\playwright.config.ts",
|
|
"rootDir": "D:/DAIMA/vdi-cloud/console/e2e",
|
|
"failOnFlakyTests": false,
|
|
"forbidOnly": false,
|
|
"fullyParallel": false,
|
|
"globalSetup": null,
|
|
"globalTeardown": null,
|
|
"globalTimeout": 0,
|
|
"grep": {},
|
|
"grepInvert": null,
|
|
"maxFailures": 0,
|
|
"metadata": {
|
|
"actualWorkers": 1
|
|
},
|
|
"preserveOutput": "always",
|
|
"projects": [
|
|
{
|
|
"outputDir": "D:/DAIMA/vdi-cloud/console/test-results",
|
|
"repeatEach": 1,
|
|
"retries": 0,
|
|
"metadata": {
|
|
"actualWorkers": 1
|
|
},
|
|
"id": "chromium",
|
|
"name": "chromium",
|
|
"testDir": "D:/DAIMA/vdi-cloud/console/e2e",
|
|
"testIgnore": [
|
|
"**/live.spec.ts"
|
|
],
|
|
"testMatch": [
|
|
"**/*.@(spec|test).?(c|m)[jt]s?(x)"
|
|
],
|
|
"timeout": 30000
|
|
}
|
|
],
|
|
"filteredProjects": [
|
|
{
|
|
"grep": {},
|
|
"grepInvert": null,
|
|
"outputDir": "D:\\DAIMA\\vdi-cloud\\console\\test-results",
|
|
"repeatEach": 1,
|
|
"retries": 0,
|
|
"metadata": {
|
|
"actualWorkers": 1
|
|
},
|
|
"name": "chromium",
|
|
"testDir": "D:\\DAIMA\\vdi-cloud\\console\\e2e",
|
|
"snapshotDir": "D:\\DAIMA\\vdi-cloud\\console\\e2e",
|
|
"testIgnore": "**/live.spec.ts",
|
|
"testMatch": "**/*.@(spec|test).?(c|m)[jt]s?(x)",
|
|
"timeout": 30000,
|
|
"use": {
|
|
"baseURL": "http://127.0.0.1:5183",
|
|
"trace": "retain-on-failure",
|
|
"screenshot": "only-on-failure",
|
|
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/158.0.8127.18 Safari/537.36",
|
|
"viewport": {
|
|
"width": 1280,
|
|
"height": 720
|
|
},
|
|
"screen": {
|
|
"width": 1920,
|
|
"height": 1080
|
|
},
|
|
"deviceScaleFactor": 1,
|
|
"isMobile": false,
|
|
"hasTouch": false,
|
|
"defaultBrowserType": "chromium",
|
|
"channel": "msedge"
|
|
},
|
|
"dependencies": [],
|
|
"ignoreSnapshots": false,
|
|
"__projectId": "chromium"
|
|
}
|
|
],
|
|
"quiet": false,
|
|
"reporter": [
|
|
[
|
|
"list"
|
|
],
|
|
[
|
|
"json"
|
|
]
|
|
],
|
|
"reportSlowTests": {
|
|
"max": 5,
|
|
"threshold": 300000
|
|
},
|
|
"shard": null,
|
|
"tags": [],
|
|
"updateSnapshots": "default",
|
|
"updateSourceMethod": "patch",
|
|
"version": "1.65.0",
|
|
"workers": 1,
|
|
"webServer": null
|
|
},
|
|
"suites": [
|
|
{
|
|
"title": "snapshots.spec.ts",
|
|
"file": "snapshots.spec.ts",
|
|
"column": 0,
|
|
"line": 0,
|
|
"specs": [
|
|
{
|
|
"title": "创建快照先预检,参数改变失效,取消不写,确认提交",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 4773,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:08.204Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-a03887b92dbaa2e36b31",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 36,
|
|
"column": 1
|
|
},
|
|
{
|
|
"title": "还原需输入当前 VMID,保留磁盘范围提示,支持浅色窄屏",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 3674,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:13.668Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-3354c2348ac9287db9af",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 55,
|
|
"column": 1
|
|
},
|
|
{
|
|
"title": "删除叶快照先确认,内存还原和含子快照的删除禁用",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 3213,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:17.378Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-8a9e31987ab4df26a860",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 75,
|
|
"column": 1
|
|
},
|
|
{
|
|
"title": "运行中或权限不足阻止操作",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 2295,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:20.610Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-2413751efdb9e97a4851",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 84,
|
|
"column": 1
|
|
},
|
|
{
|
|
"title": "只读角色仅可查看列表",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 2104,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:22.925Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-b913b949af08f8e0d78e",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 90,
|
|
"column": 1
|
|
},
|
|
{
|
|
"title": "PVE 权限不足与读取失败明确显示",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 2303,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:25.046Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-6397b2bbe7c944781389",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 95,
|
|
"column": 1
|
|
},
|
|
{
|
|
"title": "网络失败重试保留相同幂等标识",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 3721,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:27.367Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-cb01d8a027460462177e",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 102,
|
|
"column": 1
|
|
},
|
|
{
|
|
"title": "任务页只读核对快照结果",
|
|
"ok": true,
|
|
"tags": [],
|
|
"tests": [
|
|
{
|
|
"timeout": 30000,
|
|
"annotations": [],
|
|
"expectedStatus": "passed",
|
|
"projectId": "chromium",
|
|
"projectName": "chromium",
|
|
"results": [
|
|
{
|
|
"workerIndex": 0,
|
|
"parallelIndex": 0,
|
|
"status": "passed",
|
|
"duration": 1828,
|
|
"errors": [],
|
|
"stdout": [],
|
|
"stderr": [],
|
|
"retry": 0,
|
|
"startTime": "2026-11-10T08:02:31.108Z",
|
|
"annotations": [],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"status": "expected"
|
|
}
|
|
],
|
|
"id": "95206587925d7902ff45-8f76ce7fa3598e801550",
|
|
"file": "snapshots.spec.ts",
|
|
"line": 111,
|
|
"column": 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"errors": [],
|
|
"stats": {
|
|
"startTime": "2026-11-10T08:02:06.881Z",
|
|
"duration": 26849.727,
|
|
"expected": 8,
|
|
"skipped": 0,
|
|
"unexpected": 0,
|
|
"flaky": 0
|
|
}
|
|
} |