Skip to content

Commit

Permalink
Fix ontology test and svelte tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Polleps committed Aug 14, 2024
1 parent 94e0a00 commit ac8f77f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions browser/e2e/tests/ontology.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ test.describe('Ontology', async () => {

await expect(page.getByText('new arrow-kind')).toBeVisible();

await expect(page.getByLabel('name')).toBeVisible();
await page.getByLabel('name').fill(name);
await expect(currentDialog(page).getByLabel('name')).toBeVisible();
await currentDialog(page).getByLabel('name').fill(name);
await currentDialog(page).getByRole('button', { name: 'Save' }).click();

await expect(page.getByRole('heading', { name })).toBeVisible();
Expand Down
2 changes: 1 addition & 1 deletion browser/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"prepublishOnly": "npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "vitest",
"test": "vitest run",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
},
Expand Down

0 comments on commit ac8f77f

Please sign in to comment.