Skip to content

Commit 45d4044

Browse files
committed
WIP
1 parent f7c160b commit 45d4044

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/e2e/settings-view/specs/repl-2.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ describe("Settings view", () => {
2222
const outputView = await bottomBarPanel.openOutputView();
2323
await outputView.selectChannel("Testplane");
2424

25+
// maximize output view
26+
await outputView.panel.elem.$(".codicon-panel-maximize").click();
27+
2528
await browser.waitUntil(
2629
async () => {
2730
const outputText = await outputView.getText();
31+
const outputStr = outputText.join(" ").replace(/\s+/g, " ");
2832

29-
return outputText.some(textLine =>
30-
/In repl mode only 1 test in 1 browser should be run, but found 2 tests that run in chrome browsers/.test(
31-
textLine,
32-
),
33+
return outputStr.includes(
34+
"In repl mode only 1 test in 1 browser should be run, but found 2 tests that run in chrome browsers",
3335
);
3436
},
3537
{ timeout: 10000, timeoutMsg: "REPL mode was not turned on" },

0 commit comments

Comments
 (0)