mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] format
This commit is contained in:
parent
a8f35777e7
commit
660e6f80f4
1 changed files with 4 additions and 1 deletions
|
@ -193,7 +193,10 @@ test.describe('View Transitions', () => {
|
||||||
await expect(article, 'should have script content').toHaveText('works');
|
await expect(article, 'should have script content').toHaveText('works');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('astro:page-load event fires when navigating directly to a page', async ({ page, astro }) => {
|
test('astro:page-load event fires when navigating directly to a page', async ({
|
||||||
|
page,
|
||||||
|
astro,
|
||||||
|
}) => {
|
||||||
// Go to page 2
|
// Go to page 2
|
||||||
await page.goto(astro.resolveUrl('/two'));
|
await page.goto(astro.resolveUrl('/two'));
|
||||||
const article = page.locator('#twoarticle');
|
const article = page.locator('#twoarticle');
|
||||||
|
|
Loading…
Reference in a new issue