mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(all): disable animations in e2e tests
This commit is contained in:
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: alertFromActionSheet', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/alert-from-action-sheet?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/alert-from-action-sheet?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#alertFromActionSheet');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/basic?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/basic?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#basic');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: cancelOnly', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/cancel-only?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/cancel-only?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#cancelOnly');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: cssClass', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/custom-css?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/custom-css?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#cssClass');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: icons', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/icons?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/icons?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#icons');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: noBackdropDismiss', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/no-backdrop-dismiss?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/no-backdrop-dismiss?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#noBackdropDismiss');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: scrollWithoutCancel', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/scroll-without-cancel?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/scroll-without-cancel?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#scrollWithoutCancel');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('action-sheet: scrollableOptions', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: `/src/components/action-sheet/test/scrollable-options?ionic:animated=false`
|
||||
url: `/src/components/action-sheet/test/scrollable-options?ionic:_testing=true`
|
||||
});
|
||||
|
||||
const presentBtn = await page.find('#scrollableOptions');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('avatar: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/avatar/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/avatar/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('badge: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/badge/test/basic?ionic:animated=false'
|
||||
url: '/src/components/badge/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('badge: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/badge/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/badge/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: anchor', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/anchor?ionic:animated=false'
|
||||
url: '/src/components/button/test/anchor?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/basic?ionic:animated=false'
|
||||
url: '/src/components/button/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: clear', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/clear?ionic:animated=false'
|
||||
url: '/src/components/button/test/clear?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: expand', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/expand?ionic:animated=false'
|
||||
url: '/src/components/button/test/expand?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: icon', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/icon?ionic:animated=false'
|
||||
url: '/src/components/button/test/icon?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: outline', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/outline?ionic:animated=false'
|
||||
url: '/src/components/button/test/outline?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: round', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/round?ionic:animated=false'
|
||||
url: '/src/components/button/test/round?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: size', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/size?ionic:animated=false'
|
||||
url: '/src/components/button/test/size?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/button/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: strong', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/strong?ionic:animated=false'
|
||||
url: '/src/components/button/test/strong?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('button: toolbar', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/button/test/toolbar?ionic:animated=false'
|
||||
url: '/src/components/button/test/toolbar?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('card: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/card/test/basic?ionic:animated=false'
|
||||
url: '/src/components/card/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('card: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/card/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/card/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('checkbox: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/checkbox/test/basic?ionic:animated=false'
|
||||
url: '/src/components/checkbox/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('checkbox: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/checkbox/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/checkbox/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('chip: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/chip/test/basic?ionic:animated=false'
|
||||
url: '/src/components/chip/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('chip: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/chip/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/chip/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('content: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/content/test/basic?ionic:animated=false'
|
||||
url: '/src/components/content/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('content: fullscreen', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/content/test/fullscreen?ionic:animated=false'
|
||||
url: '/src/components/content/test/fullscreen?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('content: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/content/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/content/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('datetime: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/datetime/test/basic?ionic:animated=false'
|
||||
url: '/src/components/datetime/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
let compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('datetime: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/datetime/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/datetime/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
let compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('fab-button: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/fab-button/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/fab-button/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('fab: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/fab/test/basic?ionic:animated=false'
|
||||
url: '/src/components/fab/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('fab: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/fab/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/fab/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('grid: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/grid/test/basic?ionic:animated=false'
|
||||
url: '/src/components/grid/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('grid: offsets', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/grid/test/offsets?ionic:animated=false'
|
||||
url: '/src/components/grid/test/offsets?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('grid: padding', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/grid/test/padding?ionic:animated=false'
|
||||
url: '/src/components/grid/test/padding?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('grid: sizes', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/grid/test/sizes?ionic:animated=false'
|
||||
url: '/src/components/grid/test/sizes?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('grid: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/grid/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/grid/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('icon: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/icon/test/basic?ionic:animated=false'
|
||||
url: '/src/components/icon/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('icon: items', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/icon/test/items?ionic:animated=false'
|
||||
url: '/src/components/icon/test/items?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('icon: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/icon/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/icon/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('img: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/img/test/basic?ionic:animated=false'
|
||||
url: '/src/components/img/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('img: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/img/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/img/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ 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'
|
||||
url: '/src/components/infinite-scroll/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ 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'
|
||||
url: '/src/components/infinite-scroll/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('input: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/input/test/basic?ionic:animated=false'
|
||||
url: '/src/components/input/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
let compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('input: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/input/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/input/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item-sliding: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item-sliding/test/basic?ionic:animated=false'
|
||||
url: '/src/components/item-sliding/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item-sliding: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item-sliding/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/item-sliding/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/basic?ionic:animated=false'
|
||||
url: '/src/components/item/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: buttons', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/buttons?ionic:animated=false'
|
||||
url: '/src/components/item/test/buttons?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: colors', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/colors?ionic:animated=false'
|
||||
url: '/src/components/item/test/colors?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: dividers', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/dividers?ionic:animated=false'
|
||||
url: '/src/components/item/test/dividers?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: groups', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/groups?ionic:animated=false'
|
||||
url: '/src/components/item/test/groups?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: icons', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/icons?ionic:animated=false'
|
||||
url: '/src/components/item/test/icons?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: images', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/images?ionic:animated=false'
|
||||
url: '/src/components/item/test/images?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: inputs', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/inputs?ionic:animated=false'
|
||||
url: '/src/components/item/test/inputs?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: lines', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/lines?ionic:animated=false'
|
||||
url: '/src/components/item/test/lines?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: media', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/media?ionic:animated=false'
|
||||
url: '/src/components/item/test/media?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: reorder', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/reorder?ionic:animated=false'
|
||||
url: '/src/components/item/test/reorder?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: sliding', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/sliding?ionic:animated=false'
|
||||
url: '/src/components/item/test/sliding?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/item/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('item: text', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/item/test/text?ionic:animated=false'
|
||||
url: '/src/components/item/test/text?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('label: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/label/test/basic?ionic:animated=false'
|
||||
url: '/src/components/label/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('label: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/label/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/label/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('list: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/list/test/basic?ionic:animated=false'
|
||||
url: '/src/components/list/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('list: inset', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/list/test/inset?ionic:animated=false'
|
||||
url: '/src/components/list/test/inset?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('list: lines', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/list/test/lines?ionic:animated=false'
|
||||
url: '/src/components/list/test/lines?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('list: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/list/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/list/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('loading: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/loading/test/basic?ionic:animated=false'
|
||||
url: '/src/components/loading/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.click('#basic');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('loading: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/loading/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/loading/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.click('#basic');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('modal: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/modal/test/basic?ionic:animated=false'
|
||||
url: '/src/components/modal/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.click('.e2ePresentModal');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('modal: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/modal/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/modal/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.click('#basic');
|
||||
|
@ -785,7 +785,6 @@ export class Nav implements NavOutlet {
|
||||
|
||||
const enteringEl = enteringView.element!;
|
||||
const leavingEl = leavingView && leavingView.element!;
|
||||
const animated = this.animated && this.config.getBoolean('animated', true);
|
||||
const animationOpts: TransitionOptions = {
|
||||
mode: this.mode,
|
||||
showGoBack: this.canGoBackSync(enteringView),
|
||||
@ -795,7 +794,7 @@ export class Nav implements NavOutlet {
|
||||
baseEl: this.el,
|
||||
animationBuilder: this.animation || opts.animationBuilder || this.config.get('navAnimation'),
|
||||
progressCallback,
|
||||
animated,
|
||||
animated: this.animated,
|
||||
|
||||
enteringEl,
|
||||
leavingEl,
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('popover: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/popover/test/basic?ionic:animated=false'
|
||||
url: '/src/components/popover/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.click('.e2eShowPopover');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('popover: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/popover/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/popover/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.click('#basic');
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('radio-group: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/radio-group/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/radio-group/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('radio: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/radio/test/basic?ionic:animated=false'
|
||||
url: '/src/components/radio/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('radio: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/radio/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/radio/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('range: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/range/test/basic?ionic:animated=false'
|
||||
url: '/src/components/range/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('range: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/range/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/range/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('refresher: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/refresher/test/basic?ionic:animated=false'
|
||||
url: '/src/components/refresher/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('reorder: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/reorder/test/basic?ionic:animated=false'
|
||||
url: '/src/components/reorder/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('reorder: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/reorder/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/reorder/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component, ComponentInterface, Element, Event, EventEmitter, Method, Prop, State, Watch } from '@stencil/core';
|
||||
|
||||
import { Color, Mode, TextInputChangeEvent } from '../../interface';
|
||||
import { Config, Color, Mode, TextInputChangeEvent } from '../../interface';
|
||||
import { debounceEvent } from '../../utils/helpers';
|
||||
import { createColorClasses } from '../../utils/theme';
|
||||
|
||||
@ -20,6 +20,7 @@ export class Searchbar implements ComponentInterface {
|
||||
|
||||
@Element() el!: HTMLElement;
|
||||
|
||||
@Prop({ context: 'config' }) config!: Config;
|
||||
@Prop({ context: 'document' }) doc!: Document;
|
||||
|
||||
@State() focused = false;
|
||||
@ -321,7 +322,7 @@ export class Searchbar implements ComponentInterface {
|
||||
return {
|
||||
class: {
|
||||
...createColorClasses(this.color),
|
||||
'searchbar-animated': this.animated,
|
||||
'searchbar-animated': this.animated && this.config.getBoolean('animated', true),
|
||||
'searchbar-has-value': (this.value !== ''),
|
||||
'searchbar-show-cancel': this.showCancelButton,
|
||||
'searchbar-left-aligned': this.shouldAlignLeft,
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('searchbar: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/searchbar/test/basic?ionic:animated=false'
|
||||
url: '/src/components/searchbar/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('searchbar: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/searchbar/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/searchbar/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('searchbar: toolbar', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/searchbar/test/toolbar?ionic:animated=false'
|
||||
url: '/src/components/searchbar/test/toolbar?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('segment: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/segment/test/basic?ionic:animated=false'
|
||||
url: '/src/components/segment/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('segment: modes', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/segment/test/modes?ionic:animated=false'
|
||||
url: '/src/components/segment/test/modes?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('segment: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/segment/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/segment/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('select: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/select/test/basic?ionic:animated=false'
|
||||
url: '/src/components/select/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
let compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('select: multiple-value', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/select/test/multiple-value?ionic:animated=false'
|
||||
url: '/src/components/select/test/multiple-value?ionic:_testing=true'
|
||||
});
|
||||
|
||||
let compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('select: single-value', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/select/test/single-value?ionic:animated=false'
|
||||
url: '/src/components/select/test/single-value?ionic:_testing=true'
|
||||
});
|
||||
|
||||
let compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('select: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/select/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/select/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('slides: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/slides/test/basic?ionic:animated=false'
|
||||
url: '/src/components/slides/test/basic?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
@ -2,7 +2,7 @@ import { newE2EPage } from '@stencil/core/testing';
|
||||
|
||||
it('slides: standalone', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/slides/test/standalone?ionic:animated=false'
|
||||
url: '/src/components/slides/test/standalone?ionic:_testing=true'
|
||||
});
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user