test: temporary close search 2 tests

This commit is contained in:
tzhangchi
2022-12-27 16:49:01 +08:00
parent bf7e4691cc
commit 1eab5fc6c9
3 changed files with 19 additions and 19 deletions
+1
View File
@@ -5,6 +5,7 @@ loadPage();
test.describe('Change Theme', () => {
test('default white', async ({ page }) => {
await page.waitForSelector('html');
const root = page.locator('html');
const themeMode = await root.evaluate(element =>
window.getComputedStyle(element).getPropertyValue('--affine-theme-mode')