We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc3336e commit 28bc898Copy full SHA for 28bc898
packages/kit/test/apps/basics/test/cross-platform/client.test.js
@@ -922,7 +922,9 @@ test.describe('Routing', () => {
922
});
923
924
test('responds to <form method="GET"> submission without reload', async ({ page }) => {
925
- await page.goto('/routing/form-get');
+ // wait until load to ensure that all in-flight requests are completed before
926
+ // we start watching requests
927
+ await page.goto('/routing/form-get', { waitUntil: 'load' });
928
929
expect(await page.textContent('h1')).toBe('...');
930
expect(await page.textContent('h2')).toBe('enter');
0 commit comments