RMI-PACTA / pacta-dashboard-svelte

This is a demonstrative project, showing what a PACTA dashboard in Svelte might look like.
https://rmi-pacta.github.io/pacta-dashboard-svelte/
0 stars 0 forks source link

ci/cd: fix integration test #27

Closed jdhoffa closed 3 months ago

jdhoffa commented 3 months ago

When running npm run test:integration locally (which in turn calls playwright test), I noticed that our integration tests were failing.

In particular, the test was searching for an h1 element at the root page, however none exists. I updated the test to instead expect the appShell div to be available in the home page.

The test is still simple, and mainly representative, but it should now pass.

Relates to #25 and more specifically the integration check failure: https://github.com/RMI-PACTA/pacta-dashboard-svelte/actions/runs/10318042168/job/28563577683?pr=25