2021-12-10 02:37:01 +00:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google LLC All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
2024-09-20 15:23:15 +00:00
|
|
|
* found in the LICENSE file at https://angular.dev/license
|
2021-12-10 02:37:01 +00:00
|
|
|
*/
|
|
|
|
|
|
2020-03-09 23:13:34 +00:00
|
|
|
describe('Angular Elements', () => {
|
|
|
|
|
beforeEach(() => {
|
|
|
|
|
cy.visit('/');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('should recognize the zippy as an Angular Element', () => {
|
2025-06-15 23:10:52 +00:00
|
|
|
cy.get('.tree-wrapper')
|
|
|
|
|
.find('ng-tree-node:contains("app-zippy")')
|
|
|
|
|
.its('length')
|
|
|
|
|
.should('eq', 1);
|
2020-03-09 23:13:34 +00:00
|
|
|
});
|
|
|
|
|
});
|