mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	docs: Use nicer links to Wiki (dynamic)
This commit is contained in:
		
							
								
								
									
										14
									
								
								integration-tests/help.spec.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								integration-tests/help.spec.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| import test, { expect } from "@playwright/test"; | ||||
|  | ||||
| test('Complete help in search', async ({ page }) => { | ||||
|     await page.goto('http://localhost:8082');     | ||||
|  | ||||
|     // Clear all tabs | ||||
|     await page.locator('.note-tab:first-of-type').locator("div").nth(1).click({ button: 'right' }); | ||||
|     await page.getByText('Close all tabs').click(); | ||||
|  | ||||
|     await page.locator('#launcher-container').getByRole('button', { name: '' }).first().click(); | ||||
|     await page.getByRole('cell', { name: ' ' }).locator('span').first().click(); | ||||
|     await page.getByRole('button', { name: 'complete help on search syntax' }).click();     | ||||
|     expect((await page.waitForEvent('popup')).url()).toBe("https://triliumnext.github.io/Docs/Wiki/search.html"); | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user