mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-05 20:32:27 +00:00
fix(ci): address visual regression failure and cleanup css
Force click on sidebar collapse toggle in visual tests to resolve headless visibility flake. Removed redundant CSS media queries for sidebar elements. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
ee59955a57
commit
62c0bdc07d
5 files changed
+26
-14
No files matched your search
@@ -123,7 +123,7 @@ test.describe("overlay layering tokens", () => {
|
||||
|
||||
// Ensure the toggle is initialized
|
||||
await expect(collapseToggle).toHaveAttribute("data-state", /.*/);
|
||||
await collapseToggle.click();
|
||||
await collapseToggle.click({ force: true });
|
||||
|
||||
await page.waitForFunction(() =>
|
||||
document.getElementById("sidebar")?.classList.contains("sidebar-expanded")
|
||||
|
||||
Reference in new issue
Block a user