stable
Clone or download
Read-only
request #19279 : Fix arrow navigation in Test Managemement
This patch fixes a bug that makes arrow navigation inconsistent between categories and prevents to move to next test if it is in a different category. The `moveFocus` has been remade. User should be able to navigate using arrows in tests list without getting stuck. Change-Id: Ib2a79762569963f455b5ea8883fb995dea7dcdc9
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/testmanagement/scripts/testmanagement/src/execution/execution-list-controller.js | +3 | −1 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/execution/execution-list.tpl.html | +5 | −3 | Go to diff View file |
A | plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/get-current-category.ts | +28 | −0 | Go to diff View file |
A | plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/get-current-test.ts | +23 | −0 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/move-focus.test.ts | +130 | −68 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/move-focus.ts | +57 | −66 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/setup-shortcuts.ts | +9 | −9 | Go to diff View file |