Files
AutoMetabuilder/backend/tests/ui/helpers.py
johndoe6345789 6ff6813259 Introduce AutoMetabuilder core components and workflow packages:
- Implement core components: CLI argument parsing, environment loading, GitHub service creation, and logging configuration.
- Add support for OpenAI client setup and model resolution.
- Develop SDLC context loader from GitHub and repository files.
- Implement workflow context and engine builders.
- Introduce major workflow packages: `game_tick_loop` and `contextual_iterative_loop`.
- Update localization files with new package descriptions and labels.
- Streamline web navigation by loading items from a dedicated JSON file.
2026-01-10 11:21:55 +00:00

14 lines
312 B
Python

from playwright.sync_api import Page
from autometabuilder import load_messages
UI_MESSAGES = load_messages()
def wait_for_nav(page: Page) -> None:
page.wait_for_selector("[data-section='dashboard']")
def t(key: str, fallback: str | None = None) -> str:
return UI_MESSAGES.get(key, fallback or key)