Skip setup questions on the template path #101

Merged
an.di merged 3 commits from adilallo/fix/CR-296-template-path into main 2026-11-10 02:04:48 +00:00
2 changed files with 25 additions and 1 deletions
Showing only changes of commit c950795844 - Show all commits

No files matched your search

@@ -147,7 +147,7 @@ export function TemplateCustomizeDialog({
<Create
isOpen={isOpen}
onClose={onClose}
backdropVariant="default"
backdropVariant="blurredYellow"
ariaLabel={heading}
headerContent={
<div className="px-[24px] pt-[8px]">
@@ -0,0 +1,24 @@
import { describe, expect, it } from "vitest";
import "@testing-library/jest-dom/vitest";
import { renderWithProviders as render } from "../utils/test-utils";
import { TemplateCustomizeDialog } from "../../app/(app)/create/components/TemplateCustomizeDialog";
describe("TemplateCustomizeDialog", () => {
it("uses the same blurred yellow backdrop as other create-flow Create modals", () => {
render(
<TemplateCustomizeDialog
isOpen
templateTitle="Consensus"
valuesCount={3}
cardsCount={10}
initialTitle=""
initialDescription=""
initialLocation=""
onClose={() => undefined}
onContinue={() => undefined}
/>,
);
expect(document.querySelector(".backdrop-blur-md")).toBeInTheDocument();
});
});