package com.cottondb.daysimport android.app.Applicationimport androidx.compose.runtime.getValueimport androidx.compose.runtime.mutableStateOfimport androidx.compose.runtime.setValueimport androidx.compose.ui.test.assertTextEqualsimport androidx.compose.ui.test.junit4.createComposeRuleimport androidx.compose.ui.test.onNodeWithTagimport com.cottondb.days.ui.SettingsSaidimport org.junit.Ruleimport org.junit.Testimport org.junit.runner.RunWithimport org.robolectric.RobolectricTestRunnerimport org.robolectric.annotation.Config/** * What was just said on Days' settings, as the emulator showed it wrong (21 Nov 2026): Sync now said nothing there (its * "Syncing…" went to the list's foot, under the page). It stands at the foot of every settings page. (The account on * the page is now the shell's SettingsHome, asked again on every change and after every act: DaysSettingsTest.) */@RunWith(RobolectricTestRunner::class)@Config(sdk = [35], qualifiers = "w400dp-h800dp-mdpi", application = Application::class)classDaysSettingsAccountTest { @get:Ruleval compose = createComposeRule() @Testfun what_was_just_said_stands_on_the_page() {var said by mutableStateOf<String?>(null) compose.setContent { SettingsSaid(said) } compose.onNodeWithTag("days-settings-said").assertDoesNotExist() compose.runOnIdle { said = "Syncing…" } compose.onNodeWithTag("days-settings-said").assertTextEquals("Syncing…") }}