-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Visit('foo'), route goes to localhost:4200/foo in test #279
Comments
Can you provide a reproduction of this issue? It is likely that this is specific to your setup as we haven't had reports of this being an issue before. FWIW, the fact that neither the |
Unfortunately, this is part of a large ember app which I can't really break down. However, It was part an upgrade recently and I took a lot of the default generated files from the cli init. |
All the current tests were done with another test runner than embers one. |
If you have is it expected that in the test runner you will have this dom output?
I'm not sure what you mean by
|
Ah, the custom |
So I got rid of my So my test code looks like this: visit('/foo);
andThen(){
//some code
} However, the whole browser navigates away from Thanks for any light you can shine on this as it's holding all of our e2e testings up( |
I tried upgrading to latest versions of everything and still the same result. |
I also did a cli upgrade and |
Found the styling issue, now to fix the test issue. |
Are you certain you are using |
The default blueprint has this code to ensure that the location type is set to |
Default is:
and if (environment === 'test') {
// Testem prefers this...
ENV.locationType = 'none'; |
Yep, I know the default values, but that code snippet is from |
Thx! |
This is making it impossible to run the tests as every route navigation changes the window location. It almost as if the test runner is not running under
environment === 'test'
. Integration tests render fine inside the#ember-testing
Empty ember-testing div, and the app in the wrong place:
env config:
test:
Can anyone imagine a probable cause of this?
The text was updated successfully, but these errors were encountered: