Skip to content

Commit

Permalink
Fix smoke tests - selector change in console (#4101)
Browse files Browse the repository at this point in the history
Minor selector change. Looks like the class runtime-items went away in
the console.

### QA Notes

All smoke tests pass
  • Loading branch information
testlabauto authored Jul 20, 2024
1 parent af322f2 commit 9dfa34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/automation/src/positron/positronConsole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9dfa34e

Please sign in to comment.