feat: open and close mobile sidebar with guarded swipes

This commit is contained in:
2026-10-26 09:39:35 +09:00
parent 40c36ccb1d
commit d8818b776b
5 changed files with 491 additions and 1 deletions
@@ -3,6 +3,7 @@
import { assertEquals } from "@std/assert";
import { resolve } from "@std/path";
import { chromium } from "playwright";
import { sidebarSwipe } from "./sidebar-swipe.ts";
import {
startOwnedProcesses,
stopOwnedProcesses,
@@ -37,6 +38,7 @@ Deno.test("only authenticated account and home show the sidebar; public entry re
try {
const browser = await chromium.launch();
try {
await sidebarSwipe(t, browser, origin);
for (const width of [1440, 390]) {
for (
const [path, mode] of [