Closed bboydflo closed 3 years ago
After some investigation I believe it has to do with how the path of the snapshot is computed. I'll need to investigate a bit more.
Something weird happens. If I build the image and run the e2e tests within docker everything is fine but if I first run the e2e tests outside docker and then rerun them inside tests will fail. I assume it has to do with user permissions/read access within the image. any idea how to fix that?
after some more testing it turns out that I have custom fonts that are less bolder inside the docker image, therefore I chose to always run the tests inside docker.
closing
Yes, this is also what I am doing.
I am trying to run my tests inside docker with base image node:12. Locally in macos all works fine but can't figure out what goes wrong inside docker.
One of the errors looks something like that:
Do you have any idea what could go wrong? do you have some example Dockerfile that I can check and get some inspiration from?