Comment 2 for bug 1811176

Steven (stevens-q) wrote :

Environment tested: Master
Browser tested: Chrome

PRECONDITIONS:
------------------------
1) User agent spoofer addon installed (set to android mobile)
2) Tester has developer tools to be able to see source code

TEST STEPS:
------------------------
1) Browse to page source code for the Mahara site
2) Verify the Script in the head of the page is displaying
<script type="application/javascript">
var config = {
'theme': [],
'sesskey' : 'WybtkNU3lgoYXHhF',
'wwwroot': 'https://master.dev.mahara.org/',
'loggedin': 1,
'userid': 1,
'mobile': 0,
'handheld_device': 1,
'cc_enabled': 0,
'mathjax': 0,
'select2_lang': ''
};
</script>
3) change the user agent spoofer to android mobile
4) Verify the Script in the head of the page is displaying
<script type="application/javascript">
var config = {
'theme': [],
'sesskey' : 'WybtkNU3lgoYXHhF',
'wwwroot': 'https://master.dev.mahara.org/',
'loggedin': 1,
'userid': 1,
'mobile': 1,
'handheld_device': 1,
'cc_enabled': 0,
'mathjax': 0,
'select2_lang': ''
};
</script>

Catalyst QA Approved ✔