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
I use next code for check input value with "disabled" element property after value was changed:
await expect(async () => {
let actual = await page.inputValue('[data-testid="amount"]')
... code which compares expected result with actual. Never mind with expect, if or other conditions.
}).toPass({timeout: 10000})
But it always result previous value before update.
With not disabled input field it works okay.
And even in DOM I can see that value property changed. But instead of it returns previous value before update
Note: value of disabled field becomes updated after other fields changes.
Expected behavior
Return new value of disabled input when is was changed
Version
1.50.0
Steps to reproduce
I use next code for check input value with "disabled" element property after value was changed:
But it always result previous value before update.
With not disabled input field it works okay.
And even in DOM I can see that value property changed. But instead of it returns previous value before update
Note: value of disabled field becomes updated after other fields changes.
Expected behavior
Return new value of disabled input when is was changed
Actual behavior
It returns value before input update
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: