mirror of
https://github.com/n30nex/CartoLite-Server.git
synced 2026-10-18 11:20:04 +00:00
* Add map customization and ten-second Live Follow worldwide * Refine follow cards and restore gesture timing in browser checks * Keep selected follow visible and settle rendering during live updates
7 lines
276 B
TypeScript
7 lines
276 B
TypeScript
import type { Page } from '@playwright/test';
|
|
|
|
export async function openMapOptions(page: Page): Promise<void> {
|
|
const summary = page.locator('#layers-summary');
|
|
if (await summary.count() && await summary.getAttribute('aria-expanded') !== 'true') await summary.click();
|
|
}
|