lantern-harness 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +90 -0
- package/README.md +6 -6
- package/builtin/session/lh-fs.mjs +32 -14
- package/dist/500.html +258 -22
- package/dist/_astro/Base.Bgxs1QQl.css +1 -0
- package/dist/_astro/Base.astro_astro_type_script_index_0_lang.CvbRi7Tl.js +1 -0
- package/dist/_astro/CaseExecBoard.Dttqp0wg.js +1 -0
- package/dist/_astro/CaseGenerateApp.DqW_nWMc.js +9 -0
- package/dist/_astro/CasesLibrary.8aMUUGp_.js +1 -0
- package/dist/_astro/ChatApp.BLxf0h1d.js +219 -0
- package/dist/_astro/ColumnResize.BEkEW7qw.js +1 -0
- package/dist/_astro/{ConfirmDialog.CBVsDJ8f.js → ConfirmDialog.BZzZWDci.js} +1 -1
- package/dist/_astro/{DashboardBoard.DCtfrrJz.js → DashboardBoard.CkSbhEDI.js} +3 -3
- package/dist/_astro/DatePicker.Bkl71M49.js +1 -0
- package/dist/_astro/DocsFileBrowser.MKVCfZrE.js +1 -0
- package/dist/_astro/DocsPager.DJY4foYL.js +1 -0
- package/dist/_astro/{DrawerField.CWMLhcPX.js → DrawerField.CHRg77LG.js} +1 -1
- package/dist/_astro/{ExcelFieldTags.B_XMwNNx.js → ExcelFieldTags.DXMeaDa5.js} +4 -4
- package/dist/_astro/KnowledgeLibrary.B-p1aoQN.js +1 -0
- package/dist/_astro/NamePromptDialog.Wa9O530a.js +1 -0
- package/dist/_astro/NavLibraries.C6LImMO_.js +1 -0
- package/dist/_astro/OverflowHint.D6v4Uj2N.js +1 -0
- package/dist/_astro/PluginsPage.-97n3x2U.js +39 -0
- package/dist/_astro/PluginsPage.DkmRPfbU.js +1 -0
- package/dist/_astro/PmBugsBoard.CMT4-eoB.js +1 -0
- package/dist/_astro/PmIterationsBoard.BQM_dzdZ.js +1 -0
- package/dist/_astro/PmProjectDetail.CzU80pat.js +1 -0
- package/dist/_astro/PmProjectsBoard.Cxsa7SYQ.js +1 -0
- package/dist/_astro/PmRequirementsBoard.4_JMDDN0.js +1 -0
- package/dist/_astro/PmRequirementsBoard.B8HL07cw.js +1 -0
- package/dist/_astro/PmShared.Ca2Ao7v_.js +1 -0
- package/dist/_astro/PromptsLibrary.C9BcIxKK.js +1 -0
- package/dist/_astro/ReportsPage.Fh5DRKLT.js +1 -0
- package/dist/_astro/RequirementsLibrary.CBkuWE8X.js +1 -0
- package/dist/_astro/SearchableSelect.DnjoSslK.js +1 -0
- package/dist/_astro/SelectDropdown.CuuDHa8s.js +1 -0
- package/dist/_astro/SettingsDialog.CVB5Gtk4.js +1 -0
- package/dist/_astro/SlideOverDrawer.B7B5Wu8I.js +1 -0
- package/dist/_astro/{SpaceSwitcher.CI3KDBOA.js → SpaceSwitcher.BVQLt_tL.js} +2 -2
- package/dist/_astro/TagSelect.CuN5RdF4.js +1 -0
- package/dist/_astro/TasksBoard.Bu-fpIZ7.js +1 -0
- package/dist/_astro/TemplatesLibrary.DSylQGlN.js +1 -0
- package/dist/_astro/TestStatsBoard.CPyKW4wc.js +1 -0
- package/dist/_astro/Toast.R8_2OWRX.js +1 -0
- package/dist/_astro/TodosBoard.8kvRTEW-.js +1 -0
- package/dist/_astro/UiAutoBoard.DFTiDqCp.js +9 -0
- package/dist/_astro/active-element-history.CED-m1Zp.js +1 -0
- package/dist/_astro/app-config.BUPzGl9f.js +1 -0
- package/dist/_astro/{client.Be_SakrB.js → client.BHNTqLjv.js} +3 -3
- package/dist/_astro/dialog.BAPTk9a_.js +1 -0
- package/dist/_astro/hydrate-cache.BXX604Bw.js +1 -0
- package/dist/_astro/{i18n.B52gLzii.js → i18n.BGPnP1Bg.js} +1 -1
- package/dist/_astro/index.astro_astro_type_script_index_0_lang.LPL9mPQY.js +1 -0
- package/dist/_astro/jsx-runtime.DUg_B_vD.js +1 -0
- package/dist/_astro/{lib.DJNDi_Ht.js → lib.CgXLzMMd.js} +15 -15
- package/dist/_astro/listbox.C96OCanh.js +1 -0
- package/dist/_astro/markdown-client.DRva7DS9.js +58 -0
- package/dist/_astro/menu.IPWdRoNM.js +1 -0
- package/dist/_astro/{open-docs-in-session.Xg3OSOfc.js → open-docs-in-session.CyFNgh1I.js} +1 -1
- package/dist/_astro/{plugins.BDZqJNOy.js → plugins.C2BMfzv1.js} +1 -1
- package/dist/_astro/{pm.Bl3hz9fF.js → pm.CagBA-ht.js} +2 -2
- package/dist/_astro/{portal.Cm9XlIPf.js → portal.C0hAhXDF.js} +2 -2
- package/dist/_astro/prompts-meta.Bua-j14I.js +2 -0
- package/dist/_astro/react-dom.DLW9pGCF.js +1 -0
- package/dist/_astro/{react-dom.CqAxpHMt.js → react.Blvh0GOs.js} +1 -1
- package/dist/_astro/report-prompt.CAfZ6RIo.js +1 -0
- package/dist/_astro/{settings.C6NWuiFO.js → settings.Ceefeil5.js} +2 -2
- package/dist/_astro/{spaces-client.k_ciWMai.js → spaces-client.BocUabwy.js} +1 -1
- package/dist/_astro/ui-auto-prompt.CX8fju7r.js +3 -0
- package/dist/_astro/ui-auto.BmC9JJ_X.js +1 -0
- package/dist/_astro/update.CtF8vsag.js +1 -0
- package/dist/_astro/use-text-value.DBQvHeNl.js +1 -0
- package/dist/_astro/use-tree-walker.DFU2AaAP.js +1 -0
- package/dist/_astro/useListAnim.BoerpmsB.js +1 -0
- package/dist/_astro/{view-prefs.Dyu_lmN2.js → view-prefs.BEAZRcxF.js} +1 -1
- package/dist/case-exec/index.html +458 -22
- package/dist/cases/generate/index.html +258 -22
- package/dist/cases/library/index.html +458 -22
- package/dist/dashboard/index.html +458 -22
- package/dist/docs/changelog/index.html +373 -23
- package/dist/docs/install/index.html +258 -22
- package/dist/docs/manual/index.html +314 -35
- package/dist/index.html +2 -281
- package/dist/knowledge/index.html +458 -22
- package/dist/knowledge//345/212/237/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213/347/274/226/345/206/231/350/247/204/350/214/203/index.html +258 -22
- package/dist/plugins/index.html +258 -22
- package/dist/pm/bugs/index.html +458 -22
- package/dist/pm/iterations/index.html +458 -22
- package/dist/pm/projects/detail/index.html +458 -22
- package/dist/pm/projects/index.html +458 -22
- package/dist/pm/requirements/index.html +458 -22
- package/dist/prompts/index.html +458 -22
- package/dist/reports/index.html +458 -22
- package/dist/requirements/index.html +458 -22
- package/dist/tasks/index.html +458 -22
- package/dist/templates/index.html +458 -22
- package/dist/templates//345/212/237/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212//345/212/237/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +258 -22
- package/dist/templates//346/200/247/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212//346/200/247/350/203/275/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +258 -22
- package/dist/templates//346/200/247/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213//346/200/247/350/203/275/346/265/213/350/257/225/347/224/250/344/276/213/346/250/241/346/235/277/index.html +258 -22
- package/dist/templates//346/216/245/345/217/243/346/265/213/350/257/225/346/212/245/345/221/212//346/216/245/345/217/243/346/265/213/350/257/225/346/212/245/345/221/212/346/250/241/346/235/277/index.html +258 -22
- package/dist/templates//350/207/252/345/212/250/345/214/226/346/265/213/350/257/225/347/224/250/344/276/213//350/207/252/345/212/250/345/214/226/346/265/213/350/257/225/347/224/250/344/276/213/346/250/241/346/235/277/index.html +258 -22
- package/dist/test-automation/index.html +717 -0
- package/dist/test-stats/index.html +458 -22
- package/dist/todos/index.html +458 -22
- package/dist/workbench/index.html +517 -0
- package/docs//346/223/215/344/275/234/346/211/213/345/206/214.md +80 -43
- package/lh-plugins/lh-project-docs.mjs +14 -0
- package/lh-plugins/lh-uiauto.mjs +1445 -386
- package/lh-plugins/plugin-prompts.mjs +200 -0
- package/lh-plugins/storage-domain.mjs +6 -0
- package/lh-plugins/uiauto-adapters/index.mjs +57 -0
- package/lh-plugins/uiauto-adapters/playwright.mjs +215 -0
- package/lh-plugins/uiauto-adapters/pytest.mjs +151 -0
- package/lh-plugins/uiauto-adapters/selenium.mjs +163 -0
- package/lh-plugins/uiauto-adapters/shared.mjs +371 -0
- package/lh-plugins/uiauto-adapters/tasks.mjs +369 -0
- package/lh-plugins/uiauto-explorer/apps.mjs +332 -0
- package/lh-plugins/uiauto-explorer/diff.mjs +159 -0
- package/lh-plugins/uiauto-explorer/emit-files.mjs +506 -0
- package/lh-plugins/uiauto-explorer/emit-python.mjs +160 -0
- package/lh-plugins/uiauto-explorer/emit-ts.mjs +118 -0
- package/lh-plugins/uiauto-explorer/emit.mjs +15 -0
- package/lh-plugins/uiauto-explorer/ir.mjs +114 -0
- package/lh-plugins/uiauto-explorer/locators.mjs +267 -0
- package/lh-plugins/uiauto-explorer/merge.mjs +235 -0
- package/lh-plugins/uiauto-explorer/plan.mjs +165 -0
- package/lh-plugins/uiauto-explorer/runner.mjs +370 -0
- package/lh-plugins/uiauto-explorer/sessions.mjs +1373 -0
- package/lh-plugins/uiauto-explorer/snapshot.mjs +492 -0
- package/lh-plugins/uiauto-prompt.mjs +122 -0
- package/lh-plugins/uiauto-report.mjs +111 -0
- package/package.json +1 -1
- package/dist/_astro/Base.4X_wsSoR.css +0 -1
- package/dist/_astro/Base.astro_astro_type_script_index_0_lang.Dy7fJoxu.js +0 -1
- package/dist/_astro/CaseExecBoard.DKdfW5fM.js +0 -1
- package/dist/_astro/CaseGenerateApp.Bm8AyH9s.js +0 -9
- package/dist/_astro/CasesLibrary.CvVJZ74h.js +0 -1
- package/dist/_astro/ChatApp.BS-wLBRa.js +0 -276
- package/dist/_astro/ColumnResize.Bs6GL3DJ.js +0 -1
- package/dist/_astro/DatePicker.CMfX7F6z.js +0 -1
- package/dist/_astro/DocsFileBrowser.BtRoZ787.js +0 -1
- package/dist/_astro/DocsPager.C20ue_JZ.js +0 -1
- package/dist/_astro/KnowledgeLibrary.CV4DyStj.js +0 -1
- package/dist/_astro/NamePromptDialog.Dl5kSnQI.js +0 -1
- package/dist/_astro/NavLibraries.DmD2lZBZ.js +0 -1
- package/dist/_astro/OverflowHint.lzmplP5j.js +0 -1
- package/dist/_astro/PluginsPage.B59AMDrB.js +0 -1
- package/dist/_astro/PluginsPage.BEAPymNL.js +0 -39
- package/dist/_astro/PmBugsBoard.CPEyBp0l.js +0 -1
- package/dist/_astro/PmIterationsBoard.zCeLpcBo.js +0 -1
- package/dist/_astro/PmProjectDetail.ejIam5sD.js +0 -1
- package/dist/_astro/PmProjectsBoard.DbXzir8o.js +0 -1
- package/dist/_astro/PmRequirementsBoard.CynewRfv.js +0 -1
- package/dist/_astro/PmRequirementsBoard.D9eUMJWI.js +0 -1
- package/dist/_astro/PmShared.BxTHKdjY.js +0 -1
- package/dist/_astro/PromptsLibrary.Bkruu80b.js +0 -1
- package/dist/_astro/ReportsPage.BoBQshMQ.js +0 -1
- package/dist/_astro/RequirementsLibrary.BC0A8qdk.js +0 -1
- package/dist/_astro/SearchableSelect.CXa1hiDd.js +0 -1
- package/dist/_astro/SelectDropdown.Buv7rQJ_.js +0 -1
- package/dist/_astro/SettingsDialog.Dc-9QNJI.js +0 -1
- package/dist/_astro/SlideOverDrawer.TPbGEoWn.js +0 -1
- package/dist/_astro/TagSelect.u8DTop7v.js +0 -1
- package/dist/_astro/TasksBoard.Bb--oVV8.js +0 -1
- package/dist/_astro/TemplatesLibrary.D1wZq94E.js +0 -1
- package/dist/_astro/TestStatsBoard.DlVezlXl.js +0 -1
- package/dist/_astro/TodosBoard.S84wqcWY.js +0 -1
- package/dist/_astro/UiAutoBoard.BKp9ifxg.js +0 -1
- package/dist/_astro/active-element-history.CeefGkFQ.js +0 -1
- package/dist/_astro/app-config.DUyozIL9.js +0 -1
- package/dist/_astro/dialog.DXHznyjD.js +0 -1
- package/dist/_astro/jsx-runtime.BUXbF_vF.js +0 -1
- package/dist/_astro/listbox.Di-t5U37.js +0 -1
- package/dist/_astro/menu.Bkluqxic.js +0 -1
- package/dist/_astro/prompts-meta.F4wwkjUA.js +0 -2
- package/dist/_astro/report-prompt.Cmw4XzfY.js +0 -1
- package/dist/_astro/update.Bl_HfSe6.js +0 -1
- package/dist/_astro/use-text-value.BuY0Cm1z.js +0 -1
- package/dist/_astro/use-tree-walker.CfTHFX43.js +0 -1
- package/dist/_astro/useListAnim.CpGB1cft.js +0 -1
- package/dist/ui-automation/index.html +0 -281
package/dist/index.html
CHANGED
|
@@ -1,281 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="icon" type="image/png" sizes="32x32" href="/brand/favicon.png"><
|
|
2
|
-
|
|
3
|
-
try {
|
|
4
|
-
if ('scrollRestoration' in history) history.scrollRestoration = 'manual';
|
|
5
|
-
} catch (e) {}
|
|
6
|
-
</script><script type="module" src="/_astro/Base.astro_astro_type_script_index_0_lang.Dy7fJoxu.js"></script><meta name="astro-view-transitions-enabled" content="true"><meta name="astro-view-transitions-fallback" content="animate"><script type="module" src="/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CO1cjG9V.js"></script><script>
|
|
7
|
-
(function () {
|
|
8
|
-
try {
|
|
9
|
-
var raw = localStorage.getItem('tw.app.config.v1');
|
|
10
|
-
if (raw) {
|
|
11
|
-
var cfg = JSON.parse(raw);
|
|
12
|
-
var g = (cfg && cfg.general) || {};
|
|
13
|
-
var root = document.documentElement;
|
|
14
|
-
var size = typeof g.sessionFontSize === 'number' ? Math.round(g.sessionFontSize) : 14;
|
|
15
|
-
if (size < 12) size = 12;
|
|
16
|
-
if (size > 22) size = 22;
|
|
17
|
-
var px = size + 'px';
|
|
18
|
-
root.style.setProperty('--tw-ui-font-size', px);
|
|
19
|
-
root.style.setProperty('--tw-session-font-size', px);
|
|
20
|
-
var appearance = g.appearance;
|
|
21
|
-
var theme =
|
|
22
|
-
appearance === 'dark' || appearance === 'light'
|
|
23
|
-
? appearance
|
|
24
|
-
: window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
25
|
-
? 'dark'
|
|
26
|
-
: 'light';
|
|
27
|
-
root.dataset.theme = theme;
|
|
28
|
-
root.style.colorScheme = theme;
|
|
29
|
-
if (g.language === 'en') root.lang = 'en';
|
|
30
|
-
}
|
|
31
|
-
if (localStorage.getItem('tw.nav.collapsed') === '1') {
|
|
32
|
-
document.documentElement.dataset.navCollapsed = '1';
|
|
33
|
-
}
|
|
34
|
-
var spaceId = (
|
|
35
|
-
sessionStorage.getItem('tw.space.active-id') ||
|
|
36
|
-
localStorage.getItem('tw.space.active-id') ||
|
|
37
|
-
''
|
|
38
|
-
).trim();
|
|
39
|
-
var cfgKey = spaceId ? 'tw.app.config.v1::' + spaceId : 'tw.app.config.v1';
|
|
40
|
-
var cfgRaw = localStorage.getItem(cfgKey) || localStorage.getItem('tw.app.config.v1');
|
|
41
|
-
if (cfgRaw) {
|
|
42
|
-
var savedCfg = JSON.parse(cfgRaw) || {};
|
|
43
|
-
var plugins = savedCfg.plugins || {};
|
|
44
|
-
if (plugins.cases === false) document.documentElement.dataset.pluginOffCases = '1';
|
|
45
|
-
if (plugins.todos === false) document.documentElement.dataset.pluginOffTodos = '1';
|
|
46
|
-
if (plugins.tasks === false) document.documentElement.dataset.pluginOffTasks = '1';
|
|
47
|
-
if (plugins.projects !== true) document.documentElement.dataset.pluginOffProjects = '1';
|
|
48
|
-
if (plugins.iterations !== true)
|
|
49
|
-
document.documentElement.dataset.pluginOffIterations = '1';
|
|
50
|
-
if (plugins.pmRequirements !== true)
|
|
51
|
-
document.documentElement.dataset.pluginOffPmRequirements = '1';
|
|
52
|
-
if (plugins.bugs !== true) document.documentElement.dataset.pluginOffBugs = '1';
|
|
53
|
-
if (plugins.reports !== true) document.documentElement.dataset.pluginOffReports = '1';
|
|
54
|
-
if (plugins.testStats !== true)
|
|
55
|
-
document.documentElement.dataset.pluginOffTestStats = '1';
|
|
56
|
-
if (plugins.caseExec !== true) document.documentElement.dataset.pluginOffCaseExec = '1';
|
|
57
|
-
if (plugins.dashboard !== true)
|
|
58
|
-
document.documentElement.dataset.pluginOffDashboard = '1';
|
|
59
|
-
if (plugins.knowledgeLib === false)
|
|
60
|
-
document.documentElement.dataset.pluginOffKnowledgeLib = '1';
|
|
61
|
-
if (plugins.requirements === false)
|
|
62
|
-
document.documentElement.dataset.pluginOffRequirements = '1';
|
|
63
|
-
if (plugins.templates === false)
|
|
64
|
-
document.documentElement.dataset.pluginOffTemplates = '1';
|
|
65
|
-
// 本地已有菜单布局:静态占位(固定顺序平铺)不再亮相,避免闪一下「排序前」
|
|
66
|
-
if (Array.isArray(savedCfg.navGroups) || Array.isArray(savedCfg.navOrder)) {
|
|
67
|
-
document.documentElement.dataset.navCached = '1';
|
|
68
|
-
// 兜底:脚本没跑起来(岛始终为空)时把占位放回来,别让侧栏彻底空着
|
|
69
|
-
window.setTimeout(function () {
|
|
70
|
-
var island = document.querySelector('.tw-nav-libraries astro-island');
|
|
71
|
-
if (!island || !island.querySelector('.tw-nav-item-main')) {
|
|
72
|
-
document.documentElement.removeAttribute('data-nav-cached');
|
|
73
|
-
}
|
|
74
|
-
}, 3000);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
} catch (e) {}
|
|
78
|
-
})();
|
|
79
|
-
</script><link rel="stylesheet" href="/_astro/Base.4X_wsSoR.css"><script type="module" src="/_astro/page.Bx2KSkeL.js"></script><style>[data-astro-transition-scope="astro-bbhp3f5g-3"] { view-transition-name: astro-bbhp3f5g-3; }@layer astro { ::view-transition-old(astro-bbhp3f5g-3) {
|
|
80
|
-
animation-duration: 180ms;
|
|
81
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
82
|
-
animation-fill-mode: both;
|
|
83
|
-
animation-name: astroFadeOut; }::view-transition-new(astro-bbhp3f5g-3) {
|
|
84
|
-
animation-duration: 180ms;
|
|
85
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
86
|
-
animation-fill-mode: both;
|
|
87
|
-
animation-name: astroFadeIn; }[data-astro-transition=back]::view-transition-old(astro-bbhp3f5g-3) {
|
|
88
|
-
animation-duration: 180ms;
|
|
89
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
90
|
-
animation-fill-mode: both;
|
|
91
|
-
animation-name: astroFadeOut; }[data-astro-transition=back]::view-transition-new(astro-bbhp3f5g-3) {
|
|
92
|
-
animation-duration: 180ms;
|
|
93
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
94
|
-
animation-fill-mode: both;
|
|
95
|
-
animation-name: astroFadeIn; } }[data-astro-transition-fallback="old"] [data-astro-transition-scope="astro-bbhp3f5g-3"],
|
|
96
|
-
[data-astro-transition-fallback="old"][data-astro-transition-scope="astro-bbhp3f5g-3"] {
|
|
97
|
-
animation-duration: 180ms;
|
|
98
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
99
|
-
animation-fill-mode: both;
|
|
100
|
-
animation-name: astroFadeOut; }[data-astro-transition-fallback="new"] [data-astro-transition-scope="astro-bbhp3f5g-3"],
|
|
101
|
-
[data-astro-transition-fallback="new"][data-astro-transition-scope="astro-bbhp3f5g-3"] {
|
|
102
|
-
animation-duration: 180ms;
|
|
103
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
104
|
-
animation-fill-mode: both;
|
|
105
|
-
animation-name: astroFadeIn; }[data-astro-transition=back][data-astro-transition-fallback="old"] [data-astro-transition-scope="astro-bbhp3f5g-3"],
|
|
106
|
-
[data-astro-transition=back][data-astro-transition-fallback="old"][data-astro-transition-scope="astro-bbhp3f5g-3"] {
|
|
107
|
-
animation-duration: 180ms;
|
|
108
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
109
|
-
animation-fill-mode: both;
|
|
110
|
-
animation-name: astroFadeOut; }[data-astro-transition=back][data-astro-transition-fallback="new"] [data-astro-transition-scope="astro-bbhp3f5g-3"],
|
|
111
|
-
[data-astro-transition=back][data-astro-transition-fallback="new"][data-astro-transition-scope="astro-bbhp3f5g-3"] {
|
|
112
|
-
animation-duration: 180ms;
|
|
113
|
-
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
|
114
|
-
animation-fill-mode: both;
|
|
115
|
-
animation-name: astroFadeIn; }</style></head><body class="tw-body antialiased"><div class="tw-shell min-h-screen"><aside class="tw-nav-aside fixed inset-y-0 left-0 flex flex-col z-45" id="tw-nav-aside"><div class="tw-nav-brand"><div class="tw-nav-brand-row"><a href="/" class="tw-nav-brand-link min-w-0 flex-1"><span class="tw-nav-brand-mark" aria-hidden="true"><img class="tw-nav-brand-mark-img" src="/brand/brand-mark.png" alt="" width="36" height="36"></span><span class="tw-nav-brand-text"><span class="tw-nav-brand-title-row"><span class="tw-nav-brand-title" data-i18n="nav.brand">Lantern Harness</span><span class="tw-nav-brand-ver" data-hint="平台版本 v0.1.9">v0.1.9<span class="tw-nav-brand-dot" id="tw-update-dot" role="button" tabindex="-1" aria-label="有新版本可更新" hidden></span></span></span></span></a></div></div><div class="tw-nav-space-slot"><div class="tw-nav-space tw-nav-space-ph" id="tw-nav-space-ph" aria-hidden="true"><div class="tw-nav-space-ph-box"><span class="tw-nav-space-ph-ico"></span><span class="tw-nav-space-ph-lines"><span class="tw-nav-space-ph-bar is-cap"></span><span class="tw-nav-space-ph-bar is-name"></span></span></div></div><style>astro-island,astro-slot,astro-static-slot{display:contents}</style><script>(function(){let e=async e=>{await(await e())()};(self.Astro||(self.Astro={})).only=e,window.dispatchEvent(new Event(`astro:only`))})();</script><script>(function(){function e(t){"@babel/helpers - typeof";return e=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},e(t)}function t(t,n){if(e(t)!=`object`||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,n||`default`);if(e(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(t)}function n(n){var r=t(n,`string`);return e(r)==`symbol`?r:r+``}function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let i=/* @__PURE__ */ new Set([`__proto__`,`constructor`,`prototype`]);{let e={0:e=>a(e),1:e=>n(e),2:e=>new RegExp(e),3:e=>new Date(e),4:e=>new Map(n(e)),5:e=>new Set(n(e)),6:e=>BigInt(e),7:e=>new URL(e),8:e=>new Uint8Array(e),9:e=>new Uint16Array(e),10:e=>new Uint32Array(e),11:e=>1/0*e},t=t=>{let[n,r]=t;return n in e?e[n](r):void 0},n=e=>e.map(t),a=e=>typeof e!=`object`||!e?e:Object.fromEntries(Object.entries(e).map(([e,n])=>[e,t(n)]));class o extends HTMLElement{constructor(...e){super(...e),r(this,`Component`,void 0),r(this,`hydrator`,void 0),r(this,`hydrate`,async()=>{var e;if(!this.hydrator||!this.isConnected)return;let t=(e=this.parentElement)==null?void 0:e.closest(`astro-island[ssr]`);if(t){t.addEventListener(`astro:hydrate`,this.hydrate,{once:!0});return}let n=this.querySelectorAll(`astro-slot`),r={},i=this.querySelectorAll(`template[data-astro-template]`);for(let e of i){let t=e.closest(this.tagName);t!=null&&t.isSameNode(this)&&(r[e.getAttribute(`data-astro-template`)||`default`]=e.innerHTML,e.remove())}for(let e of n){let t=e.closest(this.tagName);t!=null&&t.isSameNode(this)&&(r[e.getAttribute(`name`)||`default`]=e.innerHTML)}let o;try{o=this.hasAttribute(`props`)?a(JSON.parse(this.getAttribute(`props`))):{}}catch(e){let t=this.getAttribute(`component-url`)||`<unknown>`,n=this.getAttribute(`component-export`);throw n&&(t+=` (export ${n})`),console.error(`[hydrate] Error parsing props for component ${t}`,this.getAttribute(`props`),e),e}await this.hydrator(this)(this.Component,o,r,{client:this.getAttribute(`client`)}),this.removeAttribute(`ssr`),this.dispatchEvent(new CustomEvent(`astro:hydrate`))}),r(this,`unmount`,()=>{this.isConnected||this.dispatchEvent(new CustomEvent(`astro:unmount`))})}disconnectedCallback(){document.removeEventListener(`astro:after-swap`,this.unmount),document.addEventListener(`astro:after-swap`,this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute(`await-children`)||document.readyState===`interactive`||document.readyState===`complete`)this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener(`DOMContentLoaded`,e),t.disconnect(),this.childrenConnectedCallback()},t=new MutationObserver(()=>{var t;((t=this.lastChild)==null?void 0:t.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue===`astro:end`&&(this.lastChild.remove(),e())});t.observe(this,{childList:!0}),document.addEventListener(`DOMContentLoaded`,e)}}async childrenConnectedCallback(){let e=this.getAttribute(`before-hydration-url`);e&&await import(e),this.start()}getRetryImportUrl(e){let t=new URL(e,document.baseURI);return t.searchParams.set(`astro-retry`,Date.now().toString()),t.toString()}async importWithRetry(e){try{return await import(e)}catch(t){return await new Promise(e=>setTimeout(e,1e3)),import(this.getRetryImportUrl(e))}}handleHydrationError(e){let t=this.getAttribute(`component-url`),n=new CustomEvent(`astro:hydration-error`,{cancelable:!0,bubbles:!0,composed:!0,detail:{error:e,componentUrl:t}});this.dispatchEvent(n)&&console.error(`[astro-island] Error hydrating ${t}`,e)}async start(){let e=JSON.parse(this.getAttribute(`opts`)),t=this.getAttribute(`client`);if(Astro[t]===void 0)window.addEventListener(`astro:${t}`,()=>this.start(),{once:!0});else try{await Astro[t](async()=>{let e=this.getAttribute(`renderer-url`);try{let[t,{default:n}]=await Promise.all([this.importWithRetry(this.getAttribute(`component-url`)),e?this.importWithRetry(e):Promise.resolve({default:()=>()=>{}})]),r=this.getAttribute(`component-export`)||`default`;if(r.includes(`.`)){this.Component=t;for(let e of r.split(`.`)){if(i.has(e)||!this.Component||typeof this.Component!=`object`&&typeof this.Component!=`function`||!Object.hasOwn(this.Component,e))throw Error(`Invalid component export path: ${r}`);this.Component=this.Component[e]}}else{if(i.has(r))throw Error(`Invalid component export path: ${r}`);this.Component=t[r]}return this.hydrator=n,this.hydrate}catch(e){return this.handleHydrationError(e),()=>{}}},e,this)}catch(e){this.handleHydrationError(e)}}attributeChangedCallback(){this.hydrate()}}r(o,`observedAttributes`,[`props`]),customElements.get(`astro-island`)||customElements.define(`astro-island`,o)}})();</script><astro-island uid="2wH2Dz" component-url="/_astro/SpaceSwitcher.CI3KDBOA.js" component-export="default" renderer-url="/_astro/client.Be_SakrB.js" props="{"data-astro-transition-persist":[0,"astro-gyrtbwwo-1"]}" ssr client="only" opts="{"name":"SpaceSwitcher","value":"react"}" data-astro-transition-persist="astro-gyrtbwwo-1"></astro-island></div><button type="button" id="tw-nav-toggle" class="tw-nav-toggle" aria-label="收起或展开左侧导航" aria-expanded="true" aria-controls="tw-nav-aside"><svg class="tw-nav-toggle-icon is-collapse" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 6l-6 6 6 6"></path></svg><svg class="tw-nav-toggle-icon is-expand" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"></path></svg></button><nav class="tw-nav-list flex-1 overflow-y-auto"><a href="/" class="tw-nav-item is-active font-medium" data-i18n-hint="nav.home" data-hint="我的工作台"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M3 10.5 12 3l9 7.5"></path><path d="M5 9.5V20h14V9.5"></path></svg><span class="tw-nav-label" data-i18n="nav.home">我的工作台</span></a><div class="tw-nav-libraries"><div class="tw-nav-libraries-ph"><a href="/dashboard/" class="tw-nav-item" data-plugin-nav="dashboard"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="1.5"></rect><rect x="14" y="3" width="7" height="7" rx="1.5"></rect><rect x="3" y="14" width="7" height="7" rx="1.5"></rect><rect x="14" y="14" width="7" height="7" rx="1.5"></rect></svg><span class="tw-nav-label" data-i18n="nav.dashboard">仪表盘</span></a><a href="/tasks/" class="tw-nav-item" data-plugin-nav="tasks"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M9 5h10"></path><path d="M9 12h10"></path><path d="M9 19h10"></path><path d="M4 5h.01"></path><path d="M4 12h.01"></path><path d="M4 19h.01"></path></svg><span class="tw-nav-label" data-i18n="nav.tasks">任务管理</span></a><a href="/todos/" class="tw-nav-item" data-plugin-nav="todos"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><path d="M3 6h.01"></path><path d="M3 12h.01"></path><path d="M3 18h.01"></path></svg><span class="tw-nav-label" data-i18n="nav.todos">待办事项</span></a><a href="/pm/projects/" class="tw-nav-item" data-plugin-nav="projects"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z"></path></svg><span class="tw-nav-label" data-i18n="nav.projects">项目列表</span></a><a href="/pm/iterations/" class="tw-nav-item" data-plugin-nav="iterations"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"></rect><path d="M8 3v4"></path><path d="M16 3v4"></path><path d="M3 10h18"></path></svg><span class="tw-nav-label" data-i18n="nav.iterations">迭代管理</span></a><a href="/pm/requirements/" class="tw-nav-item" data-plugin-nav="pmRequirements"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h5"></path></svg><span class="tw-nav-label" data-i18n="nav.requirementsMgmt">需求管理</span></a><a href="/pm/bugs/" class="tw-nav-item" data-plugin-nav="bugs"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="14" r="5"></circle><path d="M9 6l2 2"></path><path d="M15 6l-2 2"></path><path d="M7 11H4"></path><path d="M20 11h-3"></path><path d="M7 17H4"></path><path d="M20 17h-3"></path></svg><span class="tw-nav-label" data-i18n="nav.bugs">缺陷管理</span></a><a href="/reports/" class="tw-nav-item" data-plugin-nav="reports"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h5"></path></svg><span class="tw-nav-label" data-i18n="nav.reports">工作汇报</span></a><a href="/test-stats/" class="tw-nav-item" data-plugin-nav="testStats"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M4 20V10"></path><path d="M10 20V4"></path><path d="M16 20v-7"></path><path d="M22 20H2"></path></svg><span class="tw-nav-label" data-i18n="nav.testStats">测试统计</span></a><a href="/case-exec/" class="tw-nav-item" data-plugin-nav="caseExec"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="5"></circle><circle cx="12" cy="12" r="1.4"></circle></svg><span class="tw-nav-label" data-i18n="nav.caseExec">用例执行统计</span></a><a href="/cases/library/" class="tw-nav-item" data-plugin-nav="cases"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M9 11l3 3L22 4"></path><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path></svg><span class="tw-nav-label" data-i18n="nav.caseManage">用例管理</span></a><a href="/knowledge/" class="tw-nav-item" data-plugin-nav="knowledgeLib"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg><span class="tw-nav-label" data-i18n="nav.knowledge">知识库管理</span></a><a href="/requirements/" class="tw-nav-item" data-plugin-nav="requirements" data-i18n-hint="nav.requirements"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 3v5h5"></path><path d="M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"></path><path d="M8 13h8"></path><path d="M8 17h6"></path></svg><span class="tw-nav-label" data-i18n="nav.requirements">需求文档库</span></a><a href="/templates/" class="tw-nav-item" data-plugin-nav="templates" data-i18n-hint="nav.templates"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M12 3 3 8l9 5 9-5-9-5z"></path><path d="m3 13 9 5 9-5"></path></svg><span class="tw-nav-label" data-i18n="nav.templates">测试模板库</span></a></div><astro-island uid="Z1lgSd4" component-url="/_astro/NavLibraries.DmD2lZBZ.js" component-export="default" renderer-url="/_astro/client.Be_SakrB.js" props="{"data-astro-transition-persist":[0,"astro-iywf7oe7-2"]}" ssr client="only" opts="{"name":"NavLibraries","value":"react"}" data-astro-transition-persist="astro-iywf7oe7-2"></astro-island></div><a href="/prompts/" class="tw-nav-item" data-plugin-nav="prompts" data-pinned-nav="prompts"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M12 20h9"></path><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"></path></svg><span class="tw-nav-label" data-i18n="nav.prompts">提示词管理</span></a><a href="/docs/manual/" class="tw-nav-item" data-hint="帮助中心" data-i18n-hint="nav.helpCenter"><svg class="tw-nav-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M5 4.5h9.5L19 9v10.5H5V4.5Z" stroke-linejoin="round"></path><path d="M14.5 4.5V9H19" stroke-linejoin="round"></path><path d="M8 13h8M8 16.5h6" stroke-linecap="round"></path></svg><span class="tw-nav-label" data-i18n="nav.helpCenter">帮助中心</span></a></nav><div class="tw-nav-foot"><script>(function(){let e=async e=>{await(await e())()};(self.Astro||(self.Astro={})).load=e,window.dispatchEvent(new Event(`astro:load`))})();</script><astro-island uid="Z12jkyC" prefix="r1" component-url="/_astro/SettingsDialog.Dc-9QNJI.js" component-export="default" renderer-url="/_astro/client.Be_SakrB.js" props="{}" ssr client="load" opts="{"name":"SettingsDialog","value":true}" await-children><div class="tw-nav-foot-row"><button type="button" class="tw-nav-settings-btn" data-hint="设置"><svg class="tw-nav-ico w-4.5 h-4.5 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9c.2.6.7 1 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"></path></svg><span data-i18n="nav.settings">设置</span></button><button type="button" class="tw-nav-provider-chip is-empty" data-hint="未配置模型"><span class="tw-nav-provider-dot" aria-hidden="true"></span><span class="tw-nav-provider-name">未配置</span></button></div><span hidden="" style="position:fixed;top:1px;left:1px;width:1px;height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none"></span><!--astro:end--></astro-island></div></aside><script data-astro-rerun>
|
|
116
|
-
(function () {
|
|
117
|
-
var root = document.documentElement;
|
|
118
|
-
var btn = document.getElementById('tw-nav-toggle');
|
|
119
|
-
function apply(collapsed) {
|
|
120
|
-
if (collapsed) root.dataset.navCollapsed = '1';
|
|
121
|
-
else delete root.dataset.navCollapsed;
|
|
122
|
-
try {
|
|
123
|
-
localStorage.setItem('tw.nav.collapsed', collapsed ? '1' : '0');
|
|
124
|
-
} catch (e) {}
|
|
125
|
-
if (btn) {
|
|
126
|
-
btn.setAttribute('aria-expanded', collapsed ? 'false' : 'true');
|
|
127
|
-
// 气泡已移除;改为动态更新不可见标签,读屏仍能获知当前动作
|
|
128
|
-
btn.setAttribute('aria-label', collapsed ? '展开导航' : '收起导航');
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
apply(root.dataset.navCollapsed === '1');
|
|
132
|
-
if (btn) {
|
|
133
|
-
btn.addEventListener('click', function () {
|
|
134
|
-
apply(root.dataset.navCollapsed !== '1');
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
try {
|
|
139
|
-
var raw = localStorage.getItem('tw.app.config.v1');
|
|
140
|
-
if (!raw) return;
|
|
141
|
-
var g = JSON.parse(raw).general || {};
|
|
142
|
-
if (g.language !== 'en') return;
|
|
143
|
-
var en = {
|
|
144
|
-
'nav.brand': 'Lantern Harness',
|
|
145
|
-
'nav.home': 'My Workbench',
|
|
146
|
-
'nav.dashboard': 'Dashboard',
|
|
147
|
-
'nav.tasks': 'Tasks',
|
|
148
|
-
'nav.todos': 'Todos',
|
|
149
|
-
'nav.projects': 'Projects',
|
|
150
|
-
'nav.iterations': 'Iterations',
|
|
151
|
-
'nav.requirementsMgmt': 'Requirements Mgmt',
|
|
152
|
-
'nav.bugs': 'Bugs',
|
|
153
|
-
'nav.reports': 'Work Report',
|
|
154
|
-
'nav.testStats': 'Test Statistics',
|
|
155
|
-
'nav.caseExec': 'Case Execution',
|
|
156
|
-
'nav.caseManage': 'Test Cases',
|
|
157
|
-
'nav.prompts': 'Prompts',
|
|
158
|
-
'nav.knowledge': 'Knowledge Mgmt',
|
|
159
|
-
'nav.plugins': 'My Plugins',
|
|
160
|
-
'nav.docs': 'Documents',
|
|
161
|
-
'nav.requirements': 'Requirements',
|
|
162
|
-
'nav.templates': 'Test Templates',
|
|
163
|
-
'nav.settings': 'Settings',
|
|
164
|
-
'nav.changelog': 'Changelog',
|
|
165
|
-
'nav.changelogShort': 'Changelog',
|
|
166
|
-
'nav.helpCenter': 'Help Center',
|
|
167
|
-
'docs.nav.title': 'Docs',
|
|
168
|
-
'docs.nav.changelog': 'Changelog',
|
|
169
|
-
'docs.nav.manual': 'User Guide',
|
|
170
|
-
'docs.nav.install': 'Install Guide',
|
|
171
|
-
'nav.repo': 'GitHub',
|
|
172
|
-
'nav.repoShort': 'Repo',
|
|
173
|
-
'nav.npm': 'npm package',
|
|
174
|
-
'nav.npmShort': 'npm',
|
|
175
|
-
'nav.site': 'Yycy Docs',
|
|
176
|
-
'nav.siteShort': 'Site',
|
|
177
|
-
'nav.board': 'Questions & suggestions',
|
|
178
|
-
'nav.boardShort': 'Suggestions',
|
|
179
|
-
};
|
|
180
|
-
document.querySelectorAll('[data-i18n]').forEach(function (el) {
|
|
181
|
-
var key = el.getAttribute('data-i18n');
|
|
182
|
-
if (key && en[key]) el.textContent = en[key];
|
|
183
|
-
});
|
|
184
|
-
document.querySelectorAll('[data-i18n-hint]').forEach(function (el) {
|
|
185
|
-
var key = el.getAttribute('data-i18n-hint');
|
|
186
|
-
if (key && en[key]) el.setAttribute('data-hint', en[key]);
|
|
187
|
-
});
|
|
188
|
-
} catch (e) {}
|
|
189
|
-
})();
|
|
190
|
-
</script><main data-astro-transition-scope="astro-bbhp3f5g-3" class="tw-main min-h-screen"><div id="tw-route-loading" class="tw-route-loading is-hidden" role="status" aria-live="polite" aria-label="页面加载中"><span class="tw-route-loading-spin" aria-hidden="true"></span></div><div class="tw-workbench-host"><astro-island uid="1DjyQy" component-url="/_astro/ChatApp.BS-wLBRa.js" component-export="default" renderer-url="/_astro/client.Be_SakrB.js" props="{"slashDocs":[1,[[0,{"collection":[0,"knowledge"],"id":[0,"功能测试用例编写规范"],"title":[0,"功能测试用例编写规范"],"category":[0,"测试规范"],"description":[0,"统一功能测试用例编写口径与质量标准"],"format":[0,"md"],"path":[0,"知识库管理/功能测试用例编写规范.md"]}],[0,{"collection":[0,"templates"],"id":[0,"功能测试报告/功能测试报告模板"],"title":[0,"功能测试报告模板"],"category":[0,"功能测试报告"],"description":[0,"版本迭代功能测试报告结构模板,含执行统计、缺陷分析与上线风险评估。"],"format":[0,"md"],"path":[0,"测试模板库/功能测试报告/功能测试报告模板.md"]}],[0,{"collection":[0,"templates"],"id":[0,"接口测试报告/接口测试报告模板"],"title":[0,"接口测试报告模板"],"category":[0,"接口测试报告"],"description":[0,"接口测试报告结构模板,含接口覆盖统计、失败分析与性能基线记录。"],"format":[0,"md"],"path":[0,"测试模板库/接口测试报告/接口测试报告模板.md"]}],[0,{"collection":[0,"templates"],"id":[0,"性能测试报告/性能测试报告模板"],"title":[0,"性能测试报告模板"],"category":[0,"性能测试报告"],"description":[0,"性能测试报告结构模板,含负载模型、结果汇总、资源监控与瓶颈分析。"],"format":[0,"md"],"path":[0,"测试模板库/性能测试报告/性能测试报告模板.md"]}],[0,{"collection":[0,"templates"],"id":[0,"性能测试用例/性能测试用例模板"],"title":[0,"性能测试用例(场景)模板"],"category":[0,"性能测试用例"],"description":[0,"性能测试场景设计模板,含负载模型、加压策略与通过标准的定义方式。"],"format":[0,"md"],"path":[0,"测试模板库/性能测试用例/性能测试用例模板.md"]}],[0,{"collection":[0,"templates"],"id":[0,"自动化测试用例/自动化测试用例模板"],"title":[0,"自动化测试用例模板"],"category":[0,"自动化测试用例"],"description":[0,"自动化脚本设计模板,强调步骤稳定、断言明确、数据可参数化与环境依赖。"],"format":[0,"md"],"path":[0,"测试模板库/自动化测试用例/自动化测试用例模板.md"]}]]]}" ssr client="only" opts="{"name":"ChatApp","value":"react"}"></astro-island></div></main></div><script>
|
|
191
|
-
(function () {
|
|
192
|
-
/**
|
|
193
|
-
* 切页滚回顶部。
|
|
194
|
-
* 只在「换页后」重置:若在 before-preparation(点击瞬间)就重置,
|
|
195
|
-
* 当前页面会先跳回顶部、再等新页到达,用户看到的就是「打开时还在滚动」。
|
|
196
|
-
* 带锚点(#)时交给浏览器定位,不强制回顶。
|
|
197
|
-
*/
|
|
198
|
-
try {
|
|
199
|
-
if ('scrollRestoration' in history) history.scrollRestoration = 'manual';
|
|
200
|
-
} catch (e) {}
|
|
201
|
-
function twScrollTop() {
|
|
202
|
-
if (location.hash) return;
|
|
203
|
-
if (window.scrollY === 0 && document.documentElement.scrollTop === 0) return;
|
|
204
|
-
try {
|
|
205
|
-
// instant:不受将来可能加入的 scroll-behavior: smooth 影响
|
|
206
|
-
window.scrollTo({ top: 0, left: 0, behavior: 'instant' });
|
|
207
|
-
} catch (e) {
|
|
208
|
-
// 旧浏览器不认 instant,会抛 TypeError,退回普通写法
|
|
209
|
-
window.scrollTo(0, 0);
|
|
210
|
-
}
|
|
211
|
-
document.documentElement.scrollTop = 0;
|
|
212
|
-
document.body.scrollTop = 0;
|
|
213
|
-
var main = document.querySelector('.tw-main');
|
|
214
|
-
if (main) main.scrollTop = 0;
|
|
215
|
-
}
|
|
216
|
-
document.addEventListener('astro:after-swap', twScrollTop);
|
|
217
|
-
document.addEventListener('astro:page-load', twScrollTop);
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* 软导航「闪白」修复。
|
|
221
|
-
* ClientRouter 交换文档时,会用新文档 <html> 的属性整体替换当前 <html>,
|
|
222
|
-
* 于是 data-theme 连同 style 里的 color-scheme 一起被清空;在主题属性
|
|
223
|
-
* 恢复之前,color-scheme 回落到 normal,画布变白 —— 深色主题下就是
|
|
224
|
-
* 切页瞬间的闪白(与具体页面无关,所有路由都受影响)。
|
|
225
|
-
* 在交换前把主题 / 语言写进新文档的 <html>,交换完成时即已带上,不留空档。
|
|
226
|
-
*/
|
|
227
|
-
document.addEventListener('astro:before-swap', function (e) {
|
|
228
|
-
var next = e.newDocument;
|
|
229
|
-
if (!next || !next.documentElement) return;
|
|
230
|
-
var cur = document.documentElement;
|
|
231
|
-
var nextRoot = next.documentElement;
|
|
232
|
-
var theme = cur.dataset.theme;
|
|
233
|
-
if (theme) {
|
|
234
|
-
nextRoot.dataset.theme = theme;
|
|
235
|
-
nextRoot.style.colorScheme = theme;
|
|
236
|
-
}
|
|
237
|
-
if (cur.lang) nextRoot.lang = cur.lang;
|
|
238
|
-
// 新文档是「解析」出来的:head 里的内联脚本在解析阶段不会执行,
|
|
239
|
-
// 于是所有运行期写在 <html> 上的状态都不会自带。主题 / 语言之外,
|
|
240
|
-
// 侧栏收起状态与空间服务可用性同样要显式搬过去,否则每次软导航都会丢
|
|
241
|
-
// (表现为侧栏自己弹开、骨架又冒出来)。
|
|
242
|
-
if (cur.dataset.navCollapsed === '1') nextRoot.dataset.navCollapsed = '1';
|
|
243
|
-
if (cur.dataset.spaceService) nextRoot.dataset.spaceService = cur.dataset.spaceService;
|
|
244
|
-
// 插件开关同理:不搬过去会先亮出被隐藏的侧栏入口,等 page-load 再收起
|
|
245
|
-
[
|
|
246
|
-
'pluginOffTasks',
|
|
247
|
-
'pluginOffTodos',
|
|
248
|
-
'pluginOffProjects',
|
|
249
|
-
'pluginOffIterations',
|
|
250
|
-
'pluginOffPmRequirements',
|
|
251
|
-
'pluginOffBugs',
|
|
252
|
-
'pluginOffReports',
|
|
253
|
-
'pluginOffTestStats',
|
|
254
|
-
'pluginOffCaseExec',
|
|
255
|
-
'pluginOffDashboard',
|
|
256
|
-
'pluginOffCases',
|
|
257
|
-
'pluginOffKnowledgeLib',
|
|
258
|
-
'pluginOffRequirements',
|
|
259
|
-
'pluginOffTemplates',
|
|
260
|
-
].forEach(function (key) {
|
|
261
|
-
if (cur.dataset[key]) nextRoot.dataset[key] = cur.dataset[key];
|
|
262
|
-
});
|
|
263
|
-
});
|
|
264
|
-
|
|
265
|
-
/** 版本日志「查看更多」:委托绑定,兼容 View Transitions 软导航 */
|
|
266
|
-
document.addEventListener('click', function (e) {
|
|
267
|
-
var t = e.target;
|
|
268
|
-
if (!(t instanceof Element)) return;
|
|
269
|
-
var btn = t.closest('.tw-changelog-toggle');
|
|
270
|
-
if (!(btn instanceof HTMLButtonElement)) return;
|
|
271
|
-
var card = btn.closest('.tw-changelog-card');
|
|
272
|
-
if (!(card instanceof HTMLElement)) return;
|
|
273
|
-
e.preventDefault();
|
|
274
|
-
var next = card.getAttribute('data-open') !== 'true';
|
|
275
|
-
card.setAttribute('data-open', next ? 'true' : 'false');
|
|
276
|
-
btn.setAttribute('aria-expanded', next ? 'true' : 'false');
|
|
277
|
-
var label = btn.querySelector('.tw-changelog-toggle-label');
|
|
278
|
-
if (label) label.textContent = next ? '收起' : '查看更多';
|
|
279
|
-
});
|
|
280
|
-
})();
|
|
281
|
-
</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN" data-astro-cid-lcdefpme><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Lantern Harness</title><link rel="icon" type="image/png" sizes="32x32" href="/brand/favicon.png"><style>html,body{background:#faf9f7;height:100%;margin:0}
|
|
2
|
+
</style><script type="module" src="/_astro/page.Bx2KSkeL.js"></script></head><body data-astro-cid-lcdefpme><noscript><p style="padding: 24px; font-family: sans-serif; font-size: 14px; color: #57534e" data-astro-cid-lcdefpme>需要启用 JavaScript;也可以直接打开<a href="/test-automation/" data-astro-cid-lcdefpme>自动化测试</a> 或<a href="/workbench/" data-astro-cid-lcdefpme>我的工作台</a>。</p></noscript><script type="module" src="/_astro/index.astro_astro_type_script_index_0_lang.LPL9mPQY.js"></script></body></html>
|