We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3e66e2 commit f1b3facCopy full SHA for f1b3fac
core/js/tests/specHelper.js
@@ -85,6 +85,9 @@ window._oc_appswebroots = {
85
"files": window.webroot + '/apps/files/',
86
"files_sharing": window.webroot + '/apps/files_sharing/'
87
};
88
+
89
+window.OC ??= {};
90
91
OC.config = {
92
session_lifetime: 600 * 1000,
93
session_keepalive: false,
@@ -111,6 +114,10 @@ window.Snap.prototype = {
111
114
112
115
window.isPhantom = /phantom/i.test(navigator.userAgent);
113
116
document.documentElement.lang = navigator.language;
117
+const el = document.createElement('input');
118
+el.id = 'initial-state-core-config';
119
+el.value = btoa(JSON.stringify(window.OC.config))
120
+document.body.append(el);
121
122
// global setup for all tests
123
(function setupTests() {
0 commit comments