Skip to content

Commit cd23ba4

Browse files
authored
E2E test: notebook select env fix (#9214)
The process to pick a notebook interpreter changed a while back. Now you click Select Environment... and then get the session picker. This attempts to handle that but is tricky to test because selectInterpreter in notebooks.ts has several possible paths. ### QA Notes @:notebooks @:web
1 parent 4a712bd commit cd23ba4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/pages/notebooks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ export class Notebooks {
8585

8686
await this.code.driver.page.locator(KERNEL_DROPDOWN).click();
8787
await this.quickinput.waitForQuickInputOpened();
88-
await this.code.driver.page.getByText('Select Another Kernel...').click();
89-
await this.quickinput.selectQuickInputElementContaining(`${kernelGroup} Environments...`);
90-
await this.quickinput.selectQuickInputElementContaining(desiredKernel);
88+
await this.code.driver.page.getByText('Select Environment...').click();
89+
await this.quickinput.type(desiredKernel);
90+
await this.quickinput.selectQuickInputElementContaining(`${kernelGroup} ${desiredKernel}`);
9191
await this.quickinput.waitForQuickInputClosed();
9292

9393
// Wait for kernel initialization

0 commit comments

Comments
 (0)