Skip to content

Commit 3a46471

Browse files
committed
fix failures
1 parent f92f907 commit 3a46471

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/e2e/pages/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class Debug {
7171

7272
async debugCell(): Promise<void> {
7373
await test.step('Debug notebook', async () => {
74-
await expect(this.code.driver.page.locator('.positron-variables-container').locator('text=No Variables have been created')).toBeVisible();
74+
await expect(this.code.driver.page.locator('.positron-variables-container').locator('text=No Variables have been created')).toBeVisible({ timeout: 20000 });
7575
// Prefer to use hotkey but there is an issue with yellow marker not showing
7676
// await this.hotKeys.debugCell();
7777
await this.quickaccess.runCommand('notebook.debugCell');

test/e2e/tests/notebooks-positron/notebook-editor.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ test.describe('Positron Notebooks: Open & Save', {
3030
});
3131

3232
test('Switching between VS Code and Positron notebook editors works correctly', async function ({ app, hotKeys, settings }) {
33-
const { notebooksVscode, notebooksPositron } = app.workbench;
33+
const { notebooks, notebooksVscode, notebooksPositron } = app.workbench;
3434

3535
// Verify default behavior - VS Code notebook editor should be used when no association is set
3636
// This tests the fallback behavior when positron.notebook.enabled=true but no explicit association exists
37-
await notebooksPositron.openNotebook(NOTEBOOK_PATH);
37+
await notebooks.openNotebook(NOTEBOOK_PATH);
3838
await notebooksVscode.expectToBeVisible();
3939

4040
// Configure Positron as the default notebook editor
@@ -53,7 +53,7 @@ test.describe('Positron Notebooks: Open & Save', {
5353

5454
// Confirm that removing the association restores VS Code notebook editor
5555
// This ensures the configuration change is properly applied and the fallback works
56-
await notebooksPositron.openNotebook(NOTEBOOK_PATH);
56+
await notebooks.openNotebook(NOTEBOOK_PATH);
5757
await notebooksVscode.expectToBeVisible();
5858
});
5959

0 commit comments

Comments
 (0)