mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
feat(custom-elements): add experimental custom elements build (#22863)
Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com>
This commit is contained in:
@ -5,7 +5,7 @@ test('segment: colors', async () => {
|
||||
url: '/src/components/segment/test/colors?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.waitFor(250);
|
||||
await page.waitForTimeout(250);
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
expect(compare).toMatchScreenshot();
|
||||
@ -16,7 +16,7 @@ test('segment:rtl: colors', async () => {
|
||||
url: '/src/components/segment/test/colors?ionic:_testing=true&rtl=true'
|
||||
});
|
||||
|
||||
await page.waitFor(250);
|
||||
await page.waitForTimeout(250);
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
expect(compare).toMatchScreenshot();
|
||||
|
@ -154,7 +154,9 @@
|
||||
for (var i = 0; i < customIconSegments.length; i++) {
|
||||
const customIconSegment = customIconSegments[i];
|
||||
|
||||
await customIconSegment.componentOnReady();
|
||||
if (customIconSegment.componentOnReady) {
|
||||
await customIconSegment.componentOnReady();
|
||||
}
|
||||
addIconClass(customIconSegment, customIconSegment.value);
|
||||
|
||||
customIconSegment.addEventListener('ionChange', function (ev) {
|
||||
|
@ -5,7 +5,7 @@ test('segment: toolbar', async () => {
|
||||
url: '/src/components/segment/test/toolbar?ionic:_testing=true'
|
||||
});
|
||||
|
||||
await page.waitFor(250);
|
||||
await page.waitForTimeout(250);
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
expect(compare).toMatchScreenshot();
|
||||
@ -16,7 +16,7 @@ test('segment:rtl: toolbar', async () => {
|
||||
url: '/src/components/segment/test/toolbar?ionic:_testing=true&rtl=true'
|
||||
});
|
||||
|
||||
await page.waitFor(250);
|
||||
await page.waitForTimeout(250);
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
expect(compare).toMatchScreenshot();
|
||||
|
Reference in New Issue
Block a user