Skip to content

Commit 65389b8

Browse files
committed
test(ui): dismiss the carrier editor keyboard before scrolling its summary
1 parent 46820d2 commit 65389b8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎app/src/androidTest/java/com/system/location/service/CarrierEditorRecoveryUiTest.kt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class CarrierEditorRecoveryUiTest {
4444
editorText("SIM 1 · Saved one").assertIsDisplayed()
4545
editorText("SIM 2 · Saved two").assertIsDisplayed()
4646
editorText("运营商名称").performTextReplacement("Unsaved one")
47+
// Finish text entry before scrolling to the summary. The IME's focused-field
48+
// bring-into-view otherwise competes with the LazyColumn scroll on API 35.
49+
androidx.test.espresso.Espresso.closeSoftKeyboard()
4750
editorText("有未保存的修改").assertIsDisplayed()
4851
editorText("仅分应用").performClick()
4952
editorText("SIM 2").performClick()

0 commit comments

Comments
 (0)