Skip to content

Quick restart isn't respected after switching to long test #8059

@Leonabcd123

Description

@Leonabcd123

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

RobiRabbit

Account config

No response

Current Behavior

After switching to a long test, pressing the quick restart key doesn't restart the test, and when trying to press it mid test it won't show the expected notification which says that quick restart is disabled in long tests.

Everything works fine after reloading.

Expected Behavior

Pressing the quick restart key before the test has started should restart it, pressing it mid test should show a notification.

Steps To Reproduce

  1. Set quick restart key to tab
  2. Go to test page
  3. Change time to 0
  4. Press tab
  5. Notice how the test hasn't restarted

Environment

  • OS: Arch Linux
  • Browser: Firefox
  • Browser Version: 150.0.3

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions