/
githubmirror
/
code-server
Обзор
Документация
Войти
/
githubmirror
/
code-server
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/e2e/logout.test.ts
12 строк
658 B
kotborealis
add CLI argument `--disable-workspace-trust` (#5638)
13 окт 2022, 22:57
Не верифицирован
13 окт 2022, 22:57
f61ec4a
Код
Авторство
О чём код?
// NOTE@jsjoeio commenting out until we can figure out what's wrong // import { describe, test, expect } from "./baseFixture" // describe("logout", true, ["--disable-workspace-trust"], {}, () => { // 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`) // }) // })