From 413fde757843d74fb5312ce284e00012dc00d301 Mon Sep 17 00:00:00 2001 From: Art O Cathain Date: Fri, 5 Feb 2021 16:01:29 +1100 Subject: [PATCH] Fix test to check list is not displayed. It's no good to check note_content_section_text isn't displayed, as it's not found --- .../java/com/orgzly/android/espresso/SettingsChangeTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/androidTest/java/com/orgzly/android/espresso/SettingsChangeTest.java b/app/src/androidTest/java/com/orgzly/android/espresso/SettingsChangeTest.java index 7a28e3968..134d01682 100644 --- a/app/src/androidTest/java/com/orgzly/android/espresso/SettingsChangeTest.java +++ b/app/src/androidTest/java/com/orgzly/android/espresso/SettingsChangeTest.java @@ -91,7 +91,7 @@ public void testDisplayedContentInBook() { pressBack(); pressBack(); - onNoteInBook(1, R.id.note_content_section_text).check(matches(not(isDisplayed()))); + onNoteInBook(1, R.id.item_head_content_list).check(matches(not(isDisplayed()))); } private void setDefaultPriority(String priority) {