Skip to content

Commit

Permalink
Update save point tests for new keyboard behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
seadowg committed Nov 30, 2023
1 parent b81862e commit 2d8f7f9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class SavePointTest {
.assertText("Alexei")
.assertTextDoesNotExist("46")
.pressBack(FormEntryPage("Two Question"))
.closeSoftKeyboard()
.assertQuestion("What is your name?")
.pressBack(SaveOrDiscardFormDialog(AppClosedPage()))
.clickSaveChanges()
Expand Down Expand Up @@ -83,6 +84,7 @@ class SavePointTest {
.assertText("52")
.assertTextDoesNotExist("46")
.pressBack(FormEntryPage("Two Question"))
.closeSoftKeyboard()
.assertQuestion("What is your name?")
.pressBack(SaveOrDiscardFormDialog(AppClosedPage()))
.clickSaveChanges()
Expand Down Expand Up @@ -115,6 +117,7 @@ class SavePointTest {
rule.fillNewForm("two-question-audit.xml", FormHierarchyPage("Two Question"))
.assertText("Alexei")
.pressBack(FormEntryPage("Two Question"))
.closeSoftKeyboard()
.assertQuestion("What is your name?")
.pressBack(SaveOrDiscardFormDialog(AppClosedPage()))
.clickSaveChanges()
Expand Down Expand Up @@ -155,6 +158,7 @@ class SavePointTest {
.assertText("Alexei")
.assertText("52")
.pressBack(FormEntryPage("Two Question"))
.closeSoftKeyboard()
.assertQuestion("What is your name?")
.pressBack(SaveOrDiscardFormDialog(AppClosedPage()))
.clickSaveChanges()
Expand Down

0 comments on commit 2d8f7f9

Please sign in to comment.