[MGNLUI-5587] Test keyboard shortcuts behavior implemented in MGNLUI-4974 with new test framework Created: 03/Jan/20  Updated: 07/Jan/20

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Šimon Demočko Assignee: Šimon Demočko
Resolution: Unresolved Votes: 0
Labels: UI-test-postponed
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLTEST-2 core-TF -> New features, bugs, fixes... Selected
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Keyboard shortcuts

 Description   

Test normal behavior

  • e triggers inline edit
  • j/k moves
  • ... (as per MGNLUI-4974)

Test selecting downwards with SHIFT + J when root is focused. (used to throw exception)

  • focus any row
  • move up with ARROW_UP until root is focused
    • this can be checked in status bar, available actions and focus rectangle being absent
  • press SHIFT + J so as to trigger selection on current row.
  • No exception should be thrown, but focus should appear on the first row without the first row changing it's selection state
    • This basically means that focus rectangle is brought back on the first item as if just "j" was pressed. Next SHIFT+J would select this row and move focus to the next one.

Test shortcuts are not triggered during inline edit

  • trigger inline edit on a row
  • type all letters of alphabet as in GridWithShortcutsUITest
  • enter to save inline edit and not triggering default action
    • test this by having a single item selected when triggering inline edit and have default action configured (to enter, e.g. triggering DetailSubApp)

Test shortcuts are not triggered in filter columns already implemented in MGNLUI-5580 but in old framework, consider reimplementing for new framework.



 Comments   
Comment by Šimon Demočko [ 03/Jan/20 ]

Depends on Phase 2 of ARCHI-3 efforts

Generated at Mon Feb 12 09:28:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.