fix(e2e): split-view - openFile utilise le deep-link reel #file=Vault:Path
- l app lit #file= (avec :), pas #/file/ ; le helper naviguait vers un format inexistant
This commit is contained in:
@@ -32,8 +32,8 @@ async function login(page) {
|
||||
}
|
||||
|
||||
async function openFile(page, vault, filePath) {
|
||||
// Use URL hash navigation
|
||||
await page.goto(`/#/file/${encodeURIComponent(vault)}/${encodeURIComponent(filePath)}`);
|
||||
// Deep-link supporté par l'app : #file=Vault:Path (lu à l'initialisation)
|
||||
await page.goto(`/#file=${encodeURIComponent(vault)}:${encodeURIComponent(filePath)}`);
|
||||
await page.waitForTimeout(500);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user