From ca11120036d1d30f457b35141494e2eabc3a14c9 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sat, 7 Oct 2023 12:48:53 +0900 Subject: [PATCH] fix: remove title check YTM doesn't set the title after 2023-10-06 --- tests/index.test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/index.test.js b/tests/index.test.js index a08da6dc..5a84fdff 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -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);