microsimulation / ijm

A central place for general issues, documents, scripts and resources for the IJM
https://microsimulation.org/ijm/
MIT License
3 stars 0 forks source link

Feature test failing due to different header structure on article #204

Closed erkannt closed 7 months ago

erkannt commented 7 months ago

CI is failing due to a failing feature test:

image

erkannt commented 7 months ago

A local run of make test is green.

erkannt commented 7 months ago

Looks like the issue was stemming from this article being the first on the homepage right now. It has less content in the header than usual. The selector in the cucumber tests relied on an exact amount of divs.

image

pbronka commented 7 months ago

Thank you very much @erkannt . I didn't want to break anything further with the pipeline but I've looked at the change you made and think understood better how the tests are implemented - so if any fails in the future, I will give fixing it a go.

erkannt commented 7 months ago

No worries. If you haven't yet give the Makefile a look. You can run the server and tests locally using make dev and make test respectively. There is some documentation for this in the readme.