mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-10 02:11:36 -10:00
7 lines
286 B
TypeScript
7 lines
286 B
TypeScript
import type { Page } from "@playwright/test"
|
|
import { SERVER } from "./app"
|
|
|
|
export async function openWithDirection(page: Page, route: string, direction: "ltr" | "rtl") {
|
|
await page.goto(`/e2e/utils/app-direction.html?${new URLSearchParams({ server: SERVER, route, direction })}`)
|
|
}
|