summaryrefslogtreecommitdiff
path: root/android-app/app/src/androidTest/kotlin
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-04-23 23:10:11 +0000
committerClaude <noreply@anthropic.com>2026-04-23 23:10:11 +0000
commite1db9200e9d44c10450361cc8984a45b2eda87b7 (patch)
tree21bdfca02491e6ff4cde7a22673c821c0a03e108 /android-app/app/src/androidTest/kotlin
parent55509f579b4d074f01237dd90791b6d25aaec3cd (diff)
parenteb78d317c722234a7ef2c501c68c9aa730ec2758 (diff)
Merge origin/main — unite all work onto one branch
Brings in dev log (NavLogger), UnitPrefs, MapLayerManager, HUD views, conditions throttling, track save/load pipeline, improved ParticleWindView (antimeridian-aware, dynamic particle count), Snackbar error surfacing, and all other main-branch work from the prior session. Combined with master's hardware source flags, vessel registry, crew management, thermal alarm, CPA collision alerts, and track stats. Also documents primary branch policy in CLAUDE.md and .agent/config.md: all work merges to main, never master. https://claude.ai/code/session_011h2dXbgXg3PesQMmQUNTCW
Diffstat (limited to 'android-app/app/src/androidTest/kotlin')
-rw-r--r--android-app/app/src/androidTest/kotlin/org/terst/nav/MainActivitySmokeTest.kt18
1 files changed, 17 insertions, 1 deletions
diff --git a/android-app/app/src/androidTest/kotlin/org/terst/nav/MainActivitySmokeTest.kt b/android-app/app/src/androidTest/kotlin/org/terst/nav/MainActivitySmokeTest.kt
index fecd9cc..2d75cf4 100644
--- a/android-app/app/src/androidTest/kotlin/org/terst/nav/MainActivitySmokeTest.kt
+++ b/android-app/app/src/androidTest/kotlin/org/terst/nav/MainActivitySmokeTest.kt
@@ -24,11 +24,20 @@ import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class MainActivitySmokeTest {
+ companion object {
+ @org.junit.BeforeClass
+ @JvmStatic
+ fun setUpClass() {
+ NavApplication.isTesting = true
+ }
+ }
+
@get:Rule
val activityRule = ActivityScenarioRule(MainActivity::class.java)
@Before
fun setup() {
+ // Redundant but safe
NavApplication.isTesting = true
}
@@ -56,7 +65,7 @@ class MainActivitySmokeTest {
onView(withText("Safety")).perform(click())
onView(withText("Safety Dashboard")).check(matches(isDisplayed()))
onView(withText("ACTIVATE MOB")).check(matches(isDisplayed()))
- onView(withText("ANCHOR WATCH")).check(matches(isDisplayed()))
+ onView(withText("CONFIGURE ANCHOR WATCH")).check(matches(isDisplayed()))
}
@Test
@@ -72,6 +81,13 @@ class MainActivitySmokeTest {
}
@Test
+ fun instrumentSheet_surfacedReportButtons_areDisplayed() {
+ onView(withText("Instruments")).perform(click())
+ onView(withText("PRE-TRIP PLAN")).check(matches(isDisplayed()))
+ onView(withText("GENERATE REPORT")).check(matches(isDisplayed()))
+ }
+
+ @Test
fun bottomNav_mapTab_returnsFromOverlay() {
onView(withText("Safety")).perform(click())
onView(withText("Map")).perform(click())