mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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.
12 lines
278 B
JavaScript
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);
|
|
});
|
|
});
|