Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/viewer/helpers/mia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ export async function openPublicDashboard(page: Page): Promise<void> {
await expect(page).toHaveURL(/\/public\/dashboard/);
}

/** Enable Capas GFI toggle so map clicks issue GetFeatureInfo for the loaded leaf. */
/** Drive FeatureInfo.callback at the map center (stub GetFeatureInfo, not responseCallback). */
export async function identifyAtMapCenter(page: Page): Promise<void> {
await page.evaluate(async () => {
Expand Down Expand Up @@ -356,6 +355,7 @@ export async function identifyAtMapCenter(page: Page): Promise<void> {
});
}

/** Enable Capas GFI toggle so map clicks issue GetFeatureInfo for the loaded leaf. */
export async function enableCapasGfi(page: Page): Promise<void> {
const gfi = page.locator('#tc-slot-wlm sitna-toggle.sitmun-wlm-gfi, #tc-slot-wlm .sitmun-wlm-gfi').first();
await expect(gfi).toBeVisible({ timeout: 30_000 });
Expand Down
1 change: 0 additions & 1 deletion tools/bin/_profile_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ def save_baseline(baseline_code: str, data: dict, tools_dir: Path | None = None)
d = tools_dir or _TOOLS_DIR
path = d / f"master-i18n.{baseline_code}.json"

# Detect format: if rows contain keys other than id and baseline_code, extract only ours
entities_out: dict = {}
for entity_name, entity_data in data["entities"].items():
translations_out = []
Expand Down
Loading