Logo: Relish

  1. Sign in

Project: Data-curator

Move cursor in table

As a Data Packager

I want to move the cursor within the table

So that I can edit data in a different cell

RULES

  • Move commands are invoked by the arrow keys
  • If a movement causes the cursor to move off the screen but is still within the table, then scroll the table so the cursor remains visible on the screen
  • If the cursor is in the first or last, row or column and a move command would go beyond the edge of the table, do nothing
Background
Given
Data Curator is open
And
the cursor is in a cell
Scenarios
Move Up
When
"Move Up" is invoked
Then
the cursor should move to the cell above
And
the cursor should remain visible on the screen by scrolling the table
Move Down
When
"Move Down" is invoked
Then
the cursor should move to the cell below
And
the cursor should remain visible on the screen by scrolling the table
Move Left
When
"Move Left" is invoked
Then
the cursor should move to the cell on the left
And
the cursor should remain visible on the screen by scrolling the table
Move Right
When
"Move Right" is invoked
Then
the cursor should move to the cell on the right
And
the cursor should remain visible on the screen by scrolling the table

Last published over 1 year ago by Matt Mulholland.