[ci] format
This commit is contained in:
parent
59b5562326
commit
fa6fc8ba4c
1 changed files with 3 additions and 3 deletions
|
@ -182,11 +182,11 @@ test.describe('View Transitions', () => {
|
||||||
await page.click('#click-one');
|
await page.click('#click-one');
|
||||||
await expect(p, 'should have content').toHaveText('Page 1');
|
await expect(p, 'should have content').toHaveText('Page 1');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('<Image /> component forwards transitions to the <img>', async ({ page, astro }) => {
|
test('<Image /> component forwards transitions to the <img>', async ({ page, astro }) => {
|
||||||
// Go to page 1
|
// Go to page 1
|
||||||
await page.goto(astro.resolveUrl('/image-one'));
|
await page.goto(astro.resolveUrl('/image-one'));
|
||||||
const img = page.locator('img[data-astro-transition-scope]');
|
const img = page.locator('img[data-astro-transition-scope]');
|
||||||
await expect(img).toBeVisible('The image tag should have the transition scope attribute.');
|
await expect(img).toBeVisible('The image tag should have the transition scope attribute.');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue