app-root.e2e.ts 468 B

1234567891011121314151617
  1. import { newE2EPage } from '@stencil/core/testing';
  2. describe('app-root', () => {
  3. it('renders', async () => {
  4. const page = await newE2EPage({ url: '/' });
  5. const element = await page.find('app-root');
  6. expect(element).toHaveClass('hydrated');
  7. });
  8. it('renders an ion-app', async () => {
  9. const page = await newE2EPage({ url: '/' });
  10. const element = await page.find('app-root > ion-app');
  11. expect(element).toHaveClass('hydrated');
  12. });
  13. });