Archived
1
0

feat: add isConnected method to CodeServer model

This commit is contained in:
Joe Previte
2021-04-30 12:33:20 -07:00
parent 0d9fe6ff44
commit 2cb499385a
2 changed files with 23 additions and 0 deletions

View File

@ -38,6 +38,10 @@ test.describe("CodeServer", () => {
expect(await codeServer.isEditorVisible()).toBe(true)
})
test.only("should always have a connection", options, async ({ page }) => {
expect(await codeServer.isConnected()).toBe(true)
})
test("should show the Integrated Terminal", options, async ({ page }) => {
await codeServer.focusTerminal()
expect(await page.isVisible("#terminal")).toBe(true)