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));
@javier-godoy javier-godoy added this to Inbox (needs triage) in Flowing Code Addons (legacy) via automation Dec 6, 2022
@javier-godoy javier-godoy moved this from Inbox (needs triage) to Under consideration in Flowing Code Addons (legacy) Dec 19, 2022
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
Flowing Code Addons (legacy)
  
Under consideration
Development

No branches or pull requests

1 participant