diff --git a/tests/js/tests.js b/tests/js/tests.js index 0ed07f10..1ea90cf8 100644 --- a/tests/js/tests.js +++ b/tests/js/tests.js @@ -80,6 +80,13 @@ test.describe("api docs", () => { await expect(content).toHaveScreenshot(); }); + test("class page dark mode", async ({ page }) => { + await click(page, "div.theme-toggle-container i"); + await page.goto("stubs/api_example.Electron.html"); + const content = page.locator("div.article-container"); + await expect(content).toHaveScreenshot(); + }); + test("function page", async ({ page }) => { await page.goto("stubs/api_example.my_function1.html"); const content = page.locator("div.article-container");