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
#Expect "47 passed (4.6m)" (47 tests as of writing)
192
200
npx nx test:once studio-web
193
201
# Expect "TOTAL: 25 SUCCESS" (25 tests as of writing)
194
202
npx nx extract-i18n studio-web
@@ -224,10 +232,29 @@ Alternatively run together as:
224
232
#### Studio-Web
225
233
226
234
To run the unit tests for Studio-Web, first build `web-component` in one of the ways listed
227
-
above (or just `npx nx build web-component`) if you have not already done so, and then run:
235
+
above (or just `npx nx build web-component`) if you have not already done so, and then
236
+
run:
228
237
229
238
npx nx test:once studio-web
230
239
240
+
##### End-to-End tests
241
+
242
+
To run the end-to-end tests for Studio-Web, please check the following:
243
+
244
+
- Ensure that you have built the `web-component` (run `npx nx build web-component`)
245
+
- Check that `studio-cli` is installed and running (run `npx nx serve-web-api studio-web`)
246
+
- Confirm that `studio-web` is up and running (run `npx nx run-many --targets=serve,serve-fr,serve-es --projects=studio-web --parallel 3`). Your browser must be able to load `http://localhost:4200/` before you proceed.
247
+
- Verify that `playwright` is installed and configured (run `npx playwright install --with-deps firefox chromium webkit`)
0 commit comments