settings: show window size (#3362)
This commit is contained in:
parent
652f1428a5
commit
1faaafb5ed
|
|
@ -185,6 +185,7 @@ class HTMLBuilder {
|
|||
let usingBrowsertime;
|
||||
let usingWebPageTest;
|
||||
let cpuBenchmark;
|
||||
let windowSize;
|
||||
const urlPageRenders = [];
|
||||
let pageNumber = 0;
|
||||
const testedPages = Object.keys(validPages).length;
|
||||
|
|
@ -216,6 +217,10 @@ class HTMLBuilder {
|
|||
pageInfo,
|
||||
'data.browsertime.pageSummary.browserScripts[0].browser.cpuBenchmark'
|
||||
);
|
||||
windowSize = get(
|
||||
pageInfo,
|
||||
'data.browsertime.pageSummary.browserScripts[0].browser.windowSize'
|
||||
);
|
||||
android = get(pageInfo, 'data.browsertime.pageSummary.info.android');
|
||||
ios = get(pageInfo, 'data.browsertime.pageSummary.info.ios');
|
||||
connectivity = pageInfo.data.browsertime.pageSummary.info.connectivity;
|
||||
|
|
@ -418,6 +423,7 @@ class HTMLBuilder {
|
|||
pageDescription: '',
|
||||
browser,
|
||||
cpuBenchmark,
|
||||
windowSize,
|
||||
os: osInfo,
|
||||
connectivity,
|
||||
android,
|
||||
|
|
|
|||
|
|
@ -43,6 +43,10 @@ block content
|
|||
tr
|
||||
td View port
|
||||
td #{options.viewPort}
|
||||
else
|
||||
tr
|
||||
td Window size
|
||||
td #{windowSize}
|
||||
tr
|
||||
td Connectivity
|
||||
td #{ get(connectivity, 'profile') === 'native' ? 'No connectivity settings' : ` ${get(connectivity, 'profile')} using ${get(connectivity, 'engine')} (Down: ${get(connectivity, 'settings.down')} Up: ${get(connectivity, 'settings.up')} RTT: ${get(connectivity, 'settings.rtt')})`}
|
||||
|
|
|
|||
Loading…
Reference in New Issue