diff --git a/.gitignore b/.gitignore index 0dd4e1f..071443a 100644 --- a/.gitignore +++ b/.gitignore @@ -51,4 +51,12 @@ docs-site/node_modules/ docs-site/.docusaurus/ docs-site/build/ -articles/* \ No newline at end of file +articles/* + +*.log +*.env + +### Test-generated visual baselines ### +# VisualAssert tests write throwaway timestamped baseline PNGs here during runs. +# Guard against a failed cleanup dirtying the tree or committing throwaway images. +src/test/resources/baselines/*.png \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index 2aad2d8..3d6f4f8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -85,7 +85,7 @@ Classes/methods annotated `@SeleniumBootApi` are the stable public surface. Avoi ## Tests -Unit tests are in `src/test/java/com/seleniumboot/unit/` (12 test classes). They use **TestNG + Mockito**. Tests mock Selenium/browser interactions — no real browser is required to run the test suite. +Unit tests are in `src/test/java/com/seleniumboot/unit/` (39 test classes, 480 tests). They use **TestNG + Mockito**. Tests mock Selenium/browser interactions — no real browser is required to run the test suite. ## Configuration Reference diff --git a/src/main/java/com/seleniumboot/driver/DriverManager.java b/src/main/java/com/seleniumboot/driver/DriverManager.java index eeff8bb..438e426 100644 --- a/src/main/java/com/seleniumboot/driver/DriverManager.java +++ b/src/main/java/com/seleniumboot/driver/DriverManager.java @@ -14,7 +14,7 @@ * Rules: *
  • One WebDriver per thread
  • *
  • ThreadLocal ownership
  • - *
  • Framework-managed creation & destruction only
  • + *
  • Framework-managed creation & destruction only
  • *
  • Session limit is enforced with a blocking Semaphore — tests wait for a slot * rather than failing fast, preventing spurious failures under parallel load
  • */