import { click, contains, defineMailModels, openDiscuss, start, startServer, } from "@mail/../tests/mail_test_helpers"; import { describe, test } from "@odoo/hoot"; describe.current.tags("desktop"); defineMailModels(); test("Call has Picture-in-picture feature", async () => { const pyEnv = await startServer(); const channelId = pyEnv["discuss.channel"].create({ name: "General" }); await start(); await openDiscuss(channelId); await click("[title='Start Call']"); await contains(".o-discuss-Call"); await contains(".o-discuss-Call-layoutActions button[title='Picture in Picture']"); });