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

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

@ -9,7 +9,7 @@ test.describe('toggle: enableOnOffLabels', () => {
test('should not have visual regressions', async ({ page }) => {
await page.setIonViewport();
expect(await page.screenshot()).toMatchSnapshot(`toggle-on-off-labels-diff-${page.getSnapshotSettings()}.png`);
await expect(page).toHaveScreenshot(`toggle-on-off-labels-diff-${page.getSnapshotSettings()}.png`);
});
test.describe('dark mode', () => {
@ -32,9 +32,7 @@ test.describe('toggle: enableOnOffLabels', () => {
await page.setIonViewport();
expect(await page.screenshot()).toMatchSnapshot(
`toggle-on-off-labels-dark-mode-diff-${page.getSnapshotSettings()}.png`
);
await expect(page).toHaveScreenshot(`toggle-on-off-labels-dark-mode-diff-${page.getSnapshotSettings()}.png`);
});
});
});

View File

@ -9,7 +9,7 @@ test.describe('toggle: basic', () => {
test('should not have visual regressions', async ({ page }) => {
await page.setIonViewport();
expect(await page.screenshot()).toMatchSnapshot(`toggle-diff-${page.getSnapshotSettings()}.png`);
await expect(page).toHaveScreenshot(`toggle-diff-${page.getSnapshotSettings()}.png`);
});
test('should have proper class and aria role when checked', async ({ page }) => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -7,6 +7,6 @@ test.describe('toggle: sizes', () => {
await page.setIonViewport();
expect(await page.screenshot()).toMatchSnapshot(`toggle-sizes-diff-${page.getSnapshotSettings()}.png`);
await expect(page).toHaveScreenshot(`toggle-sizes-diff-${page.getSnapshotSettings()}.png`);
});
});