From 8c727d96d60b11e9001f9542d048773de2760859 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 26 Apr 2021 16:49:49 -0700 Subject: [PATCH] refactor: make CodeServer methods more stable --- test/e2e/models/CodeServer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/models/CodeServer.ts b/test/e2e/models/CodeServer.ts index 7dc2bd9a..57266c83 100644 --- a/test/e2e/models/CodeServer.ts +++ b/test/e2e/models/CodeServer.ts @@ -63,6 +63,7 @@ export class CodeServer { const isTerminalVisible = await this.page.isVisible("#terminal") if (isTerminalVisible) { await this.page.keyboard.press(`Control+Backquote`) + // TODO fix this // Wait for terminal to receive focus await this.page.waitForSelector("div.terminal.xterm.focus") // Sometimes the terminal reloads