From 86d5f33841b9227bb80a504664dd393fccb0b5da Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Wed, 17 Oct 2018 15:01:37 -0500 Subject: [PATCH] chore(package): update to stencil 0.14.1-1 (#15992) --- core/package.json | 2 +- core/src/components/card-header/test/basic/index.html | 1 + core/src/components/card/test/standalone/index.html | 2 +- core/src/components/loading/test/basic/e2e.ts | 2 ++ core/src/components/loading/test/standalone/e2e.ts | 2 ++ core/src/components/select/test/basic/index.html | 1 - core/src/components/split-pane/test/basic/index.html | 3 --- core/src/components/split-pane/test/preview/index.html | 3 --- core/src/components/textarea/test/basic/index.html | 5 ----- core/src/components/textarea/test/preview/index.html | 5 ----- core/src/components/toggle/test/basic/index.html | 3 +-- core/src/components/toggle/test/preview/index.html | 3 +-- core/src/components/toolbar/test/preview/index.html | 2 +- core/src/components/toolbar/test/scenarios/index.html | 2 +- core/src/components/virtual-scroll/test/basic.html | 3 --- 15 files changed, 11 insertions(+), 28 deletions(-) diff --git a/core/package.json b/core/package.json index a4340f1106..8e1da83791 100644 --- a/core/package.json +++ b/core/package.json @@ -30,7 +30,7 @@ "ionicons": "4.4.6" }, "devDependencies": { - "@stencil/core": "0.14.1-0", + "@stencil/core": "0.14.1-1", "@stencil/sass": "0.1.1", "@stencil/utils": "latest", "@types/jest": "^23.3.1", diff --git a/core/src/components/card-header/test/basic/index.html b/core/src/components/card-header/test/basic/index.html index 415d97be84..9289b38500 100644 --- a/core/src/components/card-header/test/basic/index.html +++ b/core/src/components/card-header/test/basic/index.html @@ -7,6 +7,7 @@ + diff --git a/core/src/components/card/test/standalone/index.html b/core/src/components/card/test/standalone/index.html index 46500e1548..a563828bec 100644 --- a/core/src/components/card/test/standalone/index.html +++ b/core/src/components/card/test/standalone/index.html @@ -120,7 +120,7 @@ } .custom2 { - --background: url(https://images.unsplash.com/photo-1503756234508-e32369269deb?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=47b63db904d2c72377ffc588f645eb45&auto=format&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BgYGBgYGBgYGBgYGBgYGDgansLDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMXAX7DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDFxtb4GBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGrYJ+BgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBq+0tMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwcBXsMzAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMHC1vQUGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgaugn0GBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGjvYD5WuYrpZqdmcAAAAASUVORK5CYII=) center 50%; --color: white; text-shadow: 2px 2px 6px black; } diff --git a/core/src/components/loading/test/basic/e2e.ts b/core/src/components/loading/test/basic/e2e.ts index 69ef48713f..afca60da38 100644 --- a/core/src/components/loading/test/basic/e2e.ts +++ b/core/src/components/loading/test/basic/e2e.ts @@ -9,6 +9,8 @@ it('loading: basic', async () => { const loading = await page.find('ion-loading'); expect(loading).not.toBeNull(); + await loading.waitForVisible(); + const compare = await page.compareScreenshot(); expect(compare).toMatchScreenshot(); }); diff --git a/core/src/components/loading/test/standalone/e2e.ts b/core/src/components/loading/test/standalone/e2e.ts index f211dd052e..bb8bc654f2 100644 --- a/core/src/components/loading/test/standalone/e2e.ts +++ b/core/src/components/loading/test/standalone/e2e.ts @@ -9,6 +9,8 @@ it('loading: standalone', async () => { const loading = await page.find('ion-loading'); expect(loading).not.toBeNull(); + await loading.waitForVisible(); + const compare = await page.compareScreenshot(); expect(compare).toMatchScreenshot(); }); diff --git a/core/src/components/select/test/basic/index.html b/core/src/components/select/test/basic/index.html index e9ce4066b1..8e6b9902f3 100644 --- a/core/src/components/select/test/basic/index.html +++ b/core/src/components/select/test/basic/index.html @@ -317,7 +317,6 @@ var isTrue = el[prop] ? false : true; el[prop] = isTrue; - console.log('in toggleBoolean, setting', prop, 'to', isTrue); } diff --git a/core/src/components/split-pane/test/basic/index.html b/core/src/components/split-pane/test/basic/index.html index 1ae0978678..28021cabad 100644 --- a/core/src/components/split-pane/test/basic/index.html +++ b/core/src/components/split-pane/test/basic/index.html @@ -79,16 +79,13 @@ diff --git a/core/src/components/split-pane/test/preview/index.html b/core/src/components/split-pane/test/preview/index.html index ecdd67dc27..39ea6b5a71 100644 --- a/core/src/components/split-pane/test/preview/index.html +++ b/core/src/components/split-pane/test/preview/index.html @@ -79,16 +79,13 @@ diff --git a/core/src/components/textarea/test/basic/index.html b/core/src/components/textarea/test/basic/index.html index 4211ea7918..b007243006 100644 --- a/core/src/components/textarea/test/basic/index.html +++ b/core/src/components/textarea/test/basic/index.html @@ -102,23 +102,18 @@ var isTrue = el[prop] ? false : true; el[prop] = isTrue; - console.log('in toggleBoolean, setting', prop, 'to', isTrue); } function toggleString(id, prop) { var el = document.getElementById(id); - console.log('INPUT ELE', el); - var newString = el[prop] === 'dynamic' ? 'changed' : 'dynamic'; el[prop] = newString; - console.log('in toggleString, setting', prop, 'to', newString); } function clearString(id, prop) { var el = document.getElementById(id); el[prop] = ''; - console.log('in toggleString, setting', prop, 'to', ''); } diff --git a/core/src/components/textarea/test/preview/index.html b/core/src/components/textarea/test/preview/index.html index 66531f709b..b7cf45e94c 100644 --- a/core/src/components/textarea/test/preview/index.html +++ b/core/src/components/textarea/test/preview/index.html @@ -107,23 +107,18 @@ var isTrue = el[prop] ? false : true; el[prop] = isTrue; - console.log('in toggleBoolean, setting', prop, 'to', isTrue); } function toggleString(id, prop) { var el = document.getElementById(id); - console.log('INPUT ELE', el); - var newString = el[prop] === 'dynamic' ? 'changed' : 'dynamic'; el[prop] = newString; - console.log('in toggleString, setting', prop, 'to', newString); } function clearString(id, prop) { var el = document.getElementById(id); el[prop] = ''; - console.log('in toggleString, setting', prop, 'to', ''); } diff --git a/core/src/components/toggle/test/basic/index.html b/core/src/components/toggle/test/basic/index.html index 45de29e7f0..c3ed7a0524 100644 --- a/core/src/components/toggle/test/basic/index.html +++ b/core/src/components/toggle/test/basic/index.html @@ -88,7 +88,7 @@ diff --git a/core/src/components/toggle/test/preview/index.html b/core/src/components/toggle/test/preview/index.html index 5597156b81..27c178c645 100644 --- a/core/src/components/toggle/test/preview/index.html +++ b/core/src/components/toggle/test/preview/index.html @@ -87,7 +87,7 @@ diff --git a/core/src/components/toolbar/test/preview/index.html b/core/src/components/toolbar/test/preview/index.html index 66c8d92af1..cf95267dde 100644 --- a/core/src/components/toolbar/test/preview/index.html +++ b/core/src/components/toolbar/test/preview/index.html @@ -176,7 +176,7 @@ diff --git a/core/src/components/toolbar/test/scenarios/index.html b/core/src/components/toolbar/test/scenarios/index.html index 097e3e6d89..d9a5c450dd 100644 --- a/core/src/components/toolbar/test/scenarios/index.html +++ b/core/src/components/toolbar/test/scenarios/index.html @@ -240,7 +240,7 @@ diff --git a/core/src/components/virtual-scroll/test/basic.html b/core/src/components/virtual-scroll/test/basic.html index f1e734a933..32b3719255 100644 --- a/core/src/components/virtual-scroll/test/basic.html +++ b/core/src/components/virtual-scroll/test/basic.html @@ -64,12 +64,9 @@ const infiniteScroll = document.getElementById('infinite-scroll'); infiniteScroll.addEventListener('ionInfinite', async function () { - console.log('Loading data...'); const data = await getAsyncData(); infiniteScroll.complete(); addItems(data); - - console.log('Done'); }); function addItems(append) {