From 36891e7682849154bc443a4a620e2eeb3a9cbbee Mon Sep 17 00:00:00 2001 From: Jarne Demeulemeester Date: Sat, 29 Jun 2024 23:00:11 +0200 Subject: [PATCH] test: fix main flow test and update dependencies --- .../kotlin/dev/jdtech/jellyfin/MainActivityTest.kt | 6 +++--- gradle/libs.versions.toml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/phone/src/androidTest/kotlin/dev/jdtech/jellyfin/MainActivityTest.kt b/app/phone/src/androidTest/kotlin/dev/jdtech/jellyfin/MainActivityTest.kt index 486b6759..831c2e12 100644 --- a/app/phone/src/androidTest/kotlin/dev/jdtech/jellyfin/MainActivityTest.kt +++ b/app/phone/src/androidTest/kotlin/dev/jdtech/jellyfin/MainActivityTest.kt @@ -76,9 +76,9 @@ class MainActivityTest { waitForElement(allOf(withText("Movies"), isDisplayed())) onView(withText("Movies")).perform(click()) - // Navigate to Battle of the Stars - waitForElement(allOf(withText("Battle of the Stars"), isDisplayed())) - onView(withText("Battle of the Stars")).perform(click()) + // Navigate to The Boy in the Plastic Bubble + waitForElement(allOf(withText("The Boy in the Plastic Bubble"), isDisplayed())) + onView(withText("The Boy in the Plastic Bubble")).perform(click()) // Play the movie waitForElement(allOf(withId(R.id.play_button), isEnabled())) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8bb99237..03e10f30 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -17,11 +17,11 @@ androidx-preference = "1.2.1" androidx-recyclerview = "1.3.2" androidx-room = "2.6.1" androidx-swiperefreshlayout = "1.1.0" -androidx-test-core = "1.5.0" -androidx-test-expresso = "3.5.1" -androidx-test-junit = "1.1.5" -androidx-test-rules = "1.5.0" -androidx-test-runner = "1.5.2" +androidx-test-core = "1.6.1" +androidx-test-expresso = "3.6.1" +androidx-test-junit = "1.2.1" +androidx-test-rules = "1.6.1" +androidx-test-runner = "1.6.1" androidx-tv = "1.0.0-alpha10" androidx-tv-material3 = "1.0.0-beta01" androidx-work = "2.9.0"