Skip to content

flake: WorkspacePage › updates the parameters when they are missing during update #881

@ThomasK33

Description

@ThomasK33
Summary of all failing tests
FAIL src/pages/WorkspacePage/WorkspacePage.test.tsx (25.38 s)
  ● WorkspacePage › updates the parameters when they are missing during update

    Timed out in waitFor.

      338 | 		// After trying to update, a new dialog asking for missed parameters should
      339 | 		// be displayed and filled
    > 340 | 		const dialog = await waitFor(() => screen.findByTestId("dialog"));
          | 		                            ^
      341 | 		const firstParameterInput = within(dialog).getByLabelText(
      342 | 			MockTemplateVersionParameter1.name,
      343 | 			{ exact: false },

      at waitForWrapper (node_modules/.pnpm/@testing-library+dom@9.3.3/node_modules/@testing-library/dom/dist/wait-for.js:162:27)
      at Object.<anonymous> (src/pages/WorkspacePage/WorkspacePage.test.tsx:340:31)


Test Suites: 1 failed, 1 skipped, 92 passed, 93 of 94 total
Tests:       1 failed, 1 skipped, 1182 passed, 1184 total
Snapshots:   0 total
Time:        33.64 s
 ELIFECYCLE  Command failed with exit code 1.

https://github.com/coder/coder/actions/runs/16876454851/job/47802075693

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions