From 9dfa34e1eb5a42ebbd1c1d17b55bef7e7bf0bf1f Mon Sep 17 00:00:00 2001 From: Christopher Mead Date: Sat, 20 Jul 2024 11:08:57 -0600 Subject: [PATCH] Fix smoke tests - selector change in console (#4101) Minor selector change. Looks like the class runtime-items went away in the console. ### QA Notes All smoke tests pass --- test/automation/src/positron/positronConsole.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/automation/src/positron/positronConsole.ts b/test/automation/src/positron/positronConsole.ts index 8c2529fc0f6..ac7d934b7ba 100644 --- a/test/automation/src/positron/positronConsole.ts +++ b/test/automation/src/positron/positronConsole.ts @@ -132,7 +132,7 @@ export class PositronConsole { } async waitForConsoleContents(accept?: (contents: string[]) => boolean) { - const elements = await this.code.waitForElements(`${ACTIVE_CONSOLE_INSTANCE} .runtime-items span`, + const elements = await this.code.waitForElements(`${ACTIVE_CONSOLE_INSTANCE} div span`, false, (elements) => accept ? (!!elements && accept(elements.map(e => e.textContent))) : true); return elements.map(e => e.textContent);