Fixed the added e2e-test with respect to the added link
[examples/angular-tour-of-heroes] / cypress / integration / heroes-spec.ts
1 describe('The Home Page', () => {
2   it('successfully loads', () => {
3     cy.visit('/');
4     cy.get('app-root nav a[routerLink="/heroes"').click();
5     cy.url().should('include', '/heroes');
6   });
7 })