Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

fix(e2e): await async reportCases in capture-report-preview

quanru1f0c26a10fd4
diff --git a/tests/e2e/capture-report-preview.mjs b/tests/e2e/capture-report-preview.mjs
index a0530ba..aeb2601 100644
--- a/tests/e2e/capture-report-preview.mjs
+++ b/tests/e2e/capture-report-preview.mjs
@@ -136,7 +136,7 @@ try {
`Captured Midscene report node ${previewStep} (${runnerDump.status}): ${outputFile}`,
);
- for (const testCase of reportCases(runnerDump, projectName, {
+ for (const testCase of await reportCases(runnerDump, projectName, {
reportHtml: report.html,
reportFile: report.file,
})) {