Skip to content

Commit 184fb86

Browse files
committed
Updated connectivity list.
1 parent 41f8123 commit 184fb86

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
8989

9090
#### Test (works for **test** command only)
9191
* **-l, --location** _\<location\>_: location to test from
92-
* **-y, --connectivity** _\<profile\>_: connectivity profile -- requires location to be specified -- (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]
92+
* **-y, --connectivity** _\<profile\>_: connectivity profile -- requires location to be specified -- (Cable|DSL|3GSlow|3G|3GFast|4G|LTE|Edge|2G|Dial|FIOS|Native|custom) [Cable]
9393
* **-r, --runs** _\<number\>_: number of test runs [1]
9494
* **-f, --first**: skip the Repeat View test
9595
* **-v, --video**: capture video
@@ -419,7 +419,7 @@ wpt.runTest(script, (err, data) => {
419419

420420
#### Test (works for `runTest` method only)
421421
* **location**: _String_, location to test from
422-
* **connectivity**: _String_, connectivity profile -- requires location to be specified -- (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]
422+
* **connectivity**: _String_, connectivity profile -- requires location to be specified -- (Cable|DSL|3GSlow|3G|3GFast|4G|LTE|Edge|2G|Dial|FIOS|Native|custom) [Cable]
423423
* **runs**: _Number_, number of test runs [1]
424424
* **firstViewOnly**: _Boolean_, skip the Repeat View test
425425
* **video**: _Boolean_, capture video

lib/mapping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var options = {
3737
key: 'y',
3838
api: 'connectivity',
3939
param: 'profile',
40-
info: 'connectivity profile (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]'
40+
info: 'connectivity profile (Cable|DSL|3GSlow|3G|3GFast|4G|LTE|Edge|2G|Dial|FIOS|Native|custom) [Cable]'
4141
},
4242
'runs': {
4343
name: 'runs',

lib/webpagetest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var http = require('http'),
1616
mapping = require('./mapping');
1717

1818
var reSpace = /\s/,
19-
reConnectivity = /^(?:Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom)$/,
19+
reConnectivity = /^(?:Cable|DSL|3GSlow|3G|3GFast|4G|LTE|Edge|2G|Dial|FIOS|Native|custom)$/,
2020
reHTMLOutput = /<h\d[^<]*>([^<]+)<\/h\d>/; // for H3 on cancelTest.php
2121

2222
var paths = {

test/fixtures/command-line/help-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
-h, --help output usage information
99
-k, --key <api_key> API key (if assigned). Contact the WebPageTest server administrator for a key if required
1010
-l, --location <location> location to test from
11-
-y, --connectivity <profile> connectivity profile (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]
11+
-y, --connectivity <profile> connectivity profile (Cable|DSL|3GSlow|3G|3GFast|4G|LTE|Edge|2G|Dial|FIOS|Native|custom) [Cable]
1212
-r, --runs <number> number of test runs [1]
1313
-f, --first skip the Repeat View test
1414
-v, --video capture video

0 commit comments

Comments
 (0)