diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index c4f18bd09..fab9dfcfd 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -717,8 +717,8 @@ define([ Utils.Feedback.reportAppUsage(); - if (!realtime) { return; } - if (isNewFile && cfg.useCreationScreen) { return; } + if (!realtime && !Test.testing) { return; } + if (isNewFile && cfg.useCreationScreen && !Test.testing) { return; } //if (isNewFile && Utils.LocalStore.isLoggedIn() // && AppConfig.displayCreationScreen && cfg.useCreationScreen) { return; } diff --git a/www/common/sframe-common.js b/www/common/sframe-common.js index 66cf6aecd..c909c01f2 100644 --- a/www/common/sframe-common.js +++ b/www/common/sframe-common.js @@ -170,6 +170,7 @@ define([ // Store funcs.handleNewFile = function (waitFor) { + if (window.__CRYPTPAD_TEST__) { return; } var priv = ctx.metadataMgr.getPrivateData(); if (priv.isNewFile) { var c = (priv.settings.general && priv.settings.general.creation) || {};