client: Hide native title bar setting on web

This commit is contained in:
Elian Doran
2024-08-16 21:41:15 +03:00
parent bd732386e4
commit 4a8c3d719f
5 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import test, { expect } from "@playwright/test";
test("Native Title Bar not displayed on web", async ({ page }) => {
await page.goto('http://localhost:8082/#root/_hidden/_options/_optionsAppearance');
await expect(page.getByRole('heading', { name: 'Theme' })).toBeVisible();
await expect(page.getByRole('heading', { name: 'Native Title Bar (requires' })).toBeHidden();
});