1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-05 07:13:06 +08:00
code-server/test/e2e/logout.test.ts

13 lines
631 B
TypeScript
Raw Normal View History

2021-09-16 06:46:54 +08:00
// NOTE@jsjoeio commenting out until we can figure out what's wrong
// import { describe, test, expect } from "./baseFixture"
2021-03-18 07:23:17 +08:00
// describe("logout", true, [], {}, () => {
2021-09-16 06:46:54 +08:00
// test("should be able logout", async ({ codeServerPage }) => {
// // Recommended by Playwright for async navigation
// // https://github.com/microsoft/playwright/issues/1987#issuecomment-620182151
// await Promise.all([codeServerPage.page.waitForNavigation(), codeServerPage.navigateMenus(["Log Out"])])
// const currentUrl = codeServerPage.page.url()
// expect(currentUrl).toBe(`${await codeServerPage.address()}/login`)
// })
// })