def METHOD_NAME(test, props):
    test.start_server(get_app(props))
    target = test.table("table")
    c1 = target.cell(3, 1)
    c1.double_click()
    assert c1.is_focused()
    assert c1.is_value_focused()
    test.send_keys(Keys.ARROW_UP)
    assert c1.is_focused()
    assert c1.is_value_focused()
    text_length = len(c1.get_text())
    selection_start = test.driver.execute_script(
        "return document.activeElement.selectionStart"
    )
    selection_end = test.driver.execute_script(
        "return document.activeElement.selectionEnd"
    )
    assert selection_start == text_length - 1
    assert selection_end == text_length - 1
    test.send_keys(Keys.ARROW_DOWN)
    assert c1.is_focused()
    assert c1.is_value_focused()
    selection_start = test.driver.execute_script(
        "return document.activeElement.selectionStart"
    )
    selection_end = test.driver.execute_script(
        "return document.activeElement.selectionEnd"
    )
    assert selection_start == text_length
    assert selection_end == text_length
    assert test.get_log_errors() == []