docs: update documents for application testing

This commit is contained in:
leejooy96 committed 2023-06-28 09:05:26 +09:00
1 parent 519e4928ad
commit dbb5636709
5 files changed
+33 -6

No files matched your search

+8
View File
@@ -9,3 +9,11 @@ Only very simple launch and behavioral tests for the template main screen have b
Currently, the test specification file is located in the `tests` directory and the test results file is located in `tests/results`. (The built-in test specification file does not generate a separate results file.)
The Playwright configuration is `playwright.config.ts` in the project root, see the following documentation for more information on this: https://playwright.dev/docs/test-configuration
Once everything is configured, you can run a test with the following command.
```shell
$ npm run test
```
Before running the test, empty the build directory (`dist`) and compile the package for the test.