Skip to content

Commit cc9c586

Browse files
authored
e2e - remove over-sanitization for adding code to notebook cell (#8847)
Removed calls to `waitForActiveCellEditorContents` and `_waitForActiveCellEditorContents` after typing code in the cell, streamlining the cell editing steps in `notebooks.ts`. ### QA Notes @:web @:win @:critical @:notebooks
1 parent 9f9dfd5 commit cc9c586

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

product.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
},
259259
{
260260
"name": "posit.air-vscode",
261-
"version": "0.14.0",
261+
"version": "0.16.0",
262262
"repo": "https://github.com/posit-dev/air",
263263
"metadata": {
264264
"publisherId": "090804ff-7eb2-4fbd-bb61-583e34f2b070",

test/e2e/pages/notebooks.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ export class Notebooks {
123123
await test.step('Add code to first cell', async () => {
124124
await this.selectCellAtIndex(cellIndex);
125125
await this.typeInEditor(code, delay);
126-
await this.waitForActiveCellEditorContents(code);
127126
});
128127
}
129128

@@ -194,8 +193,6 @@ export class Notebooks {
194193
delay
195194
? await this.code.driver.page.locator(textarea).pressSequentially(text, { delay })
196195
: await this.code.driver.page.locator(textarea).fill(text);
197-
198-
await this._waitForActiveCellEditorContents(c => c.indexOf(text) > -1);
199196
});
200197
}
201198

0 commit comments

Comments
 (0)