We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e21d8 commit a1db9ebCopy full SHA for a1db9eb
tests/integration/playwright/tests/html-toc-js.spec.ts
@@ -0,0 +1,14 @@
1
+import { expect, Page, test } from "@playwright/test";
2
+
3
+const testPages = {
4
+ 'posts': 'table.html',
5
+};
6
7
+test("toc navigation doesn't crash", async ({ page }) => {
8
+ const messages: string[] = [];
9
+ page.on('pageerror', (error) => {
10
+ messages.push(`[${error.name}] ${error.message}`);
11
+ });
12
+ await page.goto('./blog/simple-blog/_site/posts/post-with-code/index.html');
13
+ expect(messages).toStrictEqual([]);
14
+});
0 commit comments