compdemocracy / polis

:milky_way: Open Source AI for large scale open ended feedback
https://pol.is
GNU Affero General Public License v3.0
719 stars 169 forks source link

Test clarity #1701

Closed ballPointPenguin closed 8 months ago

ballPointPenguin commented 11 months ago

All tests passing for me locally running:

make TEST start
make e2e-install
make e2e-run
ballPointPenguin commented 8 months ago

The one bit of strangeness for me is that 'shows the visualization after 7 participants' passes when running cypress interactively but not as part of make e2e-run.

I've often seen the same. I wonder if the headless runner is a little too fast. It tends to pass on CI (though not consistently), which I expect is a slower machine than my laptop. 🤔

ballPointPenguin commented 8 months ago

Now for some reason the e2e suite is completely failing (on all branches). I suspect a Github Actions config issue, since there was not a code merge that broke the suite. Test are still passing for me locally.

UPDATE: fixed it by waiting a bit (and running a health check api call until status 200)