Skip to content

Commit ce387b1

Browse files
committed
test(webview): update RooTips link count after docs link became plain text
1 parent d36e778 commit ce387b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/welcome/__tests__/RooTips.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ describe("RooTips Component", () => {
3939
})
4040

4141
test("renders only the top two tips", () => {
42-
// Ensure only two tips are present plus the docs link in the Trans component (3 total links)
43-
expect(screen.getAllByRole("link")).toHaveLength(3)
42+
// Ensure only the two tip links are present (docs text is no longer a link)
43+
expect(screen.getAllByRole("link")).toHaveLength(2)
4444
})
4545
})
4646
})

0 commit comments

Comments
 (0)