Skip to content

Commit 0ddbffc

Browse files
TASK-1811405: [T] add missing assertions in test_case_processing_embedded_data
1 parent 56bb807 commit 0ddbffc

File tree

1 file changed

+6
-1
lines changed
  • samples/android-cmp-app/src/androidInstrumentedTest/kotlin/com/pega/constellation/sdk/kmp/samples/androidcmpapp

1 file changed

+6
-1
lines changed

samples/android-cmp-app/src/androidInstrumentedTest/kotlin/com/pega/constellation/sdk/kmp/samples/androidcmpapp/CaseProcessingTest.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import androidx.compose.ui.test.performClick
1111
import androidx.compose.ui.test.performTextInput
1212
import androidx.compose.ui.test.performTextReplacement
1313
import androidx.compose.ui.test.runComposeUiTest
14+
import kotlinx.coroutines.delay
15+
import kotlinx.coroutines.runBlocking
1416
import kotlin.test.Test
1517

1618
@OptIn(ExperimentalTestApi::class)
@@ -95,9 +97,12 @@ class CaseProcessingTest : ComposeTest() {
9597
onNodeWithText("Client name").performTextInput("Lukasz")
9698
onNode(hasText("Brand") and hasSetTextAction()).performTextInput("Audi")
9799
onNode(hasText("Model") and hasSetTextAction()).performTextInput("A5")
100+
onNodeWithText("Row 1").performClick() // remove focus to propagate data
98101

99102
// verify data propagation
100-
// TODO TASK-1786094
103+
waitForNodes("Lukasz", 2)
104+
waitForNodes("Audi", 2)
105+
waitForNodes("A5", 2)
101106

102107
// go to next step
103108
onNodeWithText("Next").performClick()

0 commit comments

Comments
 (0)