import { expect, type Page } from '@playwright/test' import * as customExpect from './customExpect' import * as locate from './locate' // ================= // === goToGraph === // ================= /** Perform a successful login. */ export async function goToGraph(page: Page) { await page.goto('/') await expect(page.locator('.App')).toBeVisible() // Wait until nodes are loaded. await customExpect.toExist(locate.graphNode(page)) }