Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix e2e tests (re: maildev container) #1521

Closed
wants to merge 1 commit into from

Conversation

patcon
Copy link
Contributor

@patcon patcon commented Sep 12, 2022

Potential resolution for #1392 (comment)

I think the issue was that that docker-compose was split into prod file and dev files awhile back, but e2e CI workflow hasn't yet been updated to merge in the dev file when running -- the dev file helps stand up a fake mailserver that's used to exercise email features.

As context, docker-compose.override.yml is a special filename that is auto-read by docker without an explicit -f docker-compose.override.yml flag: https://docs.docker.com/compose/extends/#understanding-multiple-compose-files

This makes it easier to run development commands. Should I also swap out the docker-compose -f docker-compose.yml -f docker-compose.dev.yml [...] instructions in the readme for this approach?

@patcon patcon requested a review from metasoarous as a code owner September 12, 2022 04:30
@colinmegill
Copy link
Member

Ah! Third party services :) a difficult and flaky bit to test... thanks for this PR, it would be great to have the cypress tests passing

@patcon
Copy link
Contributor Author

patcon commented Sep 14, 2022

Heh yep, super-helpful until it takes down the testing infra :)

but yay, so now the email test that's been red for a stretch is green! though the actually flaky kitchensink one is now red 😞
https://github.com/compdemocracy/polis/actions/runs/3034675068/jobs/4884014358#step:11:1548

But I suspect re-running the e2e tests as-is will bring it green 🤞

@metasoarous metasoarous added this to the Stable milestone Feb 1, 2023
@ballPointPenguin ballPointPenguin added the 👷🏻‍♀️ testing e2e, unit, or other test work label Feb 9, 2023
@ballPointPenguin
Copy link
Contributor

This is complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👷🏻‍♀️ testing e2e, unit, or other test work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants