Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlklmn committed Jan 10, 2024
1 parent a38cbef commit df6bcd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/DropdownList/DropdownListItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
display: flex;
align-items: center;
flex-direction: row;
gap: 0.5rem;
gap: 0.375rem;
padding: 1.25rem 0.625rem;
white-space: nowrap;
border-radius: var(--border-radius-tiny);
Expand Down
2 changes: 1 addition & 1 deletion src/components/NodeId.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
gap: 0.375rem;
height: 1rem;
font-family: var(--font-family-monospace);
font-weight: var(--font-weight-semibold);
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/theme.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test("change code font", async ({ page }) => {
await page.getByRole("button", { name: "Settings" }).first().click();

await page.getByText("System").click();
await expect(page.getByText("System")).toHaveClass(/gray-white/);
await expect(page.getByText("System")).toHaveClass(/selected/);
await expect(page.locator("html")).toHaveAttribute("data-codefont", "system");

await page.getByText("JetBrains Mono").click();
Expand Down

0 comments on commit df6bcd8

Please sign in to comment.