-
Notifications
You must be signed in to change notification settings - Fork 13
Conversation
May I allow The real complication here is that I need to delete all maps from the database after a local test run and I dont have to do that in CI. So I get these two different use cases which I both need to handle somehow. Also the entrypoint.sh is used from the top level makefile. So I really dont want to duplicate any lines of code here. |
97d0deb
to
453a265
Compare
Which line of code has this problem? It is quite clearly indicated that something like this shouldn't be done.
Why would you need to delete all maps? You can simply require that E2E are only executed on an empty database.
Yes, I agree. |
I cant clearly tell. I would guess it doesnt like the shell script invocation inside the dockerfile.
Yes I agree, I was just not sure how "dangerous" this really is. I will try to find another way, just like the other scripts maybe.
You need to do that everytime you rerun the e2e tests otherwise you will get wrong test results. |
No problem for me. Let us better keep everything simple. |
a0f4123
to
5b84d43
Compare
Let me know if anything is unclear/complicated or I have forgotten something and if you can run e2e tests locally. Thank you! |
5b84d43
to
af94400
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, both make test-e2e
without Docker and "e2e.sh" with Docker now works for me. 🚀 A few minor comments, can be also fixed in a later PR.
7b41420
to
3eacbc8
Compare
3eacbc8
to
bd2862b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let us merge and do a follow-up when needed.
@@ -0,0 +1,3 @@ | |||
E2E_URL=localhost:5173 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some documentation & DATABASE_URL missing.
@@ -0,0 +1,4 @@ | |||
#!/bin/bash | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please feel free to readd the e2e/clean_db.py.
Closes #783
Closes #782
Basics
close #X
, are in the commit messages.Checklist
(not in the PR description)
(exceptions are documented)
Review