Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change order of eventtypes and routingforms #17615

Merged
merged 11 commits into from
Nov 25, 2024
12 changes: 6 additions & 6 deletions apps/web/playwright/embed-code-generator.e2e.ts
Praashh marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test.describe("Embed Code Generator Tests", () => {
await page.waitForTimeout(1000);
await expectToContainValidPreviewIframe(page, {
embedType: "inline",
calLink: `${pro.username}/30-min`,
calLink: `${pro.username}/multiple-duration`,
});
});

Expand Down Expand Up @@ -102,7 +102,7 @@ test.describe("Embed Code Generator Tests", () => {
await page.waitForTimeout(1000);
await expectToContainValidPreviewIframe(page, {
embedType: "floating-popup",
calLink: `${pro.username}/30-min`,
calLink: `${pro.username}/multiple-duration`,
});
});

Expand Down Expand Up @@ -140,7 +140,7 @@ test.describe("Embed Code Generator Tests", () => {
await page.waitForTimeout(1000);
await expectToContainValidPreviewIframe(page, {
embedType: "element-click",
calLink: `${pro.username}/30-min`,
calLink: `${pro.username}/multiple-duration`,
});
});
});
Expand Down Expand Up @@ -238,7 +238,7 @@ test.describe("Embed Code Generator Tests", () => {
await page.waitForTimeout(1000);
await expectToContainValidPreviewIframe(page, {
embedType: "inline",
calLink: `${user.username}/30-min`,
calLink: `${user.username}/multiple-duration`,
bookerUrl: getOrgFullOrigin(org?.slug ?? ""),
});
});
Expand Down Expand Up @@ -279,7 +279,7 @@ test.describe("Embed Code Generator Tests", () => {
await page.waitForTimeout(1000);
await expectToContainValidPreviewIframe(page, {
embedType: "floating-popup",
calLink: `${user.username}/30-min`,
calLink: `${user.username}/multiple-duration`,
bookerUrl: getOrgFullOrigin(org?.slug ?? ""),
});
});
Expand Down Expand Up @@ -319,7 +319,7 @@ test.describe("Embed Code Generator Tests", () => {
await page.waitForTimeout(1000);
await expectToContainValidPreviewIframe(page, {
embedType: "element-click",
calLink: `${user.username}/30-min`,
calLink: `${user.username}/multiple-duration`,
bookerUrl: getOrgFullOrigin(org?.slug ?? ""),
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/app-store/routing-forms/trpc/forms.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const formsHandler = async ({ ctx, input }: FormsHandlerOptions) => {
position: "desc",
},
{
createdAt: "asc",
createdAt: "desc",
},
],
include: {
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/server/repository/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class WorkflowRepository {
position: "desc",
},
{
id: "asc",
id: "desc",
},
],
});
Expand Down Expand Up @@ -267,7 +267,7 @@ export class WorkflowRepository {
where,
include: includedFields,
orderBy: {
id: "asc",
id: "desc",
},
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const getEventTypesFromGroup = async ({
position: "desc",
},
{
id: "asc",
id: "desc",
},
],
limit,
Expand Down Expand Up @@ -136,7 +136,7 @@ export const getEventTypesFromGroup = async ({
position: "desc",
},
{
id: "asc",
id: "desc",
},
],
})) ?? [];
Expand Down
Loading