Skip to content

Commit

Permalink
remove redundant files and method
Browse files Browse the repository at this point in the history
  • Loading branch information
DeamonDev committed Dec 19, 2024
1 parent 5e70605 commit e541b92
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 48 deletions.
2 changes: 1 addition & 1 deletion designer/client/cypress/e2e/counts.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe("Counts", () => {
.click();
cy.get("[data-testid=window]").matchImage({ maxDiffThreshold });
cy.get("[data-testid=window]").contains("no refresh").should("be.visible");
cy.get("[data-testid=window]").contains("Latest deploy").click();
cy.get("[data-testid=window]").contains("Latest run").click();
cy.get("[data-testid=window]").contains("10 seconds").should("be.visible");
});

Expand Down

This file was deleted.

13 changes: 0 additions & 13 deletions designer/client/src/http/HttpService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,19 +339,6 @@ class HttpService {
.then((res) => res.reverse().map((item) => ({ ...item, type: item.type as ActivityTypesRelatedToExecutions })));
}

fetchProcessesDeployments(processName: string) {
return api
.get<
{
performedAt: string;
actionName: ActionName;
}[]
>(`/processes/${encodeURIComponent(processName)}/deployments`)
.then((res) =>
res.data.filter(({ actionName }) => actionName === PredefinedActionName.Deploy).map(({ performedAt }) => performedAt),
);
}

deploy(
processName: string,
comment?: string,
Expand Down

0 comments on commit e541b92

Please sign in to comment.