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: DEVELOPER.md
+3-23Lines changed: 3 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -17,23 +17,9 @@ Next the `start` command will:
17
17
npm start
18
18
```
19
19
20
-
## Running Dev Server Integration Tests
21
-
22
-
The `integration/` directory is for this local repo's end-to-end and integration testing (and not necessarily app demos). Its dev server is setup to always point to the local build and stay current with the watch process.
23
-
24
-
First start the integration dev server, which will also ensure a build was completed:
25
-
26
-
```
27
-
npm run integration.server
28
-
```
29
-
30
-
Then navigate to http://localhost:8080/
31
-
32
-
The `npm run integration.server` commands runs the server in `development` mode, where files are not minified, source maps are inlined, and there's additional logging. To run code minified with external source maps and without extra logs, run `npm run integration.server.prod`, which is what the end-to-end tests use.
33
-
34
20
## Running All Tests
35
21
36
-
To run all Unit tests ([Jest](https://jestjs.io/)) and E2E/Integration tests ([Cypress](https://www.cypress.io/)), run:
22
+
To run all Unit tests ([Jest](https://jestjs.io/)) and E2E tests [Playwright](https://playwright.dev/), run:
37
23
38
24
```
39
25
npm test
@@ -61,20 +47,14 @@ To debug and step through unit tests, within VSCode you can use the "Integration
61
47
62
48
### E2E Tests Only
63
49
64
-
E2E and Integration tests use [Cypress](https://www.cypress.io/).
50
+
E2E tests use [Playwright](https://playwright.dev/).
65
51
66
-
To run the Cypress tests headless, from start to finish, run:
52
+
To run the Playwright tests headless, from start to finish, run:
67
53
68
54
```
69
55
npm run test.e2e
70
56
```
71
57
72
-
To open Cypress in interactive mode and control through a browser, run:
73
-
74
-
```
75
-
npm run test.e2e.open
76
-
```
77
-
78
58
## Production Build
79
59
80
60
The `npm start` command will run development builds, type check, watch unit tests, and watch the files for changes.
0 commit comments