diff --git a/browser/js/global.js b/browser/js/global.js index af8733b8509c5..5d5c9a86fb539 100644 --- a/browser/js/global.js +++ b/browser/js/global.js @@ -994,8 +994,13 @@ window.app = { msg += ' spellOnline=' + spellOnline; } + var isCalcTest = + global.docURL.includes('data/desktop/calc/') || + global.docURL.includes('data/mobile/calc/') || + global.docURL.includes('data/multiuser/calc/'); + var accessibilityState = window.localStorage.getItem('accessibilityState') === 'true'; - accessibilityState = accessibilityState || L.Browser.cypressTest; + accessibilityState = accessibilityState || (L.Browser.cypressTest && !isCalcTest); msg += ' accessibilityState=' + accessibilityState; }