Output when you run as emulated mobile (#2980)

This commit is contained in:
Peter Hedenskog 2020-05-04 18:33:34 +02:00 committed by GitHub
parent 432cae23c1
commit 024c934c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
h2.url #{h.plural(noPages,'page')} analysed for #{options.name ? options.name : h.short(context.name, 30)}
if usingBrowsertime
- const profile = options.mobile ? 'mobile' : 'desktop'
- const profile = options.mobile ? 'emulated mobile' : ''
- const connectivity = options.browsertime.connectivity.alias || options.browsertime.connectivity.profile
- const browserName = h.get(browser,'name');
- const browserVersion = h.get(browser,'version');
@ -14,7 +14,7 @@ if usingBrowsertime
if (options.safari && options.safari.deviceType)
| Testing using an #{options.safari.deviceType}.
| #{options.preURL ? ' preURL ' + h.short(options.preURL, 60) + ' ' : ''}
| #{h.plural(options.browsertime.iterations, 'run')} with #{profile} profile and connectivity #{connectivity}.#{ options.replay ? ' Using WebPageReplay.' : ''}#{ options.multi ? ' Using multi mode.' : ''}
| #{h.plural(options.browsertime.iterations, 'run')} #{profile} and connectivity #{connectivity}.#{ options.replay ? ' Using WebPageReplay.' : ''}#{ options.multi ? ' Using multi mode.' : ''}
| #{options.chrome && options.chrome.CPUThrottlingRate ? ' CPU Throttle Rate ' + options.chrome.CPUThrottlingRate + '.':''}
if options.multi && options.html.showScript
| (

View File

@ -1,5 +1,5 @@
if pageInfo.data.browsertime
- const profile = options.mobile ? 'mobile' : 'desktop'
- const profile = options.mobile ? 'emulated mobile' : ''
- const runTime = h.get(pageInfo, 'pageInfo.data.browsertime.run.timestamp', timestamp)
- const android = pageInfo.data.browsertime.run ? pageInfo.data.browsertime.run.android : pageInfo.data.browsertime.pageSummary.info.android
- const browserName = h.get(browser,'name');
@ -16,7 +16,7 @@ if pageInfo.data.browsertime
if (options.safari && options.safari.deviceType)
| Testing using an #{options.safari.deviceType}.
| #{options.preURL ? ' preURL ' + h.short(options.preURL, 60) + ' ': ''}
| #{h.plural(options.browsertime.iterations, 'run')} with #{profile} profile and connectivity #{connectivity}.#{ options.replay ? ' Using WebPageReplay.' : ''}#{ options.multi ? ' Using multi mode.' : ''}
| #{h.plural(options.browsertime.iterations, 'run')} #{profile} and connectivity #{connectivity}.#{ options.replay ? ' Using WebPageReplay.' : ''}#{ options.multi ? ' Using multi mode.' : ''}
| #{options.chrome && options.chrome.CPUThrottlingRate ? ' CPU Throttle Rate ' + options.chrome.CPUThrottlingRate + '.':''}
if options.multi && options.html.showScript
| (