test: remove css animations e2e tests

This commit is contained in:
Liam DeBeasi
2024-02-13 08:49:11 -05:00
parent c91bd63ed5
commit 74a33e7b8e
11 changed files with 0 additions and 58 deletions

View File

@@ -12,11 +12,6 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
await page.goto('/src/utils/animation/test/animationbuilder', config);
await testNavigation(page);
});
test('ios-transition css', async ({ page }) => {
await page.goto('/src/utils/animation/test/animationbuilder?ionic:_forceCSSAnimations=true', config);
await testNavigation(page);
});
});
});

View File

@@ -13,11 +13,6 @@
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
<script>
const forceCSSAnimations = new URLSearchParams(window.location.search).get('ionic:_forceCSSAnimations');
if (forceCSSAnimations) {
Element.prototype.animate = null;
}
class PageRoot extends HTMLElement {
connectedCallback() {
this.innerHTML = `

View File

@@ -7,11 +7,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
await page.goto('/src/utils/animation/test/basic', config);
await testPage(page);
});
test(`should resolve using css animations`, async ({ page }) => {
await page.goto('/src/utils/animation/test/basic?ionic:_forceCSSAnimations=true', config);
await testPage(page);
});
});
});

View File

@@ -13,11 +13,6 @@
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
<script type="module">
const forceCSSAnimations = new URLSearchParams(window.location.search).get('ionic:_forceCSSAnimations');
if (forceCSSAnimations) {
Element.prototype.animate = null;
}
import { createAnimation } from '../../../../dist/ionic/index.esm.js';
const squareA = document.querySelector('.square-a');

View File

@@ -8,11 +8,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
await page.goto('/src/utils/animation/test/display', config);
await testDisplay(page);
});
test(`should resolve using css animations`, async ({ page }) => {
await page.goto('/src/utils/animation/test/display?ionic:_forceCSSAnimations=true', config);
await testDisplay(page);
});
});
});

View File

@@ -13,11 +13,6 @@
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
<script type="module">
const forceCSSAnimations = new URLSearchParams(window.location.search).get('ionic:_forceCSSAnimations');
if (forceCSSAnimations) {
Element.prototype.animate = null;
}
import { createAnimation } from '../../../../dist/ionic/index.esm.js';
const squareA = document.querySelector('.square-a');

View File

@@ -8,11 +8,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
await page.goto('/src/utils/animation/test/hooks', config);
await testHooks(page);
});
test(`should fire hooks using css animations`, async ({ page }) => {
await page.goto('/src/utils/animation/test/hooks?ionic:_forceCSSAnimations=true', config);
await testHooks(page);
});
});
});

View File

@@ -13,11 +13,6 @@
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
<script type="module">
const forceCSSAnimations = new URLSearchParams(window.location.search).get('ionic:_forceCSSAnimations');
if (forceCSSAnimations) {
Element.prototype.animate = null;
}
import { createAnimation } from '../../../../dist/ionic/index.esm.js';
const squareA = document.querySelector('.square-a');

View File

@@ -8,14 +8,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
await page.goto('/src/utils/animation/test/multiple', config);
await testMultiple(page);
});
/**
* CSS animations will occasionally resolve out of order, so we skip for now
*/
test.skip(`should resolve grouped animations using css animations`, async ({ page }) => {
await page.goto('/src/utils/animation/test/multiple?ionic:_forceCSSAnimations=true', config);
await testMultiple(page);
});
});
});

View File

@@ -13,11 +13,6 @@
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
<script type="module">
const forceCSSAnimations = new URLSearchParams(window.location.search).get('ionic:_forceCSSAnimations');
if (forceCSSAnimations) {
Element.prototype.animate = null;
}
import { createAnimation } from '../../../../dist/ionic/index.esm.js';
const squareA = document.querySelector('.square-a');

View File

@@ -13,11 +13,6 @@
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
<script type="module">
const forceCSSAnimations = new URLSearchParams(window.location.search).get('ionic:_forceCSSAnimations');
if (forceCSSAnimations) {
Element.prototype.animate = null;
}
import { createAnimation } from '../../../../dist/ionic/index.esm.js';
createAnimation()