From 18390dc12642c79b8c6569c05b82b65c70b7fa21 Mon Sep 17 00:00:00 2001 From: Paul Kuruvilla Date: Fri, 23 Oct 2020 12:15:11 +0530 Subject: [PATCH] add fullscreencontainer option --- addon-test-support/index.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/addon-test-support/index.js b/addon-test-support/index.js index 06a8acc1..a1cccb65 100644 --- a/addon-test-support/index.js +++ b/addon-test-support/index.js @@ -87,9 +87,10 @@ export function setupApplicationTest(hooks, _options) { Uses current URL configuration to setup the test container. * If `?nocontainer` is set, the test container will be hidden. - * If `?dockcontainer` or `?devmode` are set the test container will be - absolutely positioned. - * If `?devmode` is set, the test container will be made full screen. + * If `?dockcontainer`, `?fullscreencontainer` or `?devmode` are set the test + container will be absolutely positioned. + * If `?devmode` or `?fullscreencontainer` is set, the test container will be + made full screen. @method setupTestContainer */ @@ -103,9 +104,9 @@ export function setupTestContainer() { let containerVisibility = params.nocontainer ? 'hidden' : 'visible'; let containerPosition = - params.dockcontainer || params.devmode ? 'fixed' : 'relative'; + params.dockcontainer || params.devmode || params.fullscreencontainer ? 'fixed' : 'relative'; - if (params.devmode) { + if (params.devmode || params.fullscreencontainer) { testContainer.className = ' full-screen'; }