Files
dashboard/e2e/helpers/navigation.ts
Maycon Santos 7653e3411c Merge NetBird cloud edition into the dashboard (#674)
Brings the unified dashboard into the open-source repo. Premium features
ship in the open code, gated at runtime via NETBIRD_CLOUD and
NETBIRD_LICENSED, with upgrade prompts for unlicensed self-hosted
deployments. Adds the cloud-only feature areas (billing, integrations,
MSP, traffic events, notifications) and the Playwright e2e suite.
2026-06-21 16:01:08 +02:00

9 lines
229 B
TypeScript

import type { Page } from "@playwright/test";
export async function visitByNavigation(page: Page, navText: string) {
await page
.getByTestId("left-navigation-item")
.getByText(navText, { exact: true })
.click();
}