test: fix main flow test and update dependencies

This commit is contained in:
Jarne Demeulemeester 2024-06-29 23:00:11 +02:00
parent 32c6d22035
commit 36891e7682
No known key found for this signature in database
GPG key ID: 1E5C6AFBD622E9F5
2 changed files with 8 additions and 8 deletions

View file

@ -76,9 +76,9 @@ class MainActivityTest {
waitForElement(allOf(withText("Movies"), isDisplayed())) waitForElement(allOf(withText("Movies"), isDisplayed()))
onView(withText("Movies")).perform(click()) onView(withText("Movies")).perform(click())
// Navigate to Battle of the Stars // Navigate to The Boy in the Plastic Bubble
waitForElement(allOf(withText("Battle of the Stars"), isDisplayed())) waitForElement(allOf(withText("The Boy in the Plastic Bubble"), isDisplayed()))
onView(withText("Battle of the Stars")).perform(click()) onView(withText("The Boy in the Plastic Bubble")).perform(click())
// Play the movie // Play the movie
waitForElement(allOf(withId(R.id.play_button), isEnabled())) waitForElement(allOf(withId(R.id.play_button), isEnabled()))

View file

@ -17,11 +17,11 @@ androidx-preference = "1.2.1"
androidx-recyclerview = "1.3.2" androidx-recyclerview = "1.3.2"
androidx-room = "2.6.1" androidx-room = "2.6.1"
androidx-swiperefreshlayout = "1.1.0" androidx-swiperefreshlayout = "1.1.0"
androidx-test-core = "1.5.0" androidx-test-core = "1.6.1"
androidx-test-expresso = "3.5.1" androidx-test-expresso = "3.6.1"
androidx-test-junit = "1.1.5" androidx-test-junit = "1.2.1"
androidx-test-rules = "1.5.0" androidx-test-rules = "1.6.1"
androidx-test-runner = "1.5.2" androidx-test-runner = "1.6.1"
androidx-tv = "1.0.0-alpha10" androidx-tv = "1.0.0-alpha10"
androidx-tv-material3 = "1.0.0-beta01" androidx-tv-material3 = "1.0.0-beta01"
androidx-work = "2.9.0" androidx-work = "2.9.0"