async function navigateToRoute(page, route) {
  await page.evaluate(r => (window.location.hash = r), route);
  await page.waitForLoadState('load');
}
Navigate to a specific route in the site
@param {import('playwright-core').Page} page the playwright page instance from the test
@param {string} route the route you want to navigate to