Skip to content

Commit 0f56e29

Browse files
committed
Fix tests
1 parent 1dacdd9 commit 0f56e29

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

site/src/pages/WorkspacePage/WorkspacePage.test.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
MockOutdatedWorkspace,
1414
MockTemplateVersionParameter1,
1515
MockTemplateVersionParameter2,
16-
MockBuilds,
1716
MockUser,
1817
MockDeploymentConfig,
1918
MockWorkspaceBuildDelete,
@@ -317,18 +316,6 @@ describe("WorkspacePage", () => {
317316
});
318317
});
319318

320-
it("shows the timeline build", async () => {
321-
await renderWorkspacePage(MockWorkspace);
322-
const table = await screen.findByTestId("builds-table");
323-
324-
// Wait for the results to be loaded
325-
await waitFor(async () => {
326-
const rows = table.querySelectorAll("tbody > tr");
327-
// Added +1 because of the date row
328-
expect(rows).toHaveLength(MockBuilds.length + 1);
329-
});
330-
});
331-
332319
it("restart the workspace with one time parameters when having the confirmation dialog", async () => {
333320
window.localStorage.removeItem(`${MockUser.id}_ignoredWarnings`);
334321
jest.spyOn(api, "getWorkspaceParameters").mockResolvedValue({

0 commit comments

Comments
 (0)