- {/* */}
+
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/src/pages/product/_databricks-apps.tsx b/src/pages/product/databricks-apps.tsx
similarity index 100%
rename from src/pages/product/_databricks-apps.tsx
rename to src/pages/product/databricks-apps.tsx
diff --git a/src/pages/product/_data-lakehouse.tsx b/src/pages/product/lakebase.tsx
similarity index 100%
rename from src/pages/product/_data-lakehouse.tsx
rename to src/pages/product/lakebase.tsx
diff --git a/tests/e2e/navigation.spec.ts b/tests/e2e/navigation.spec.ts
index bfa4fddc..f31bbf4b 100644
--- a/tests/e2e/navigation.spec.ts
+++ b/tests/e2e/navigation.spec.ts
@@ -65,12 +65,11 @@ test.describe("navbar navigation", () => {
});
}
- // Skipped while the Product nav dropdown is hidden.
- test.skip("product dropdown hover state is visible in production CSS", async ({
+ test("product dropdown hover state is visible in production CSS", async ({
page,
}) => {
await page.setViewportSize({ width: 1440, height: 900 });
- await page.goto("/product/data-lakehouse");
+ await page.goto("/product/lakebase");
await page.getByRole("button", { name: "[Product]" }).hover();
const productMenu = page.locator('[data-slot="navigation-menu-content"]');
@@ -184,7 +183,7 @@ test.describe.skip("mobile navigation", () => {
width: viewport.width,
height: viewport.height,
});
- await page.goto("/product/data-lakehouse");
+ await page.goto("/product/lakebase");
await page.getByRole("button", { name: "Open menu" }).click();
@@ -538,19 +537,18 @@ test.describe("home page link navigation", () => {
expect(finalCopiedText).toContain("llms.txt");
});
- // Skipped while the home Features pillar cards and product pages are hidden.
- test.skip("pillar card Lakebase navigates to /product/data-lakehouse", async ({
+ test("pillar card Lakebase navigates to /product/lakebase", async ({
page,
}) => {
await page.goto("/");
- const link = page.locator('a[href="/product/data-lakehouse"]').first();
+ const link = page.locator('a[href="/product/lakebase"]').first();
await link.waitFor({ state: "visible" });
await link.click();
- await page.waitForURL("**/product/data-lakehouse");
- expect(new URL(page.url()).pathname).toBe("/product/data-lakehouse");
+ await page.waitForURL("**/product/lakebase");
+ expect(new URL(page.url()).pathname).toBe("/product/lakebase");
});
- test.skip("pillar card Agent Bricks navigates to /product/agent-bricks", async ({
+ test("pillar card Agent Bricks navigates to /product/agent-bricks", async ({
page,
}) => {
await page.goto("/");
@@ -559,7 +557,7 @@ test.describe("home page link navigation", () => {
expect(new URL(page.url()).pathname).toBe("/product/agent-bricks");
});
- test.skip("pillar card Databricks Apps navigates to /product/databricks-apps", async ({
+ test("pillar card Databricks Apps navigates to /product/databricks-apps", async ({
page,
}) => {
await page.goto("/");
diff --git a/tests/e2e/pages.spec.ts b/tests/e2e/pages.spec.ts
index f83a4fb3..a1fb7642 100644
--- a/tests/e2e/pages.spec.ts
+++ b/tests/e2e/pages.spec.ts
@@ -2,10 +2,9 @@ import { test, expect } from "@playwright/test";
const PAGES = [
{ path: "/", title: "Databricks Developer" },
- // Product pages temporarily unpublished (hidden via `_` prefix).
- // { path: "/product/data-lakehouse", title: "Lakebase" },
- // { path: "/product/agent-bricks", title: "Agent Bricks" },
- // { path: "/product/databricks-apps", title: "Databricks Apps" },
+ { path: "/product/lakebase", title: "Lakebase" },
+ { path: "/product/agent-bricks", title: "Agent Bricks" },
+ { path: "/product/databricks-apps", title: "Databricks Apps" },
{ path: "/solutions", title: "Solutions" },
{
path: "/solutions/devhub-launch",
@@ -121,6 +120,17 @@ test.describe("static assets load correctly", () => {
});
});
+test.describe("legacy redirects", () => {
+ test("/product/data-lakehouse redirects to /product/lakebase", async ({
+ page,
+ }) => {
+ await page.goto("/product/data-lakehouse");
+ await page.waitForURL("**/product/lakebase");
+ expect(new URL(page.url()).pathname).toBe("/product/lakebase");
+ await expect(page).toHaveTitle(/Lakebase/);
+ });
+});
+
test.describe("solutions RSS", () => {
test("RSS action links to the generated feed", async ({ page }) => {
await page.goto("/solutions");