未验证 提交 e47eabf3 编写于 作者: J Joe Previte

fix: goHome test after location change

上级 9cbf6926
......@@ -73,8 +73,11 @@ describe("go home", () => {
// In case the page takes a long time to load
await page.goto(CODE_SERVER_ADDRESS, { waitUntil: "domcontentloaded" })
// Make sure the editor actually loaded
expect(await page.isVisible("div.monaco-workbench"))
// Click the Home menu
await page.click(".home-bar ul[aria-label='Home'] li")
await page.click("[aria-label='Application Menu']")
// See the Go Home button
const goHomeButton = "a.action-menu-item span[aria-label='Go Home']"
expect(await page.isVisible(goHomeButton))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册