docs: apply fleet-template (16-artifact scaffold)
Adds missing standard artifacts: - README.md (if missing) - AGENTS.md (AI agent contract) - PLAN.md (current sprint) - STATUS.md (where we are) - DEVELOPMENT.md (dev workflow) - DEPLOYMENT.md (deploy procedure) - TESTING.md (test strategy) - DECISIONS.md (ADR index + templates) - .github/CODEOWNERS - .github/workflows/ci.yml Preserves all existing artifacts. Refs: RugMunchMedia/fleet-template
This commit is contained in:
commit
47ba268131
310 changed files with 38429 additions and 0 deletions
32
tests/test_camoufox.py
Normal file
32
tests/test_camoufox.py
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
"""Tests for Camoufox integration."""
|
||||
|
||||
from camoufox_integration import CamoufoxBrowser
|
||||
|
||||
|
||||
def test_camoufox_profiles() -> None:
|
||||
profiles = CamoufoxBrowser.list_profiles()
|
||||
assert "chrome_windows" in profiles
|
||||
assert "firefox_windows" in profiles
|
||||
assert "firefox_linux" in profiles
|
||||
assert len(profiles) >= 4
|
||||
|
||||
|
||||
def test_camoufox_init() -> None:
|
||||
b = CamoufoxBrowser()
|
||||
assert b.default_profile in CamoufoxBrowser.DEFAULT_CONFIGS
|
||||
assert "screen" in CamoufoxBrowser.DEFAULT_CONFIGS["chrome_windows"]
|
||||
assert "os" in CamoufoxBrowser.DEFAULT_CONFIGS["chrome_windows"]
|
||||
|
||||
|
||||
def test_camoufox_config_completeness() -> None:
|
||||
for name, config in CamoufoxBrowser.DEFAULT_CONFIGS.items():
|
||||
assert "headless" in config
|
||||
assert "os" in config
|
||||
assert "browser" in config
|
||||
assert "screen" in config
|
||||
assert "window" in config
|
||||
# Screen should be realistic
|
||||
sx, sy = config["screen"]
|
||||
assert sx >= 1024 and sy >= 768
|
||||
wx, wy = config["window"]
|
||||
assert wx <= sx and wy <= sy
|
||||
Loading…
Add table
Add a link
Reference in a new issue