mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
17 lines
418 B
JavaScript
17 lines
418 B
JavaScript
/**
|
|
* @jest-environment ./tests/environment
|
|
*/
|
|
|
|
describe("YouTube Music App", () => {
|
|
const app = global.__APP__;
|
|
|
|
test("With default settings, app is launched and visible", async () => {
|
|
const window = await app.firstWindow();
|
|
const title = await window.title();
|
|
expect(title).toEqual("YouTube Music");
|
|
|
|
const url = window.url();
|
|
expect(url.startsWith("https://music.youtube.com")).toBe(true);
|
|
});
|
|
});
|