Skip to content

Commit cd11398

Browse files
committed
grr flake
1 parent 72b7eb6 commit cd11398

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/e2e/pages/notebooksPositron.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class PositronNotebooks extends Notebooks {
220220
code: string,
221221
options?: { delay?: number; run?: boolean; waitForSpinner?: boolean; waitForPopup?: boolean }
222222
): Promise<Locator> {
223-
const { delay = 0, run = false, waitForSpinner = false, waitForPopup = false } = options ?? {};
223+
const { delay = 0, run = false, waitForSpinner = false, waitForPopup = true } = options ?? {};
224224
return await test.step(`Add code to cell: ${cellIndex}, run: ${run}, waitForSpinner: ${waitForSpinner}, waitForPopup: ${waitForPopup}`, async () => {
225225
const currentCellCount = await this.getCellCount();
226226

@@ -244,7 +244,6 @@ export class PositronNotebooks extends Notebooks {
244244

245245
if (run) {
246246
await this.runCellButtonAtIndex(cellIndex).click();
247-
await expect(this.code.driver.page.locator('.notification-toast').getByText(/Starting.*interpreter/)).not.toBeVisible({ timeout: 30000 });
248247

249248
if (waitForSpinner) {
250249
const spinner = this.spinnerAtIndex(cellIndex);
@@ -255,7 +254,6 @@ export class PositronNotebooks extends Notebooks {
255254
}
256255

257256
if (waitForPopup) {
258-
// const infoPopup = this.cell.nth(cellIndex).getByRole('tooltip', { name: /cell execution details/i });
259257
await expect(this.cellInfoToolTip).toBeVisible();
260258
}
261259
}

0 commit comments

Comments
 (0)