Skip to content

Commit fb59e63

Browse files
authored
docs: fix typos in various documentation files (microsoft#31656)
1 parent 68595ac commit fb59e63

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/src/release-notes-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ See [the clock guide](./clock.md) for more details.
4444

4545
- New CLI option `--fail-on-flaky-tests` that sets exit code to `1` upon any flaky tests. Note that by default, the test runner exits with code `0` when all failed tests recovered upon a retry. With this option, the test run will fail in such case.
4646

47-
- New enviroment variable `PLAYWRIGHT_FORCE_TTY` controls whether built-in `list`, `line` and `dot` reporters assume a live terminal. For example, this could be useful to disable tty behavior when your CI environment does not handle ANSI control sequences well. Alternatively, you can enable tty behavior even when to live terminal is present, if you plan to post-process the output and handle control sequences.
47+
- New environment variable `PLAYWRIGHT_FORCE_TTY` controls whether built-in `list`, `line` and `dot` reporters assume a live terminal. For example, this could be useful to disable tty behavior when your CI environment does not handle ANSI control sequences well. Alternatively, you can enable tty behavior even when to live terminal is present, if you plan to post-process the output and handle control sequences.
4848

4949
```sh
5050
# Avoid TTY features that output ANSI control sequences

docs/src/test-api/class-testproject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Use [`property: TestConfig.repeatEach`] to change this option for all projects.
227227
* since: v1.45
228228
- type: ?<[boolean]>
229229

230-
Whether to skip entries from `.gitignore` when searching for test files. By default, if neither [`property: TestConfig.testDir`] nor [`property: TestProject.testDir`] are explicitely specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that behavior.
230+
Whether to skip entries from `.gitignore` when searching for test files. By default, if neither [`property: TestConfig.testDir`] nor [`property: TestProject.testDir`] are explicitly specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that behavior.
231231

232232
## property: TestProject.retries
233233
* since: v1.10

docs/src/test-parameterize-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ test.afterEach(async ({ page }) => {
4747
});
4848
```
4949

50-
If you want to have hooks for each test, you can put them inside a `describe()` - so they are executed for each iteration / each invidual test:
50+
If you want to have hooks for each test, you can put them inside a `describe()` - so they are executed for each iteration / each individual test:
5151

5252
```js title="example.spec.ts"
5353
[

docs/src/test-reporters-js.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ List report supports the following configuration options and environment variabl
102102
| Environment Variable Name | Reporter Config Option| Description | Default
103103
|---|---|---|---|
104104
| `PLAYWRIGHT_LIST_PRINT_STEPS` | `printSteps` | Whether to print each step on its own line. | `false`
105-
| `PLAYWRIGHT_FORCE_TTY` | | Whether to produce output suitable for a live terminal. If a number is specifed, it will also be used as the terminal width. | `true` when terminal is in TTY mode, `false` otherwise.
105+
| `PLAYWRIGHT_FORCE_TTY` | | Whether to produce output suitable for a live terminal. If a number is specified, it will also be used as the terminal width. | `true` when terminal is in TTY mode, `false` otherwise.
106106
| `FORCE_COLOR` | | Whether to produce colored output. | `true` when terminal is in TTY mode, `false` otherwise.
107107

108108

@@ -140,7 +140,7 @@ Line report supports the following configuration options and environment variabl
140140

141141
| Environment Variable Name | Reporter Config Option| Description | Default
142142
|---|---|---|---|
143-
| `PLAYWRIGHT_FORCE_TTY` | | Whether to produce output suitable for a live terminal. If a number is specifed, it will also be used as the terminal width. | `true` when terminal is in TTY mode, `false` otherwise.
143+
| `PLAYWRIGHT_FORCE_TTY` | | Whether to produce output suitable for a live terminal. If a number is specified, it will also be used as the terminal width. | `true` when terminal is in TTY mode, `false` otherwise.
144144
| `FORCE_COLOR` | | Whether to produce colored output. | `true` when terminal is in TTY mode, `false` otherwise.
145145

146146

@@ -182,7 +182,7 @@ Dot report supports the following configuration options and environment variable
182182

183183
| Environment Variable Name | Reporter Config Option| Description | Default
184184
|---|---|---|---|
185-
| `PLAYWRIGHT_FORCE_TTY` | | Whether to produce output suitable for a live terminal. If a number is specifed, it will also be used as the terminal width. | `true` when terminal is in TTY mode, `false` otherwise.
185+
| `PLAYWRIGHT_FORCE_TTY` | | Whether to produce output suitable for a live terminal. If a number is specified, it will also be used as the terminal width. | `true` when terminal is in TTY mode, `false` otherwise.
186186
| `FORCE_COLOR` | | Whether to produce colored output. | `true` when terminal is in TTY mode, `false` otherwise.
187187

188188
### HTML reporter

packages/playwright/types/test.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ interface TestProject<TestArgs = {}, WorkerArgs = {}> {
367367
/**
368368
* Whether to skip entries from `.gitignore` when searching for test files. By default, if neither
369369
* [testConfig.testDir](https://playwright.dev/docs/api/class-testconfig#test-config-test-dir) nor
370-
* [testProject.testDir](https://playwright.dev/docs/api/class-testproject#test-project-test-dir) are explicitely
370+
* [testProject.testDir](https://playwright.dev/docs/api/class-testproject#test-project-test-dir) are explicitly
371371
* specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that
372372
* behavior.
373373
*/

0 commit comments

Comments
 (0)