diff --git a/src/routes/Dashboard/Learn/LearnHomeView.test.tsx b/src/routes/Dashboard/Learn/LearnHomeView.test.tsx
index 33aac7513..7c61d4f8d 100644
--- a/src/routes/Dashboard/Learn/LearnHomeView.test.tsx
+++ b/src/routes/Dashboard/Learn/LearnHomeView.test.tsx
@@ -60,7 +60,7 @@ describe("", () => {
).toBeInTheDocument();
});
- test("renders the onboarding hero with progress", () => {
+ test.skip("renders the onboarding hero with progress", () => {
renderWithClient();
expect(
screen.getByRole("heading", { level: 2, name: /welcome to tangle/i }),
@@ -77,14 +77,11 @@ describe("", () => {
expect(screen.getByText("Full docs")).toBeInTheDocument();
});
- test("renders the tip, tours, examples and FAQ sections", () => {
+ test("renders the tip, examples and FAQ sections", () => {
renderWithClient();
expect(
screen.getByRole("heading", { level: 3, name: /tip of the day/i }),
).toBeInTheDocument();
- expect(
- screen.getByRole("heading", { level: 3, name: /featured tours/i }),
- ).toBeInTheDocument();
expect(
screen.getByRole("heading", { level: 2, name: /example pipelines/i }),
).toBeInTheDocument();
@@ -92,4 +89,11 @@ describe("", () => {
screen.getByRole("heading", { level: 2, name: /frequently asked/i }),
).toBeInTheDocument();
});
+
+ test.skip("renders the featured tours section", () => {
+ renderWithClient();
+ expect(
+ screen.getByRole("heading", { level: 3, name: /featured tours/i }),
+ ).toBeInTheDocument();
+ });
});
diff --git a/src/routes/Dashboard/Learn/LearnHomeView.tsx b/src/routes/Dashboard/Learn/LearnHomeView.tsx
index ab8f741fa..40f072a24 100644
--- a/src/routes/Dashboard/Learn/LearnHomeView.tsx
+++ b/src/routes/Dashboard/Learn/LearnHomeView.tsx
@@ -9,6 +9,10 @@ import { OnboardingHero } from "@/components/Learn/OnboardingHero";
import { TipOfTheDay } from "@/components/Learn/TipOfTheDay";
import { BlockStack } from "@/components/ui/layout";
+// Learning Hub Milestone 1: Documentation, FAQ, Example Pipelines & Tips
+// Not included: Guided Tours & Onboarding
+const SHOW_WIP_FEATURES = false;
+
export function LearnHomeView() {
return (
@@ -24,11 +28,11 @@ export function LearnHomeView() {
-
+ {SHOW_WIP_FEATURES && }
-
+ {SHOW_WIP_FEATURES && }