From 6016dd9e29c6712c15dba515bcfa64c47b80c12d Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 19 Sep 2024 00:53:00 -0800 Subject: [PATCH] Timing issue? --- test/e2e/models/CodeServer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/models/CodeServer.ts b/test/e2e/models/CodeServer.ts index 2a03f9770ddf..4d74a955b10e 100644 --- a/test/e2e/models/CodeServer.ts +++ b/test/e2e/models/CodeServer.ts @@ -565,7 +565,10 @@ export class CodeServerPage { // it, left click and open the context menu using Shift+F10 instead. const el = await this.page.waitForSelector(selector) await el.click({ button: "left" }) + // WIP: just seeing if this is a timing issue + await new Promise((r) => setTimeout(1000, r)) await this.page.keyboard.press("Shift+F10") + await new Promise((r) => setTimeout(1000, r)) await this.page.waitForSelector(".context-view-block") }