stable

Clone or download

Read-only

Part of request #20905 : Fix focused test in filtered tests list

User looses focus when using `filter remaining tests` and `mark test as` shortcuts. Given that, from the tests list: * I use a shortcut to mark a test. * I use the shortcut to filter it. In those two cases, if the focused test is removed from the list due to filtering, the problem occurs. This patch aims at solving the first case. `Mark test` shortcuts now jump to the next test in list after marking the test. Also, some refactoring is done to change `document` call to a `doc` parameter. The second part of the problem should be fixed in another patch. Change-Id: Ia2c35bbec4e84a9f7aaa1937e47593099c7277a5

Modified Files

Name
M plugins/testmanagement/scripts/testmanagement/po/fr.po +6 −6 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-list.tpl.html +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/campaign/campaign-shortcuts.ts +9 −6 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/campaign/navigation-in-tests-list.ts +4 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/campaign/test-execution-shortcuts.ts +16 −11 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/campaigns-list-shortcuts.ts +6 −3 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/setup-shortcuts.ts +13 −4 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/shortcuts-handles/mark-test.ts +40 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/shortcuts-handles/trigger-datashortcut-element.ts +6 −6 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/keyboard-navigation/type.ts +8 −0 Go to diff View file