fix: remove title check

YTM doesn't set the title after 2023-10-06
This commit is contained in:
JellyBrick
2023-10-07 12:48:53 +09:00
parent 7dac9a2454
commit ca11120036

View File

@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require('node:path');
const { _electron: electron } = require('playwright');
@ -28,9 +30,6 @@ test('YouTube Music App - With default settings, app is launched and visible', a
await consentForm.click('button');
}
const title = await window.title();
expect(title.replaceAll(/\s/g, ' ')).toEqual('YouTube Music');
const url = window.url();
expect(url.startsWith('https://music.youtube.com')).toBe(true);