Skip to content

Commit 0f0020f

Browse files
committed
new: update test framework output
1 parent 1118df5 commit 0f0020f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
playwrigth/node_modules/
1+
playwright/node_modules
22
playwright/report

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ docker run -it --rm --ipc=host -v ./playwright:/app lowcoder-tests
2222
```
2323

2424
To configure to which lowcoder instance playwright is connecting, set `LOWCODER_BASE_URL` in `playwright/.env` file.
25+
Please be aware that when run with docker, localhost is translated to the actual container, so set IP address of your host if lowcoder is running on your host.
2526

2627
Once tests are finished, you can find html reposrts and videos in `playwright/report` folder.
2728

playwright/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export default defineConfig({
2222
workers: process.env.CI ? 1 : undefined,
2323
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
2424
reporter: [
25-
['line'],
26-
['html', { outputFolder: './report/html' }]
25+
['list', { printSteps: true }],
26+
['html', { outputFolder: './report/html', open: 'never' }]
2727
],
2828

2929
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */

0 commit comments

Comments
 (0)