fix: Update navigation for Enterprise dropdown and adjust Request Demo link
Some checks are pending
Push Release Images to Docker Hub and GitHub Container Registry / app-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / accounts-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / ai-agent-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / publish-npm-packages (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / generate-build-number (push) Waiting to run
Push Release Images to Docker Hub and GitHub Container Registry / read-version (push) Waiting to run
Push Release Images to Docker Hub and GitHub Container Registry / helm-chart-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / mcp-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / nginx-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / e2e-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / isolated-vm-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / home-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / test-server-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / otel-collector-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / status-page-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / test-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / probe-ingest-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / server-monitor-ingest-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / telemetry-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / incoming-request-ingest-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / probe-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / admin-dashboard-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / dashboard-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / docs-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / worker-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / workflow-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / publish-terraform-provider (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / api-reference-docker-image-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / Push release tags before GitHub release (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / infrastructure-agent-deploy (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / test-e2e-release-saas (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / test-e2e-release-self-hosted (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / Create draft GitHub release (push) Blocked by required conditions
Push Release Images to Docker Hub and GitHub Container Registry / Publish GitHub release (push) Blocked by required conditions

This commit is contained in:
Nawaz Dhandala 2026-01-06 11:19:07 +00:00
parent e295525698
commit 7ff0da5ab5
No known key found for this signature in database
GPG key ID: 96C5DCA24769DBCA
2 changed files with 20 additions and 8 deletions

View file

@ -45,14 +45,20 @@ test.describe("navigation bar", () => {
if (!IS_BILLING_ENABLED) {
return;
}
const navEnterpriseLink: Locator = page
// Enterprise is now a dropdown button, not a direct link
const navEnterpriseButton: Locator = page
.getByRole("navigation")
.getByRole("link", { name: "Enterprise" });
await navEnterpriseLink.click();
await navEnterpriseLink.hover();
await expect(navEnterpriseLink).toBeVisible();
await expect(navEnterpriseLink).toBeInViewport();
await expect(navEnterpriseLink).toHaveText(/Enterprise/);
.getByRole("button", { name: "Enterprise" });
await navEnterpriseButton.click();
await expect(navEnterpriseButton).toBeVisible();
await expect(navEnterpriseButton).toBeInViewport();
await expect(navEnterpriseButton).toHaveText(/Enterprise/);
// Click on Enterprise Overview link in the dropdown
const enterpriseOverviewLink: Locator = page
.getByRole("link", { name: "Enterprise Overview" })
.first();
await enterpriseOverviewLink.click();
await expect(page).toHaveURL(/.*enterprise\/overview/);
});
@ -60,6 +66,12 @@ test.describe("navigation bar", () => {
if (!IS_BILLING_ENABLED) {
return;
}
// Request Demo is now inside the Enterprise dropdown
const navEnterpriseButton: Locator = page
.getByRole("navigation")
.getByRole("button", { name: "Enterprise" });
await navEnterpriseButton.click();
await page.getByTestId("request-demo-desktop-link").click();
await expect(page).toHaveURL(/.*enterprise\/demo/);
});

View file

@ -336,7 +336,7 @@
<p class="text-xs text-gray-500">Scale with confidence</p>
</div>
</a>
<a href="/enterprise/demo" class="group flex items-center gap-3 p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors">
<a href="/enterprise/demo" class="group flex items-center gap-3 p-3 rounded-lg bg-white/5 hover:bg-white/10 transition-colors" data-testid="request-demo-desktop-link">
<div class="w-9 h-9 rounded-lg bg-white/10 flex items-center justify-center">
<svg class="h-4.5 w-4.5 text-white" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" d="M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"></path>