I often click on the "Run Test" button on the page to execute test cases. It's very inconvenient to come back and click this button again after making modifications elsewhere when a test fails. Is there a shortcut key available to execute the most recent test?
In IntelliJ IDEA, I can just use "Ctrl+ F5".
You are looking for the command
workbench.action.tasks.reRunTask “Tasks: Rerun Last Task”.
As with any command, you can set its keyboard shortcut to Ctrl+F5 or anything else you want, but it doesn't have one by default.
There are also “Run Task” and “Run Test Task” which pop up menus, but the most recently used task will be first in the menu.