Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/test/e2e/logout.test.ts

13 lines
623 B
TypeScript
Raw Normal View History

2021-09-16 00:46:54 +02:00
// NOTE@jsjoeio commenting out until we can figure out what's wrong
// import { describe, test, expect } from "./baseFixture"
2021-03-18 00:23:17 +01:00
2021-09-16 00:46:54 +02:00
// describe("logout", true, () => {
// 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`)
// })
// })