feat(Cypress): hotkey tests (#43434)
* feat(Cypress): hotkey tests * fix: test previous next for projects * fix: link time-out firefox * feat: test the "r" hotkey * fix: change select back to body for now * fix: retain navigation mode for video challenges * test: find focused elements * fix: move focus from panel before pressing 'r' Co-authored-by: gikf <60067306+gikf@users.noreply.github.com> * test: add hotkey test for backend * test: remove redundant {esc} presses * refactor: naming change * fix: refactor properly * fix: actually refactor it properly Co-authored-by: gikf <60067306+gikf@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
This commit is contained in:
@@ -112,6 +112,7 @@ class ShowVideo extends Component<ShowVideoProps, ShowVideoState> {
|
||||
helpCategory
|
||||
});
|
||||
challengeMounted(challengeMeta.id);
|
||||
this._container?.focus();
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps: ShowVideoProps): void {
|
||||
|
Reference in New Issue
Block a user