added next test command

closes #3438
This commit is contained in:
Miodec 2022-08-26 12:00:20 +02:00
parent f6d377225c
commit 1e868414fb

View file

@ -3203,6 +3203,18 @@ export const defaultCommands: MonkeyTypes.CommandsGroup = {
icon: "fa-arrows-alt-h",
subgroup: commandsPageWidth,
},
{
id: "nextTest",
display: "Next test",
alias: "restart start begin type test typing",
icon: "fa-chevron-right",
available: (): boolean => {
return TestUI.resultVisible;
},
exec: (): void => {
TestLogic.restart();
},
},
{
id: "viewTypingPage",
display: "View Typing Page",