mirror of
https://github.com/coder/code-server.git
synced 2026-04-13 03:05:50 -05:00
feat: add isConnected method to CodeServer model
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user