We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cbf692 commit e47eabfCopy full SHA for e47eabf
test/goHome.test.ts
@@ -73,8 +73,11 @@ describe("go home", () => {
73
// In case the page takes a long time to load
74
await page.goto(CODE_SERVER_ADDRESS, { waitUntil: "domcontentloaded" })
75
76
+ // Make sure the editor actually loaded
77
+ expect(await page.isVisible("div.monaco-workbench"))
78
+
79
// Click the Home menu
- await page.click(".home-bar ul[aria-label='Home'] li")
80
+ await page.click("[aria-label='Application Menu']")
81
// See the Go Home button
82
const goHomeButton = "a.action-menu-item span[aria-label='Go Home']"
83
expect(await page.isVisible(goHomeButton))
0 commit comments