Skip to content

Commit

Permalink
Add test that fullview button visible
Browse files Browse the repository at this point in the history
RISDEV-2950
Unfortunately js-dom does not render visually, therefore there is no getBoundingClientRect to inspect and mocking does not make any sense here.
  • Loading branch information
leonie-koch committed Dec 21, 2023
1 parent ffb9bcd commit 973fdb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/test/shared/components/input/textEditor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,6 @@ describe("text editor", async () => {
expect(screen.getByLabelText("justify")).toBeInTheDocument()
expect(screen.getByLabelText("superscript")).toBeInTheDocument()
expect(screen.getByLabelText("subscript")).toBeInTheDocument()
expect(screen.getByLabelText("fullview")).toBeInTheDocument()
})
})

0 comments on commit 973fdb1

Please sign in to comment.