Skip to content

Commit

Permalink
Timing issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher committed Sep 19, 2024
1 parent dea5e8d commit 9c4d5a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/models/CodeServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(r, 1000))
await this.page.keyboard.press("Shift+F10")
await new Promise((r) => setTimeout(r, 1000))
await this.page.waitForSelector(".context-view-block")
}

Expand Down

0 comments on commit 9c4d5a6

Please sign in to comment.