Skip to content

Run the examples against a VRT server in CI, like examples-js and examples-python - #28

Merged
pashidlos merged 2 commits into
masterfrom
ci-like-python
Nov 2, 2026
Merged

pashidlos merged 2 commits into
masterfrom
ci-like-python

Conversation

@pashidlos

Copy link
Copy Markdown
Member

Aligns examples-java CI with examples-js and examples-python. Until now it only compiled the examples.

CI

  • The browser examples run against a 6.0.0-rc1 server, started from .github/vrt/docker-compose.yml (the same file the other repos use). They wait for it the same way, then run mvn -B test / ./gradlew test:
    • Maven: jdi-light-testng, playwright, selenium-maven
    • Gradle: allure-junit5-gradle-kts, selenide-gradle
  • appium-maven (needs an iOS simulator) and standalone-from-folder-maven (a CLI for a folder of images) stay compile-only.
  • Java 17, except jdi-light-testng on 21.
  • Dependabot also watches .github/vrt (docker-compose), as in the other repos, so it will propose 6.0.0.

Breakages that compiling had hidden

  • jdi-light-testng
    • Surefire 3.6 refuses suiteXmlFiles. The suite XML is gone; the retry IAnnotationTransformer is registered via META-INF/services and TestNGListener was already on @Listeners.
    • JDI Light 1.6.3 needs Java 21 (java.util.SequencedCollection). maven.compiler.release is now 21, and the root README says so.
    • testFailureIgnore is removed, so a failing test fails the build.
  • allure-junit5-gradle-kts
    • It asserted OK, which a new baseline never is, so it failed on every fresh server. It now fails on UNRESOLVED, which still shows the diff in the Allure report.
    • ignoreFailures = true is removed, so the assertion counts.

All five examples were run locally against a fresh 6.0.0-rc1 stack and pass.

🤖 Generated with Claude Code

pashidlos and others added 2 commits November 2, 2026 21:44
…mples-python

The browser examples now run against a 6.0.0-rc1 server from
.github/vrt/docker-compose.yml; Appium and the standalone folder client stay
compile-only. Running them showed three breakages that compiling hid:

- jdi-light-testng: Surefire 3.6 no longer reads TestNG suite XML, so the
  retry listener moves to a ServiceLoader file, and JDI Light 1.6 needs
  Java 21 (java.util.SequencedCollection). CI now uses Java 21, and the
  example no longer ignores test failures.
- allure-junit5-gradle-kts asserted OK, which a new baseline never is; it
  now fails only on UNRESOLVED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pashidlos
pashidlos merged commit fa62806 into master Nov 2, 2026
7 checks passed
@pashidlos
pashidlos deleted the ci-like-python branch November 2, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant