-
Notifications
You must be signed in to change notification settings - Fork 12k
Regression: upgrading from 6.0.7 to 6.0.8 makes test fail #11164
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
Comments
I've spent some time trying to figure out why the test fails, without success. Here are some observations, though: The test consists, after some setup, in doing the following:
The click on page2Link is supposed to call the following method of the component:
Observations:
|
I'm also getting inconsistent results in unit tests with 6.0.8. This also revolves around navigation and navigation urls. Will try to get a min repo together when I have a chance. Edit: couldn't create a min repo without risking spending too much time. Sorry. |
@jnizet can you make a simple repro that shows this? It's hard to isolate the problem in the real project. Also, can you try with |
@filipesilva I've tried, for hours, but couldn't. Even the real test, in the project, passed when run alone (with I'll try to see if the original test passes with the new CLI as you suggest, and will tell you about it (probably tomorrow) |
The issue is still there with |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
A test that has been passing for months, with many different versions of Angular and Angular CLI, fails every time it's run afer an upgrade from cli 6.0.7 and devkit 0.6.7 to cli 6.0.8 and devkit 0.6.8, for a reason that I can't explain.
Bug Report or Feature Request (mark with an
x
)Area
Versions
Node v8.11.1
NPM 6.0.0
Yarn 1.6.0
macOS High Sierra 10.13.4 (17E202)
Repro steps
Here's a link to our repo where the problem happens: https://github.com/Ninja-Squad/globe42.git
Repro steps:
git clone https://github.com/Ninja-Squad/globe42.git
cd globe42/frontend
git checkout cli-test-regression-before
yarn
ng test
--> all tests passgit checkout cli-test-regression-after
: the only difference with the before branch is the versions of the CLI and the devkit, in package.json and yarn.lockyarn
ng test
--> one test fails, for a reason that I can't explainThe log given by the failure
Desired functionality
The test seems correct, and has always passed with previous versions. Upgrading the CLI shouldn't make it fail.
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: