angular/cypress/integration/elements.e2e.js
mgechev becdcca64a feat(devtools): add support for Angular elements
Currently, we only show which components are Angular elements. We don't visualize them in their position in the component tree, but only indicate with different coloring.

In the profiler we should also somehow show which tiles correspond to elements. We can discuss this further in rangle/angular-devtools#112.
2020-03-11 09:53:34 -04:00

12 lines
278 B
JavaScript

describe('Angular Elements', () => {
beforeEach(() => {
cy.visit('/');
});
it('should recognize the zippy as an Angular Element', () => {
cy.get('mat-tree')
.find('mat-tree-node:contains("app-zippy")')
.its('length')
.should('eq', 1);
});
});