Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration tests for arrow selection #39

Open
javier-godoy opened this issue Dec 6, 2022 · 0 comments
Open

Add integration tests for arrow selection #39

javier-godoy opened this issue Dec 6, 2022 · 0 comments

Comments

@javier-godoy
Copy link
Member

The test can be something along the following lines, but I was not able to send keys on Grid

    $server.setSelectionMode(SelectionMode.SINGLE);
    $server.setArrowSelectionEnabled(true);

    assertThat($server.getSelectedRows(), equalToList());

    grid.sendKeys(Keys.DOWN);
    grid.sendKeys(Keys.DOWN);
    assertThat($server.getSelectedRows(), equalToList(2));

    grid.sendKeys(Keys.UP);
    assertThat($server.getSelectedRows(), equalToList(1));
@paodb paodb moved this to Under consideration in Flowing Code Addons May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Under consideration
Development

No branches or pull requests

1 participant