Skip to content

Commit

Permalink
chore: add npm script to start e2e tests with playwright UI
Browse files Browse the repository at this point in the history
  • Loading branch information
angelo-v committed Dec 9, 2024
1 parent df7d269 commit 0e7bee4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ It is also possible to run the tests against the local dev server of [PodOS elem
npm run test:elements
```

To start the test with the Playwright UI run one of those:

```shell
npm run test:ui
npm run test:elements:ui
```

#### Test data

The tests fire up a Community Solid Server to provide test data, which can be
Expand Down
2 changes: 2 additions & 0 deletions apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"test:elements": "playwright test --config playwright-elements.config.ts",
"test:debug": "playwright test --config playwright-app.config.ts --debug --project=chromium",
"test:elements:debug": "playwright test --config playwright-elements.config.ts --debug --project=chromium",
"test:ui": "npm run test -- --ui",
"test:elements:ui": "npm run test:elements -- --ui",
"build:latest": "POD_OS_ELEMENTS_VERSION=latest make pos-app-browser"
},
"keywords": [],
Expand Down

0 comments on commit 0e7bee4

Please sign in to comment.