From 6a33b9e8d8bfc587d0d850da143e5b62ae8fa0b9 Mon Sep 17 00:00:00 2001 From: Callum Stott Date: Wed, 27 Mar 2024 12:04:30 +0000 Subject: [PATCH] Delete test that duplicates coverage --- .../feature/formentry/EntityFormTest.kt | 23 ---------- .../one-question-entity-update-no-label.xml | 42 ------------------- 2 files changed, 65 deletions(-) delete mode 100644 test-forms/src/main/resources/forms/one-question-entity-update-no-label.xml diff --git a/collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/EntityFormTest.kt b/collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/EntityFormTest.kt index 6d166106b03..64f9f2e7583 100644 --- a/collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/EntityFormTest.kt +++ b/collect_app/src/androidTest/java/org/odk/collect/android/feature/formentry/EntityFormTest.kt @@ -140,27 +140,4 @@ class EntityFormTest { .assertText("Romulus Roy") .assertTextDoesNotExist("Ro-Ro Roy") } - - @Test - fun fillingEntityUpdateForm_whenFormDoesNotUpdateLabel_updatesEntityForFollowUpForms() { - testDependencies.server.addForm( - "one-question-entity-update-no-label.xml", - listOf("people.csv") - ) - - rule.withMatchExactlyProject(testDependencies.server.url) - .enableLocalEntitiesInForms() - - .startBlankForm("One Question Entity Update") - .assertQuestion("Select person") - .clickOnText("Roman Roy") - .swipeToNextQuestion("Name") - .answerQuestion("Name", "Romulus Roy") - .swipeToEndScreen() - .clickFinalize() - - .startBlankForm("One Question Entity Update") - .assertText("Roman Roy") - .assertTextDoesNotExist("Romulus Roy") - } } diff --git a/test-forms/src/main/resources/forms/one-question-entity-update-no-label.xml b/test-forms/src/main/resources/forms/one-question-entity-update-no-label.xml deleted file mode 100644 index d9826118965..00000000000 --- a/test-forms/src/main/resources/forms/one-question-entity-update-no-label.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - One Question Entity Update - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -