client: Hide tray settings on web

This commit is contained in:
Elian Doran
2024-08-16 22:05:53 +03:00
parent 4a8c3d719f
commit 1172908e41
2 changed files with 10 additions and 0 deletions

View File

@@ -6,3 +6,8 @@ test("Native Title Bar not displayed on web", async ({ page }) => {
await expect(page.getByRole('heading', { name: 'Native Title Bar (requires' })).toBeHidden();
});
test("Tray settings not displayed on web", async ({ page }) => {
await page.goto('http://localhost:8082/#root/_hidden/_options/_optionsOther');
await expect(page.getByRole('heading', { name: 'Note Erasure Timeout' })).toBeVisible();
await expect(page.getByRole('heading', { name: 'Tray' })).toBeHidden();
});