MCPcopy Index your code
hub / github.com/docsifyjs/docsify / navigateToRoute

Function navigateToRoute

test/e2e/virtual-routes.test.js:9–12  ·  view source on GitHub ↗

* 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

(page, route)

Source from the content-addressed store, hash-verified

7 * @param {string} route the route you want to navigate to
8 */
9async function navigateToRoute(page, route) {
10 await page.evaluate(r => (window.location.hash = r), route);
11 await page.waitForLoadState('networkidle');
12}
13
14test.describe('Virtual Routes - Generate Dynamic Content via Config', () => {
15 test.describe('Different Types of Virtual Routes', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…