Skip to content

Commit 9b02591

Browse files
committed
Test that menu bar is visible
1 parent 4d4aadf commit 9b02591

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/index.test.js

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ describe("YouTube Music App", () => {
66

77
const win = app.browserWindow;
88

9+
const isMenuVisible = await win.isMenuBarVisible();
10+
expect(isMenuVisible).toBe(true);
11+
912
const isVisible = await win.isVisible();
1013
expect(isVisible).toBe(true);
1114

0 commit comments

Comments
 (0)