Skip to content

Adding cypress tests for hotkeys #42528

Closed

Description

@gikf

Issue for tracking adding cypress tests of hotkeys, as per #42503.

Challenges / Projects / Video challenges:

  • Navigation mode - 'escape'
  • Previous challenge - 'p'
  • Next challenge - 'n'
  • Focus on editor - 'e'
  • Focus on instructions panel - 'r'
  • Running the tests - 'ctrl + enter' / 'command + enter'

Activity

  1. added
    platform: learn
    on Jun 16, 2021
  2. self-assigned this
    on Jun 16, 2021
  3. Sembauke commented on Aug 9, 2021

    @Sembauke
    Member

    Hey @gikfk, Are you still planning on working on this?

  4. gikf commented on Aug 9, 2021

    @gikf
    MemberAuthor

    Hey @Sembauke, sorry, I haven't managed to start on this yet. If you'd want feel free to have a go at it.

  5. added
    help wanted
    on Aug 12, 2021
  6. lastrafda commented on Aug 14, 2021

    @lastrafda

    I would like to work on this @Sembauke

  7. Sembauke commented on Aug 15, 2021

    @Sembauke
    Member

    Hey @lastrafda,
    This is a pretty though one, let me know if you need some help.

  8. lastrafda commented on Aug 15, 2021

    @lastrafda

    Thanks @Sembauke I'll let you know! In fact I do need some help
    I was looking at a video challenge and I realized that you have to click inside the main tag or focus the "Check your answer" button in order to be able to use the previous challenge and next challenge hotkeys, is this the expected behavior?

  9. ShaunSHamilton commented on Aug 19, 2021

    @ShaunSHamilton
    Member

    @lastrafda

    you have to click inside the main tag or focus the "Check your answer" button in order to be able to use the previous challenge and next challenge hotkeys

    Expected behaviour is using the esc key to allow the hotkeys to be targeted. That is, to enter navigation mode:

    Navigation mode - 'escape'

  10. Sembauke commented on Sep 10, 2021

    @Sembauke
    Member

    I've tested some of the hotkeys and the previous and next challenge hotkey does not seem to work for me. Can anyone test this out?

  11. gikf commented on Sep 10, 2021

    @gikf
    MemberAuthor

    Any specific challenge type?

    • classic challenges: esc ->p and n works for current and challenges that are changed to
    • backend/project challenges: esc -> p and n works for current and challenges that are changed to
    • video challenges: click on page -> esc -> p and n works for current challenge, after changing challenge with hotkey, it's needed to click again on page to be able to use p or n
  12. ojeytonwilliams commented on Sep 15, 2021

    @ojeytonwilliams
    Contributor

    video challenges: click on page -> esc -> p and n works for current challenge, after changing challenge with hotkey, it's needed to click again on page to be able to use p or n

    Good catch @gikf I'll add a fix to Sem's PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedplatform: learn

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions