Skip to content

Commit 4b2e45a

Browse files
committed
test: align device assertions with subfolder labels
1 parent 1e6e027 commit 4b2e45a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎app/src/androidTest/kotlin/org/qownnotes/mobile/AppLaunchTest.kt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2536,8 +2536,8 @@ class AppLaunchTest {
25362536
composeRule.onNodeWithText("9").assertIsDisplayed()
25372537
composeRule.onNodeWithText("Lines").assertIsDisplayed()
25382538
composeRule.onNodeWithText("2").assertIsDisplayed()
2539-
composeRule.onNodeWithText("Category").assertIsDisplayed()
2540-
composeRule.onNodeWithText("Root").assertIsDisplayed()
2539+
composeRule.onNodeWithText("Subfolder").assertIsDisplayed()
2540+
composeRule.onNodeWithText("Root folder").assertIsDisplayed()
25412541
composeRule.onNodeWithText("Account").assertIsDisplayed()
25422542
composeRule.onNodeWithText("alice @ cloud.example").assertIsDisplayed()
25432543
composeRule.onNodeWithText("Synchronized").assertIsDisplayed()

‎app/src/androidTest/kotlin/org/qownnotes/mobile/WidgetConfigurationTest.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class WidgetConfigurationTest {
2929
LazyColumn { widgetCategoryChoices(listOf("Personal", "Work/Projects"), chosen::add) }
3030
}
3131

32-
composeRule.onNodeWithText("All categories").assertIsDisplayed()
32+
composeRule.onNodeWithText("All subfolders").assertIsDisplayed()
3333
composeRule.onNodeWithText("Root folder").assertIsDisplayed()
3434
composeRule.onNodeWithTag("widget-category-all").performClick()
3535
composeRule.onNodeWithTag("widget-category-undefined").performClick()

0 commit comments

Comments
 (0)