Thanks to visit codestin.com
Credit goes to github.com

Skip to content

flake: Tests for TemplateSchedulePage sometimes time out #9793

@Parkreiner

Description

@Parkreiner

Already working on this – just filing it as an issue for documentation purposes.
Link to test logs

Log excerpt:

FAIL test src/pages/TemplateSettingsPage/TemplateSchedulePage/TemplateSchedulePage.test.tsx (78.533 s)
  ● TemplateSchedulePage › succeeds

    thrown: "Exceeded timeout of 20000 ms for a test.
    Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

      110 |   });
      111 |
    > 112 |   it("succeeds", async () => {
          |   ^
      113 |     await renderTemplateSchedulePage();
      114 |     jest.spyOn(API, "updateTemplateMeta").mockResolvedValueOnce({
      115 |       ...MockTemplate,

      at it (src/pages/TemplateSettingsPage/TemplateSchedulePage/TemplateSchedulePage.test.tsx:112:3)
      at Object.describe (src/pages/TemplateSettingsPage/TemplateSchedulePage/TemplateSchedulePage.test.tsx:102:1)

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions