feat: add UI test suite with Ultron framework (33 tests)#5
Merged
Conversation
- Added GitHub Actions workflow for running instrumented UI tests on PRs - Configured Android emulator (API 30, x86_64, Pixel 6 profile) - Upload test results and Allure reports as artifacts - JUnit report publishing with PR comments - Added dummy google-services.json for CI (Firebase config not needed for tests) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Added testTag modifiers to all key UI elements across 8 screens: - HomeScreen: settings button, title, navigation buttons - BoutScreen: timer, scores, cards, buttons, dialogs (with dynamic tags for LEFT/RIGHT) - SettingsScreen: back button, weapon/mode chips, switches - GroupSetupScreen: fencer count/mode/weapon chips, input fields, create button - GroupDashboardScreen: nav buttons, progress text, action buttons, section titles - BoutConfirmScreen: bout number, fencer names, swap/start/cancel buttons - BoutResultScreen: title, fencer names, scores, continue button - BoutsListScreen: back button, list, bout items, pending status All tags follow the convention: screenName_elementType_identifier Example: bout_button_leftScore, home_button_singleBout Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add 8 Page Objects (HomePage, BoutPage, GroupSetupPage, GroupDashboardPage, etc.) - Add 6 screen test classes and 2 E2E test classes covering full app flow - Configure Ultron compose/android/allure dependencies - Upgrade Kotlin 2.1.21, Compose BOM 2025.05.00, Room 2.7.1 for compatibility - Fix FieBoutOrder.removeLast() crash on API <35 (use removeAt instead) - Fix SoundManager release order to prevent crash after toneGenerator.release() Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Allure listener is not configured in tests, so this step always finds no files. Remove to avoid confusing CI output. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ration - Switch test runner to UltronAllureTestRunner - Enable UltronAllureConfig with results to /sdcard/Download/ - Add @Epic/@feature annotations to all test classes - Wrap test actions in Allure step() blocks for structured reports - Update CI to pull allure-results and generate HTML report artifact - 33/33 tests pass with full Allure metadata (steps, epics, features) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Move adb pull inside emulator-runner script (emulator alive) - Fix allure_results path for nested dir from adb pull - Fix JUnit glob: connected/**/*.xml to match debug/ subdir - Add || true to gradle so allure pull runs even on test failure Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The multi-file Allure report shows "loading" spinner when opened from filesystem (file://) due to CORS blocking XHR data requests. Switch to --single-file mode which inlines all data into index.html. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FieBoutOrder.removeLast()crash on API <35SoundManager.release()crash orderTest plan
reactivecircus/android-emulator-runner)🤖 Generated with Claude Code