chore: fix docs

This commit is contained in:
Pavel Feldman 2021-08-24 19:48:28 -07:00
parent 33852635b7
commit cccc2ac4bc
3 changed files with 5 additions and 5 deletions

View File

@ -326,7 +326,7 @@ page.keyboard.type("World", delay=100) # types slower, like a user
```csharp ```csharp
await page.Keyboard.TypeAsync("Hello"); // types instantly await page.Keyboard.TypeAsync("Hello"); // types instantly
await page.Keyboard.TypeAsync("World"); // types slower, like a user await page.Keyboard.TypeAsync("World", new KeyboardTypeOptions { Delay = 100 }); // types slower, like a user
``` ```
:::note :::note

View File

@ -178,7 +178,7 @@ Test that has been started.
Result of the test run, this object gets populated while the test runs. Result of the test run, this object gets populated while the test runs.
### param: Reporter.onStepBegin.step ### param: Reporter.onStepBegin.step
- `result` <[TestStep]> - `step` <[TestStep]>
Test step instance. Test step instance.
@ -197,7 +197,7 @@ Test that has been finished.
Result of the test run. Result of the test run.
### param: Reporter.onStepEnd.step ### param: Reporter.onStepEnd.step
- `result` <[TestStep]> - `step` <[TestStep]>
Test step instance. Test step instance.

View File

@ -394,14 +394,14 @@ export interface Reporter {
* Called when a test step started in the worker process. * Called when a test step started in the worker process.
* @param test Test that has been started. * @param test Test that has been started.
* @param result Result of the test run, this object gets populated while the test runs. * @param result Result of the test run, this object gets populated while the test runs.
* @param result Test step instance. * @param step Test step instance.
*/ */
onStepBegin?(test: TestCase, result: TestResult, step: TestStep): void; onStepBegin?(test: TestCase, result: TestResult, step: TestStep): void;
/** /**
* Called when a test step finished in the worker process. * Called when a test step finished in the worker process.
* @param test Test that has been finished. * @param test Test that has been finished.
* @param result Result of the test run. * @param result Result of the test run.
* @param result Test step instance. * @param step Test step instance.
*/ */
onStepEnd?(test: TestCase, result: TestResult, step: TestStep): void; onStepEnd?(test: TestCase, result: TestResult, step: TestStep): void;
/** /**