chore(): sync with main
@ -1,36 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Spinner - Standalone</title>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||
/>
|
||||
<link href="../../../../../css/core.css" rel="stylesheet" />
|
||||
<link href="../../../../../scripts/testing/styles.css" rel="stylesheet" />
|
||||
<script src="../../../../../scripts/testing/scripts.js"></script>
|
||||
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
|
||||
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<ion-spinner></ion-spinner>
|
||||
<ion-spinner name="lines"></ion-spinner>
|
||||
<ion-spinner name="lines-small"></ion-spinner>
|
||||
<ion-spinner name="circular"></ion-spinner>
|
||||
<ion-spinner name="dots"></ion-spinner>
|
||||
<ion-spinner name="bubbles"></ion-spinner>
|
||||
<ion-spinner name="circles"></ion-spinner>
|
||||
<ion-spinner name="crescent"></ion-spinner>
|
||||
<ion-spinner name="lines" class="custom"></ion-spinner>
|
||||
<ion-spinner paused></ion-spinner>
|
||||
<ion-spinner name="bubbles" color="tertiary" paused class="custom"></ion-spinner>
|
||||
|
||||
<style>
|
||||
.custom {
|
||||
--color: red;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,15 +0,0 @@
|
||||
import { expect } from '@playwright/test';
|
||||
import { test } from '@utils/test/playwright';
|
||||
|
||||
test.describe('spinner: standalone', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/src/components/spinner/test/standalone');
|
||||
});
|
||||
test.describe('spinner: visual regression tests', () => {
|
||||
test('should not have visual regressions', async ({ page }) => {
|
||||
await page.setIonViewport();
|
||||
|
||||
expect(await page.screenshot()).toMatchSnapshot(`spinner-standalone-diff-${page.getSnapshotSettings()}.png`);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 23 KiB |