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

Acceptance tests fail running on ember-dev #1110

Open
markpatton opened this issue Aug 31, 2021 · 2 comments
Open

Acceptance tests fail running on ember-dev #1110

markpatton opened this issue Aug 31, 2021 · 2 comments

Comments

@markpatton
Copy link
Contributor

To reproduce the problem run docker-compose up wait for it to start and then visit https://pass.local/app/tests

The unit tests pass, but the acceptance tests fail. The acceptance tests pass on the command line. There must be some configuration difference between the two methods of running tests.

@jabrah
Copy link
Contributor

jabrah commented Apr 22, 2022

This may have something to do with some mirage specific ports not being exposed in the docker setup.

@jaredgalanis and I have been separately running ember test -s in parallel with the docker environment in order to run tests. This will expose a separate local test server at localhost:4200 (or whatever the command will display on the command line) and will run fine along side Docker because the acceptance tests all use mocked data, instead of running services.

Do you think this is an acceptable workflow, or should we investigate whether or not we can get the tests running directly out of the local docker instance?

@jaredgalanis
Copy link
Contributor

jaredgalanis commented Apr 22, 2022

For what it's worth, the test command @jabrah is describing is what CI was using to run the tests and it is why the test suite in pass-ui's CI has been passing.

To the extent we're exploring de-dockerizing pass-ui I would say let's not make changes to the ember tests that make them pass/operate well in the docker stack until we know what we're doing re dockerization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants