This is an automated email from the ASF dual-hosted git repository. imbajin pushed a commit to branch feat/oink-core-platform in repository https://gitbox.apache.org/repos/asf/hugegraph-doc.git
commit 8d3a1cc7048c9fe2acf3260ef8bb1edc252f5898 Author: dark <[email protected]> AuthorDate: Fri Sep 4 21:10:38 2026 +0800 test(ui): target sidebar collapse control - select the visible desktop collapse button explicitly - avoid the hidden restore control that shares the data hook - retain the collapse, inert, restore, and focus assertions --- tests/e2e/platform.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/platform.spec.js b/tests/e2e/platform.spec.js index 260d4a77c..1e7b513a0 100644 --- a/tests/e2e/platform.spec.js +++ b/tests/e2e/platform.spec.js @@ -20,7 +20,7 @@ for (const locale of ["en", "cn"]) { "aria-expanded", "true" ); - await page.locator("[data-td-shell-sidebar-toggle]").first().click(); + await page.locator(".td-shell-sidebar__collapse").click(); await expect(page.locator("#td-shell-sidebar")).toHaveAttribute("aria-hidden", "true"); await expect(page.locator("#td-shell-sidebar")).toHaveJSProperty("inert", true); const restore = page.locator(".hg-sidebar-restore");
