Skip to content

Commit bc1edb1

Browse files
committed
trying outputview changes
1 parent 1c720c1 commit bc1edb1

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

tests/internal/e2e/test/specs/vcast_mcdc_report.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,8 @@ describe("vTypeCheck VS Code Extension", () => {
424424
const activityBar = workbench.getActivityBar();
425425
const explorerView = await activityBar.getViewControl("Explorer");
426426
await explorerView?.openView();
427+
const outputView = await bottomBar.openOutputView();
428+
await outputView.clearText();
427429

428430
const workspaceFolderSection =
429431
await expandWorkspaceFolderSectionInExplorer("vcastTutorial");
@@ -437,15 +439,12 @@ describe("vTypeCheck VS Code Extension", () => {
437439
await fooCpp.openContextMenu();
438440
await (await $("aria/Create VectorCAST Environment")).click();
439441

440-
// Making sure notifications are shown
441-
await (await $("aria/Notifications")).click();
442-
443442
console.log(
444443
"Waiting for clicast and waiting for environment to get processed"
445444
);
446445
await browser.waitUntil(
447446
async () =>
448-
(await (await bottomBar.openOutputView()).getText())
447+
(await outputView.getText())
449448
.toString()
450449
.includes("Environment built Successfully"),
451450
{ timeout: TIMEOUT }
@@ -459,8 +458,6 @@ describe("vTypeCheck VS Code Extension", () => {
459458
// Clearing all notifications
460459
await (await $(".codicon-notifications-clear-all")).click();
461460

462-
const outputView = await bottomBar.openOutputView();
463-
464461
// Red MCDC Gutter icon
465462
await checkForGutterAndGenerateReport(
466463
15,

0 commit comments

Comments
 (0)