Skip to content

Fix failing leaderboard gradeable test #12683

Description

@williamjallen

The leaderboard_gradeable.spec.js Cypress test has failed multiple times recently with the following error:

 Running:  leaderboard_gradeable.spec.js                                                 (10 of 14)


  Tests leaderboard access
    ✓ Should check if leaderboard is accessible to users (9197ms)
    (Attempt 1 of 3) Should correctly handle tied rankings on the leaderboard
    (Attempt 2 of 3) Should correctly handle tied rankings on the leaderboard
    1) Should correctly handle tied rankings on the leaderboard


  1 passing (41s)
  1 failing

  1) Tests leaderboard access
       Should correctly handle tied rankings on the leaderboard:

      Timed out retrying after 10000ms
      + expected - actual

      +'All Changes Saved'
      
      at Context.eval (webpack://submitty/./cypress/e2e/Cypress-Gradeable/leaderboard_gradeable.spec.js:52:51)

We should figure out why this test is flaky and address it. Flaky tests significantly reduce developer productivity.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions