mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
a582cb6124
commit
00ea675409
1 changed files with 4 additions and 4 deletions
|
@ -543,8 +543,8 @@ test.describe('View Transitions', () => {
|
||||||
const pageTitle = page.locator('.page');
|
const pageTitle = page.locator('.page');
|
||||||
await expect(pageTitle).toHaveText('Island 2');
|
await expect(pageTitle).toHaveText('Island 2');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Solid Islands can persist using transition:persist', async ({ page, astro }) => {
|
test('Solid Islands can persist using transition:persist', async ({ page, astro }) => {
|
||||||
// Go to page 1
|
// Go to page 1
|
||||||
await page.goto(astro.resolveUrl('/island-solid-one'));
|
await page.goto(astro.resolveUrl('/island-solid-one'));
|
||||||
let cnt = page.locator('.counter pre');
|
let cnt = page.locator('.counter pre');
|
||||||
|
@ -569,7 +569,7 @@ test.describe('View Transitions', () => {
|
||||||
await expect(cnt).toHaveText('A1');
|
await expect(cnt).toHaveText('A1');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Svelte Islands can persist using transition:persist', async ({ page, astro }) => {
|
test('Svelte Islands can persist using transition:persist', async ({ page, astro }) => {
|
||||||
// Go to page 1
|
// Go to page 1
|
||||||
await page.goto(astro.resolveUrl('/island-svelte-one'));
|
await page.goto(astro.resolveUrl('/island-svelte-one'));
|
||||||
let cnt = page.locator('.counter pre');
|
let cnt = page.locator('.counter pre');
|
||||||
|
@ -586,7 +586,7 @@ test.describe('View Transitions', () => {
|
||||||
// Count should remain, but the prefix should be updated
|
// Count should remain, but the prefix should be updated
|
||||||
await expect(cnt).toHaveText('B1');
|
await expect(cnt).toHaveText('B1');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Vue Islands can persist using transition:persist', async ({ page, astro }) => {
|
test('Vue Islands can persist using transition:persist', async ({ page, astro }) => {
|
||||||
// Go to page 1
|
// Go to page 1
|
||||||
await page.goto(astro.resolveUrl('/island-vue-one'));
|
await page.goto(astro.resolveUrl('/island-vue-one'));
|
||||||
|
|
Loading…
Reference in a new issue