We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d37ab7a commit 7ebf899Copy full SHA for 7ebf899
1 file changed
tests/internal/e2e/test/test_utils/vcast_utils.ts
@@ -559,6 +559,18 @@ export async function validateGeneratedTestScriptContent(
559
const fullGenTstScript = await tab.getText();
560
561
await editorView.closeAllEditors();
562
+
563
+ console.log("=== GENERATED TST SCRIPT (" + envName + ") ===");
564
+ console.log(fullGenTstScript);
565
+ console.log("=== EXPECTED LINES ===");
566
+ for (let line of expectedTestCode) {
567
+ const trimmed = line.trim();
568
+ const present = fullGenTstScript.includes(trimmed);
569
+ if (!present) {
570
+ console.log("MISSING >>> " + trimmed);
571
+ }
572
573
574
for (let line of expectedTestCode) {
575
line = line.trim();
576
expect(fullGenTstScript.includes(line)).toBe(true);
0 commit comments