Skip to content

Commit dc1e31d

Browse files
committed
Changing default location and adjusting README
1 parent f3ebdfe commit dc1e31d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ By default, WebPageTest's GitHub Action will run tests whenever the event (pull_
5151
The tests will be run with the following WebPageTest settings:
5252

5353
- Location: Dulles, VA
54-
- Browser: Chrome on a Motorola G4
55-
- Connection Type: 3G connection
54+
- Browser: Chrome on an emulated Moto G4
55+
- Connection Type: 4G connection
5656
- Number of test run per URL: 3
5757
- First view only (no repeat views tested)
5858
- The test results will be checked every **5** seconds, up to a limit of **240s**. If no results are returned by then, the test will timeout and fail.

index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const runTest = (wpt, url, options) => {
2626
let tempOptions = JSON.parse(JSON.stringify(options));
2727

2828
return new Promise((resolve, reject) => {
29-
core.info(`Submitting test for ${url}...`);
29+
core.info(`Submitting test for ${url} ...`);
3030
wpt.runTest(url, tempOptions, async(err, result) => {
3131
try {
3232
if (result) {
@@ -101,10 +101,11 @@ async function run() {
101101
let options = {
102102
"firstViewOnly": true,
103103
"runs": 3,
104-
"location": 'Dulles_MotoG4',
104+
"location": 'Dulles:Chrome',
105105
"connectivity": '4G',
106106
"pollResults": 5,
107-
"timeout": 240
107+
"timeout": 240,
108+
"emulateMobile": true
108109
}
109110
if (WPT_OPTIONS) {
110111
let settings = require(`${DIRECTORY}/${WPT_OPTIONS}`);

0 commit comments

Comments
 (0)