docs: update order to improve flo (#27077)
This commit is contained in:
parent
8964587d18
commit
40e8445b82
|
|
@ -87,6 +87,17 @@ npx playwright test
|
|||
|
||||

|
||||
See our doc on [Running Tests](./running-tests.md) to learn more about running tests in headed mode, running multiple tests, running specific tests etc.
|
||||
|
||||
## HTML Test Reports
|
||||
|
||||
After your test completes, an [HTML Reporter](./test-reporters.md#html-reporter) will be generated, which shows you a full report of your tests allowing you to filter the report by browsers, passed tests, failed tests, skipped tests and flaky tests. You can click on each test and explore the test's errors as well as each step of the test. By default, the HTML report is opened automatically if some of the tests failed.
|
||||
|
||||
```bash
|
||||
npx playwright show-report
|
||||
```
|
||||
|
||||

|
||||
|
||||
## Running the Example Test in UI Mode
|
||||
|
||||
Run your tests with [UI Mode](./test-ui-mode.md) for a better developer experience with time travel debugging, watch mode and more.
|
||||
|
|
@ -98,16 +109,6 @@ npx playwright test --ui
|
|||
|
||||
Check out or [detailed guide on UI Mode](./test-ui-mode.md) to learn more about it's features.
|
||||
|
||||
## HTML Test Reports
|
||||
|
||||
Once your test has finished running a [HTML Reporter](./test-reporters.md#html-reporter) will have been created which shows you a full report of your tests allowing you to filter the report by browsers, passed tests, failed tests, skipped tests and flaky tests. You can click on each test and explore the test's errors as well as each step of the test. By default, the HTML report is opened automatically if some of the tests failed.
|
||||
|
||||
```bash
|
||||
npx playwright show-report
|
||||
```
|
||||
|
||||

|
||||
|
||||
## Updating Playwright
|
||||
|
||||
To update Playwright to the latest version run the following command:
|
||||
|
|
|
|||
Loading…
Reference in a new issue