def METHOD_NAME(screen: Screen):
    input_ = ui.input('Name', value='Pete')
    screen.open('/')
    element = screen.selenium.find_element(By.XPATH, '//*[@aria-label="Name"]')
    assert element.get_attribute('value') == 'Pete'
    element.send_keys('r')
    screen.wait(0.5)
    assert element.get_attribute('value') == 'Peter'
    input_.value = 'Pete'
    screen.wait(0.5)
    assert element.get_attribute('value') == 'Pete'