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

18 lines
462 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.io/license
*/
describe('Angular Elements', () => {
beforeEach(() => {
cy.visit('/');
});
it('should recognize the zippy as an Angular Element', () => {
cy.get('.tree-wrapper').find('.tree-node:contains("app-zippy")').its('length').should('eq', 1);
});
});