HTML Architect: E2E tests are not runnable from the frontend project

Hi all,

The Playwright E2E suite for the HTML Architect lives in a separate standalone project, so from architect-html there is no way to start it. Anyone working on the frontend has to know the suite exists somewhere else and switch projects to run it.

Would it make sense for the frontend project to expose the E2E suite as one of its own commands, so tests are discoverable where the code is?

Thanks!

Right now the tests are run with this kind of command

origam\test\architect-html-e2e>yarn test:e2e:integration:ui

,which is more or less the same as with the Origam server its 2e2 tests are run somehow through

origam\test\tests_e2e

if it’s need to we could create some kind of script that would run the tests from the origam\architect-html something like yarn test:e2e I’m not sure how long it would take, but it probably wouldn’t be very time-consuming

Hello, I’m pretty sure it would probably take about 5 minutes. But I can’t do it right away as part of another PR, because it’s an “interference” with shared infrastructure and we respect the rule of documenting intentions publicly to the community.

That’s a good point btw: We could unify it for the client app as well.

:+1:

image