You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigate to https://demo.playwright.dev/todomvc/#/
Click What needs to be done? and enter text
Observe that codegen hasn't captured all text. Seems to only capture the first character that's been entered.
Empty field
Click field again and enter text, only first character is recorded again
Expected behavior
I expect input field to record all of the text I enter
Actual behavior
I entered testing and hello to the field, but this only captured the first character of each word.
import {test, expect} from '@playwright/test'
test('test', async ({page}) => {
await page.goto('https://demo.playwright.dev/todomvc/#/')
await page.getByPlaceholder('What needs to be done?').click()
await page.getByPlaceholder('What needs to be done?').fill('t') // I entered 'testing'
await page.locator('html').click()
await page.getByPlaceholder('What needs to be done?').click()
await page.getByPlaceholder('What needs to be done?').fill('h') // I entered 'hello'
})
Version
1.49.0
Steps to reproduce
https://demo.playwright.dev/todomvc/#/
What needs to be done?
and enter textExpected behavior
I expect input field to record all of the text I enter
Actual behavior
I entered
testing
andhello
to the field, but this only captured the first character of each word.Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: