Skip to content

Commit e2a5f70

Browse files
committed
extra ck
1 parent 3472650 commit e2a5f70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/pages/notebooksPositron.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,10 @@ export class PositronNotebooks extends Notebooks {
156156
await this.expectCellIndexToBeSelected(cellIndex, { isSelected: true, inEditMode: true });
157157

158158
if (exitEditMode) {
159+
await this.code.driver.page.waitForTimeout(500);
159160
await this.code.driver.page.keyboard.press('Escape');
160-
await this.expectCellIndexToBeSelected(cellIndex, { isSelected: true, inEditMode: false });
161161
}
162+
await this.expectCellIndexToBeSelected(cellIndex, { isSelected: true, inEditMode: !exitEditMode });
162163
});
163164
}
164165

0 commit comments

Comments
 (0)