mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-26 23:26:15 +00:00
Add screenshot tests
This commit is contained in:
@@ -7,7 +7,7 @@ test.describe('Search functionality', () => {
|
||||
});
|
||||
|
||||
test('Search works', async ({page}) => {
|
||||
await page.goto('/#/view?url=https%3A%2F%2Fexample.org%2Ffamily.ged');
|
||||
await page.goto('/#/view?url=https://example.org/family.ged');
|
||||
await expect(page.locator('#content')).not.toContainText('Chike');
|
||||
|
||||
const searchInput = page.getByPlaceholder('Search for people');
|
||||
|
||||
Reference in New Issue
Block a user