mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
test: add a passing test for issue (#15928)
This commit is contained in:
parent
6fcc916f00
commit
9a00c7319b
@ -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(`<input id="one"></input><input id="two"></input>`);
|
||||
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');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user