diff --git a/tests/page/page-fill.spec.ts b/tests/page/page-fill.spec.ts index dc2e3afea9..40fe973882 100644 --- a/tests/page/page-fill.spec.ts +++ b/tests/page/page-fill.spec.ts @@ -342,3 +342,12 @@ it('should not throw when fill causes navigation', async ({ page, server }) => { ]); expect(page.url()).toContain('empty.html'); }); + +it('fill back to back', async ({ page }) => { + it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/15925' }); + await page.setContent(``); + await page.fill('id=one', 'first value'); + await page.fill('id=two', 'second value'); + await expect(page.locator('id=one')).toHaveValue('first value'); + await expect(page.locator('id=two')).toHaveValue('second value'); +});