mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: pipeline templates, analytics opt-out, 83 conversion presets, positioning + e2e modernization
Lands five integrated branches: pipeline templates (#355), analytics opt-out (#354), 83 conversion presets bringing the catalog to 240 tools (#356), self-hosted positioning (#353), and e2e modernization (#351). Integration fixes: aligned stale web analytics tests with the opt-out/allow-list model, closed 3 CodeQL incomplete-sanitization alerts in the i18n generator, resolved settings/index/docs/format-matrix conflicts, and corrected tool counts to 240.
This commit is contained in:
@@ -14,4 +14,13 @@ export const test = base.extend<{ loggedInPage: Page }>({
|
||||
},
|
||||
});
|
||||
|
||||
// openSettings() opens the Settings dialog via the top-nav avatar dropdown.
|
||||
// The default layout has no left sidebar, so Settings is reached by opening the
|
||||
// avatar menu (a button labelled with the username) and clicking Settings.
|
||||
export async function openSettings(page: Page, username = "admin"): Promise<void> {
|
||||
await page.getByRole("button", { name: username, exact: true }).first().click();
|
||||
await page.getByRole("button", { name: "Settings", exact: true }).click();
|
||||
await page.getByRole("dialog").waitFor({ state: "visible", timeout: 5000 });
|
||||
}
|
||||
|
||||
export { expect };
|
||||
|
||||
Reference in New Issue
Block a user