-
Notifications
You must be signed in to change notification settings - Fork 12k
e2e performance #6751
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 also requested a watch support on e2e, |
The This leaves the time that e2e tests take to run proper. They are inherently slow. I've seen some suites take 10 minutes. Perhaps using chrome in headless mode is faster, I haven't tested. Happy to leave this open for discussion. |
I use beforeEach(() => browser.waitForAngularEnabled(false));
afterEach(() => browser.waitForAngularEnabled(true)); I know this is weird, but allow speed up e2e in my usecase. |
Edit I have noticed these problems can be avoided by using the @filipesilva The problem people are having is, the project having to re-compile every time they re-run the e2e tests. I understand why people want a The flow looks something like this Write test -> run The bottleneck isn't the speed of protractor here, but the project having to re-compile every test iteration. A solution for this would be to build the project once and use that every test. |
Any updates on this? It would be great if we have solution for this. It's a painful procedure. |
Developing e2e tests is really slow. There is gotta be a way to persist the server that updated tests can be run against? Going through recompile cycle each time takes forever and discourages dev to write tests. |
Almost 2 years passed, any new information ? We are also experiencing very slow e2e development and our workflow is similar to mentioned above:
|
You can now run |
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. |
Hi!
Running e2e tests is really slow. At the point that developing e2e test is stopping part of our team most of the time. Most of the tests development processes are RED/GREEN but if the time you have to wait between running each suite of tests is up to 30 seconds... (more with sourcemaps enabled and aot) it's super difficult.
There are another issues that could potentially help how to work with e2e tests #2861
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.1.1
node: 6.9.0
os: linux x64
@angular/animations: 4.2.2
@angular/common: 4.2.2
@angular/compiler: 4.2.2
@angular/core: 4.2.2
@angular/forms: 4.2.2
@angular/http: 4.2.2
@angular/material: 2.0.0-beta.6
@angular/platform-browser: 4.2.2
@angular/platform-browser-dynamic: 4.2.2
@angular/router: 4.2.2
@angular/cli: 1.1.1
@angular/compiler-cli: 4.2.2
Repro steps.
launch
ng e2e
Desired functionality.
Speed
The text was updated successfully, but these errors were encountered: