mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-09 13:40:28 +08:00
This new component doesn't rely on marked.js but escapes any special characters and then replaces any backtick with a <code> HTML tag to render any inline codeblocks in all titles.
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
import { test, cobUrl, expect } from "@tests/support/fixtures.js";
|
|
|
|
test("navigate single issue", async ({ page }) => {
|
|
await page.goto(`${cobUrl}/issues`);
|
|
await page.getByText("This title has **markdown**").click();
|
|
|
|
await expect(page).toHaveURL(/\/issues\/[0-9a-f]{40}/);
|
|
});
|