diff --git a/integration-tests/settings.spec.ts b/integration-tests/settings.spec.ts index aba6b7d06..6a9060c1e 100644 --- a/integration-tests/settings.spec.ts +++ b/integration-tests/settings.spec.ts @@ -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(); +}); \ No newline at end of file diff --git a/src/public/app/widgets/type_widgets/options/other/tray.js b/src/public/app/widgets/type_widgets/options/other/tray.js index c20469ce7..ac7f91eb9 100644 --- a/src/public/app/widgets/type_widgets/options/other/tray.js +++ b/src/public/app/widgets/type_widgets/options/other/tray.js @@ -1,5 +1,6 @@ import OptionsWidget from "../options_widget.js"; import { t } from "../../../../services/i18n.js"; +import utils from "../../../../services/utils.js"; const TPL = `