@@ -76,6 +76,7 @@ class CalendarE2ETest : ParentComposeTest() {
7676
7777 Log .d(STEP_TAG , " Click on the 'Calendar' bottom menu to navigate to the Calendar page." )
7878 dashboardPage.clickCalendarBottomMenu()
79+ composeTestRule.waitForIdle()
7980
8081 Log .d(ASSERTION_TAG , " Assert that the student selector is displayed and the selected student is that the one is the first ordered by 'sortableName'." )
8182 dashboardPage.assertSelectedStudent(selectedShortName)
@@ -168,6 +169,7 @@ class CalendarE2ETest : ParentComposeTest() {
168169
169170 Log .d(STEP_TAG , " Click on the 'Calendar' bottom menu to navigate to the Calendar page." )
170171 dashboardPage.clickCalendarBottomMenu()
172+ composeTestRule.waitForIdle()
171173
172174 Log .d(ASSERTION_TAG , " Assert that the student selector is displayed and the selected student is that the one is the first ordered by 'sortableName'." )
173175 dashboardPage.assertSelectedStudent(selectedShortName)
@@ -257,6 +259,7 @@ class CalendarE2ETest : ParentComposeTest() {
257259
258260 Log .d(STEP_TAG , " Click on the 'Calendar' bottom menu to navigate to the Calendar page." )
259261 dashboardPage.clickCalendarBottomMenu()
262+ composeTestRule.waitForIdle()
260263
261264 Log .d(ASSERTION_TAG , " Assert that there is no item in Calendar yet." )
262265 calendarScreenPage.assertEmptyView()
@@ -389,6 +392,7 @@ class CalendarE2ETest : ParentComposeTest() {
389392
390393 Log .d(STEP_TAG , " Click on the 'Calendar' bottom menu to navigate to the Calendar page." )
391394 dashboardPage.clickCalendarBottomMenu()
395+ composeTestRule.waitForIdle()
392396
393397 Log .d(ASSERTION_TAG , " Assert that the '${testEventFirstStudent.title} ' is displayed only." )
394398 calendarScreenPage.assertItemDisplayed(testEventFirstStudent.title.orEmpty())
0 commit comments