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 started failing after upgrading from 1.15.4 to 1.16.0 #495
Comments
Thanks for reporting! Is ember-cli-page-object the only package which you do upgrade? From the error message, it looks like the issue may be related to updating some ember related package, cause If that's not the case |
@ro0gr I'm only updating the Also, not sure if I was clear in my issue description, but, only the acceptance tests fail and also only those that rely on page object, integration tests work fine and all are green. Here is the output of (yarn list @ember/test-helpers): |
ok, thanks. Let's try to find that regression then. From the stacktrace I still can't find any clue related to page objects code.
looks like something tries to use Ember DI APIs on a missing variable. Does it fail on attempt visit? Also, you say "Acceptance", does it mean "moduleForAcceptance" or the RFC268 I've just checked and Acceptance/Application tests are green for 1.16. If you have a chance to create a reduced reproduction, it would be great and speed up the process of finding the cause a lot! |
I'm using |
@ro0gr After some further testing it seems the code that started to affect my tests was introduced in #448. More exactly the changes to More contextThe app I'm working on has been initially started on ember ConclusionI guess we can close this issue since it seems more of problem in our project than a problem with the package itself. Thank your for your time |
hmm.. sounds it like it makes it impossible to have a test suite mixed of Acceptance and Application tests, if that test suite does Thank you for figuring out the root cause! |
@vsergiu93 Though seems the issue doesn't affect you anymore, I think it still made sense to fix it. Just published a fix as v1.16.3. It would be also included to the v1.17.2. Thanks again for finding it! |
@ro0gr Thank you, sorry I had other issues I had to work on and I forgot to follow the progress of this issue. |
I can't get my acceptance tests to work after upgrading from 1.15.4 to 1.16.0, I think it's important to say only acceptance tests are affected, integration tests that uses page objects are passing.
Relevant package.json entries:
Console errror:
The text was updated successfully, but these errors were encountered: