Skip to content

Commit

Permalink
undo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Jul 1, 2024
1 parent 92e433a commit 731ce9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/playwright/visual.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ test('visual', async ({page, extensionId}) => {
await expect.soft(page).toHaveScreenshot('settings-fresh.png', {mask: [storage_locator]});

// Load in jmdict_english.zip
const fileInput = page.locator('input[id="dictionary-import-file-input"]');
await fileInput.setInputFiles(path.join(root, 'dictionaries/jmdict_english.zip'));
await page.locator('input[id="dictionary-import-file-input"]').setInputFiles(path.join(root, 'dictionaries/jmdict_english.zip'));
await expect(page.locator('id=dictionaries')).toHaveText('Dictionaries (1 installed, 1 enabled)', {timeout: 5 * 60 * 1000});

// Take a screenshot of the settings page with jmdict loaded
Expand Down

0 comments on commit 731ce9a

Please sign in to comment.