Merge pull request #1780 from PR0M3TH3AN/fix-sidebar-layout-test-race-9981359482965414463

Fix sidebar layout test race condition
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-01-26 22:13:48 -05:00
commit 3355efbb10
1 file changed
+3
+3
View File
@@ -129,6 +129,9 @@ test.describe("overlay layering tokens", () => {
document.getElementById("sidebar")?.classList.contains("sidebar-expanded")
);
// Wait for sidebar transition to complete
await page.waitForTimeout(500);
const expandedLayout = await page.evaluate(() => {
const sidebar = document.getElementById("sidebar");
const app = document.getElementById("app");