angular/devtools/cypress/integration/elements.e2e.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
486 B
JavaScript
Raw Normal View History

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
describe('Angular Elements', () => {
beforeEach(() => {
cy.visit('/');
});
it('should recognize the zippy as an Angular Element', () => {
cy.get('.tree-wrapper')
.find('ng-tree-node:contains("app-zippy")')
.its('length')
.should('eq', 1);
});
});