-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update documents 1 * Run prettier * Additional changes * Additional examples * Correct misspelling * Run prettier one last time
- Loading branch information
1 parent
b424a7f
commit abe15f4
Showing
6 changed files
with
294 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# Config Values | ||
|
||
A full list of config values are: | ||
This list may be out of date as configuration value are added/removed. | ||
|
||
When in doubt, the values contained within the `config/*.json` files should be taken as authoritative. | ||
|
||
| Name | Description | Example | Required | Store in file? | | ||
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | -------------- | | ||
| accounts | A JSON list of wordpress.com account information (as JSON objects). | [ { "username": "username", "password": "password", "site": "site.wordpress.com", "features": [] }, { "email": "[email protected]", "features": [ "passwordless" ] } ] | No | **NO** | | ||
| afterHookTimeoutMS | This is the maximum total time in milliseconds that an after test hook can take including capturing the screenshots | 20000 | Yes | Yes | | ||
| artifacts | The directory structure for test artifacts (video, screenshots, logs). | { 'screenshots': 'screenshots'} | Yes | Yes | | ||
| browser | The browser to use: either `firefox` or `chrome` | `chrome` | Yes | Yes | | ||
| calypsoBaseURL | The home page for calypso | <https://wordpress.com> | Yes | Yes | | ||
| calypsoDocker | A boolean indicating whether the tests will be run against a local Calypso Docker instance (required to ensure login works) | true | No | Yes | | ||
|
@@ -16,6 +19,7 @@ A full list of config values are: | |
| explicitWaitMS | The explicit wait time in milliseconds to wait for an element to appear - for example a widget loading data via an API | 10000 | Yes | Yes | | ||
| highlightElements | Boolean to indicate whether to visually highlight elements being interacted with on the page | true | No | Yes | | ||
| inviteInboxId | This is an inbox id from mailosaur used for **invite** email testing | sad34id44ss | Yes | **NO** | | ||
| locale | Default locale to be used unless overridden. | en | Yes | Yes | | ||
| mailosaurAPIKey | This is the API key from mailosaur used for testing email | hsjdhsjdh7878sd | Yes | **NO** | | ||
| mochaTimeoutMS | This is the maximum total time in milliseconds a single mocha end to end test can take to finish - otherwise it will time out. | 120000 | Yes | Yes | | ||
| passwordForNewTestSignUps | This is the password that will be set for new sign ups created for testing purposes | alongcomplexpassword%### | Yes | **NO** | | ||
|
@@ -41,10 +45,15 @@ A full list of config values are: | |
| testUserName | This is an existing test WordPress.com account for testing purposes - this account should have a **single** site | testuser123 | Yes | **NO** | | ||
| testUserNameJetpack | This is an existing test WordPress.com account for testing purposes **that has a single jetpack site** | testuser123 | Yes | **NO** | | ||
| testUserNameMultiSite | This is an existing test WordPress.com account for testing purposes **that has multiple sites** | testuser123 | Yes | **NO** | | ||
| viewportName | Default viewport name to be used unless overridden. | desktop | Yes | Yes | | ||
| viewportSize | Viewport size specified as width and height in pixels for each viewportName that is supported. | desktop | No | Yes | | ||
|
||
<!-- When adding new rows, run the following command to sort the rows by alphabetical order: | ||
cd test/e2e/docs | ||
tail -n +7 config_values.md| sort --field-separator=\| --key=1 | ||
head -n 49 config_values.md | tail +9 | sort --field-separator=\| --key=1 | ||
Adjust the value of `head -n <x>` to be the last row of the table to be sorted. | ||
Adjust the value of `tail +x` to be the first row of the table to be sorted. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.