Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5587

Test keyboard shortcuts behavior implemented in MGNLUI-4974 with new test framework

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • None
    • None

      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.

        Acceptance criteria

              sdemocko Šimon Demočko
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Task DoR