You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ember-backstop expects to connect to a backstop server connected on the same host as the test host. It would be really useful to have a docker based renderer server for consistent verification across dev machines and CI.
I was able to prototype this by running the backstop docker image and mounting port 3000 to local 3000. After that I needed to update the origin field in the fetch request to the following:
Currently, ember-backstop expects to connect to a backstop server connected on the same host as the test host. It would be really useful to have a docker based renderer server for consistent verification across dev machines and CI.
I was able to prototype this by running the backstop docker image and mounting port
3000
to local3000
. After that I needed to update theorigin
field in the fetch request to the following:Current:
ember-backstop/addon-test-support/backstop.js
Line 139 in c0cd995
Modified:
origin: `http://host.docker.internal:${new URL(ORIGIN).port}`
This is obviously a POC/hack, but it would be great to have first class support for connecting to a docker based server.
The text was updated successfully, but these errors were encountered: