chore(): sync with main

This commit is contained in:
Liam DeBeasi
2023-02-22 10:00:56 -05:00
1733 changed files with 1401 additions and 1068 deletions

View File

@ -11,6 +11,7 @@ test.describe('checkbox: basic visual tests', () => {
expect(await checkbox.screenshot()).toMatchSnapshot(`checkbox-unchecked-${page.getSnapshotSettings()}.png`);
});
<<<<<<< HEAD
test('should render checked checkbox correctly', async ({ page }) => {
await page.setContent(`
<ion-checkbox checked>Checked</ion-checkbox>
@ -96,5 +97,8 @@ test.describe('checkbox: ionChange', () => {
await checkbox.evaluate((el: HTMLIonCheckboxElement) => (el.checked = true));
expect(ionChange).not.toHaveReceivedEvent();
=======
await expect(page).toHaveScreenshot(`checkbox-basic-${page.getSnapshotSettings()}.png`);
>>>>>>> origin/main
});
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -7,7 +7,13 @@ test.describe('checkbox: indeterminate', () => {
await page.goto(`/src/components/checkbox/test/indeterminate`);
<<<<<<< HEAD
const checkbox = page.locator('ion-checkbox:first-child');
expect(await checkbox.screenshot()).toMatchSnapshot(`checkbox-indeterminate-${page.getSnapshotSettings()}.png`);
=======
await page.setIonViewport();
await expect(page).toHaveScreenshot(`checkbox-indeterminate-${page.getSnapshotSettings()}.png`);
>>>>>>> origin/main
});
});