Skip to content

Commit

Permalink
fix flaky anki playwright test
Browse files Browse the repository at this point in the history
  • Loading branch information
djahandarie committed Jan 1, 2025
1 parent e1133cc commit 70dd927
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/playwright/integration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ test('anki add', async ({context, page, extensionId}) => {
// Open settings
await page.goto(`chrome-extension://${extensionId}/settings.html`);

await expect(page.locator('id=dictionaries')).toBeVisible();

// Load in test dictionary
const dictionary = await createDictionaryArchiveData(path.join(root, 'test/data/dictionaries/valid-dictionary1'), 'valid-dictionary1');
await page.locator('input[id="dictionary-import-file-input"]').setInputFiles({
Expand Down

0 comments on commit 70dd927

Please sign in to comment.