Skip to content

Commit

Permalink
test(infinite-scroll): migrate e2e tests
Browse files Browse the repository at this point in the history
references #15803
  • Loading branch information
camwiegert committed Oct 5, 2018
1 parent 83fd527 commit 4fd817c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 38 deletions.
19 changes: 0 additions & 19 deletions core/src/components/infinite-scroll/test/basic/e2e.js

This file was deleted.

10 changes: 10 additions & 0 deletions core/src/components/infinite-scroll/test/basic/e2e.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { newE2EPage } from '@stencil/core/testing';

it('infinite-scroll: basic', async () => {
const page = await newE2EPage({
url: '/src/components/infinite-scroll/test/basic?ionic:animated=false'
});

const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});
19 changes: 0 additions & 19 deletions core/src/components/infinite-scroll/test/standalone/e2e.js

This file was deleted.

10 changes: 10 additions & 0 deletions core/src/components/infinite-scroll/test/standalone/e2e.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { newE2EPage } from '@stencil/core/testing';

it('infinite-scroll: standalone', async () => {
const page = await newE2EPage({
url: '/src/components/infinite-scroll/test/standalone?ionic:animated=false'
});

const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});

0 comments on commit 4fd817c

Please sign in to comment.