Test Management 2.0 - Where does the sort order for the Test Execution Assignments come from when they are being run.
The selected Test Execution Assignments when run from the "Tests Assigned to me" has its sort order defined in the UI Macro called "test_step_list". In the UI Macro, there is an orderBy() method that specifies that the selected records are ordered by the related Test's Number.
The code is:
gr.orderBy('test_version.test.number');
You can do a quick test and change it to something such as the following and it will sort by the Test's Short Description:
gr.orderBy(test_version.test.short_description);
To view the UI Macro, follow the steps below.
[code]<!--MFRNextSteps-->Next Steps:[/code]
1. Navigate to System UI > UI Macros2. In the "Name" column search for "test_step_list" and go to the record
3. Search the code for "orderBy". It should be the only one in the code
https://www.servicenow.com/community/spm-articles/test-management-2-0-where-does-the-sort-order-for-the-test/ta-p/2302053