diff options
-rw-r--r-- | packages/astro/e2e/view-transitions.test.js | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/astro/e2e/view-transitions.test.js b/packages/astro/e2e/view-transitions.test.js index 5e2ea0ace..0913380c6 100644 --- a/packages/astro/e2e/view-transitions.test.js +++ b/packages/astro/e2e/view-transitions.test.js @@ -1168,20 +1168,25 @@ test.describe('View Transitions', () => { ).toEqual(['application/x-www-form-urlencoded']); }); - - test('form POST that includes an input with name action should not override action', async ({ page, astro }) => { + test('form POST that includes an input with name action should not override action', async ({ + page, + astro, + }) => { await page.goto(astro.resolveUrl('/form-six')); page.on('request', (request) => { - expect(request.url()).toContain('/bar') + expect(request.url()).toContain('/bar'); }); // Submit the form await page.click('#submit'); }); - test('form without method that includes an input with name method should not override default method', async ({ page, astro }) => { + test('form without method that includes an input with name method should not override default method', async ({ + page, + astro, + }) => { await page.goto(astro.resolveUrl('/form-seven')); page.on('request', (request) => { - expect(request.method()).toBe('GET') + expect(request.method()).toBe('GET'); }); // Submit the form await page.click('#submit'); |