mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 17:02:28 +00:00
Merge pull request #1780 from PR0M3TH3AN/fix-sidebar-layout-test-race-9981359482965414463
Fix sidebar layout test race condition
This commit is contained in:
1 file changed
+3
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user