Skip to content

Commit

Permalink
Test CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
azrael8576 committed Sep 30, 2023
1 parent 74a195f commit d55c105
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CICDTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
timeout-minutes: 55
strategy:
matrix:
api-level: [26, 30]
api-level: [26]

steps:
- name: Checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ internal open class ScheduleScreenRobot(
return bounds
}

// TODO
fun verifyScheduleListIsInInitPosition() {
val topPosition = getScheduleListNodeBounds().top
Log.d("TEST_LOG", "Verifying schedule list is in initial position: $topPosition")
Expand All @@ -277,10 +278,11 @@ internal open class ScheduleScreenRobot(
return bounds
}

// TODO
fun verifyScheduleListIsReachesTop() {
val toolbarHeight = getScheduleToolbarNodeBounds().height
Log.d("TEST_LOG", "Verifying schedule list reaches top, toolbar height: $toolbarHeight")
assertThat(toolbarHeight).isEqualTo(0.dp)
scheduleToolbar.assertIsNotDisplayed()
}

fun swipeUpScheduleList() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ScheduleScreenTest {
scheduleScreenRobot(composeTestRule) {
setScheduleScreenContent()

verifyScheduleListIsInInitPosition()
verifyScheduleToolbarDisplayed()
}
}

Expand All @@ -66,7 +66,7 @@ class ScheduleScreenTest {

swipeUpScheduleList()
swipeDownScheduleList()
verifyScheduleListIsInInitPosition()
verifyScheduleToolbarDisplayed()
}
}

Expand Down

0 comments on commit d55c105

Please sign in to comment.