You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data-browser/README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,11 +77,11 @@ You can set the Agent on the `/app/agent` route.
77
77
The tests are located in `tests` and have `.spec` in their filename.
78
78
They use the PlayWright framework and run in the browser.
79
79
80
-
- make sure the data-browser server is running (`pnpm start`) at `http://localhost:8080`
81
-
- make sure an [`atomic-server`](https://crates.io/crates/atomic-server/) instance is running at `http://localhost`
80
+
- make sure the data-browser server is running (`pnpm start`) at `http://localhost:5173`
81
+
- make sure an [`atomic-server`](https://crates.io/crates/atomic-server/) instance is running at `http://localhost:9883`
82
82
- make sure the `http://localhost/setup` invite has at least one available usage. You can set a higher amount [here](http://localhost/app/edit?subject=http%3A%2F%2Flocalhost%2Fsetup), or run `atomic-server --inititalize` to reset it to 1.
83
-
- Install the Playwright dependencies: `npx playwright install-deps`
84
-
-`pnpm test` launches the E2E tests (make sure the dev server is running at `http://localhost:8080`)
83
+
- Install the Playwright dependencies: `pnpm playwright-install`
84
+
-`pnpm test` launches the E2E tests (make sure the dev server is running at `http://localhost:5173`)
85
85
-`pnpm test-debug` launches the E2E tests in debug mode (a window opens with debug tools)
86
86
-`pnpm test-new` create new tests by clicking through the app
87
87
- Use the `data-test` attribute in HTML elements to make playwright tests more maintainable (and prevent failing tests on changing translations)
@@ -92,9 +92,8 @@ They use the PlayWright framework and run in the browser.
92
92
GitHub Action / Workflow is used for:
93
93
94
94
- Linting (ESlint)
95
-
- Testing (in the browser using `playwright`, using an `atomic-server` docker image)
96
95
- Building
97
-
-Deploying JS build artefacts & assets to GH pages (note that `atomic-server`hosts the JS assets by itself)
96
+
-Testing (in the browser using `playwright`, using an `atomic-server`docker image)
0 commit comments