-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Running cypress on angular2 quickstart #195
Comments
Whether you're testing Angular 1, 2, or anything else, Cypress doesn't care about it. As long as HTML is generated by the framework and is inserted into the DOM it'll work like everything else. :-) The problem is that You're looking for cy.get("h1").should("contain", "My First Angular 2 App") or more succinctly cy.contains("My First Angular 2 App") |
In my Angular app, what I'm seeing is 30+ seconds waiting for the localhost page I'm |
@jdhines can you provide a reproducible repo? What version of Cypress are you using? There were some issues with the proxy choking due to nonperformant regexp a few versions ago but have been fixed. Please open a new issue so we can investigate. |
Opened #1608 |
I'm trying to write a simple cypress test against the angular2 quickstart but it doesn't seem to be working although the page loads correctly.
Here is the app: https://github.com/angular/quickstart
And this is the test:
It fails with error:
The text was updated successfully, but these errors were encountered: