From 9674e1cd7152a0b3e3abe544cae9b7d6f1bbf0b2 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 8 Jun 2021 12:13:16 -0700 Subject: [PATCH] test: Skip fullscreen test on Tizen This test requires fullscreen support, which is not available on Tizen. We should skip the test on any such platform. This test was passing before the check for fullscreen support was added to the library to fix #3441. Change-Id: I6560a919257290540af3ce6a2b3da1a355da9ab9 --- test/ui/ui_unit.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ui/ui_unit.js b/test/ui/ui_unit.js index a6291d050..ea52cd7f7 100644 --- a/test/ui/ui_unit.js +++ b/test/ui/ui_unit.js @@ -196,6 +196,10 @@ describe('UI', () => { }); it('goes into fullscreen on double click', async () => { + if (!document.fullscreenEnabled) { + pending('This test requires fullscreen support, which is unavailable.'); + } + const config = { controlPanelElements: [ 'overflow_menu',