Skip to content

Commit

Permalink
fix: [ANDROAPP-6315] click on tei with compose test rule
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimolloy committed Jul 12, 2024
1 parent c7a72a7 commit 101a409
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TeiDashboardTestNoComposable : BaseTest() {
prepareChildProgrammeIntentAndLaunchActivity(ruleSearch)

searchTeiRobot(composeTestRule) {
clickOnTEI(teiName, teiLastName)
clickOnTEI(teiName, composeTestRule)
}

teiDashboardRobot(composeTestRule) {
Expand All @@ -55,7 +55,7 @@ class TeiDashboardTestNoComposable : BaseTest() {
typeAttributeAtPosition(relationshipLastName, 1)
clickOnSearch()
waitToDebounce(5000)
clickOnTEI(relationshipName, relationshipLastName)
clickOnTEI(relationshipName, composeTestRule)
}

relationshipRobot {
Expand All @@ -78,7 +78,7 @@ class TeiDashboardTestNoComposable : BaseTest() {
typeAttributeAtPosition(teiName, firstNamePosition)
typeAttributeAtPosition(teiLastName, lastNamePosition)
clickOnSearch()
clickOnTEI(teiName, teiLastName)
clickOnTEI(teiName, composeTestRule)
//scrollToTEIandClick()
}

Expand Down Expand Up @@ -108,7 +108,7 @@ class TeiDashboardTestNoComposable : BaseTest() {
typeAttributeAtPosition(teiLastName, lastNamePosition)
clickOnSearch()
// waitToDebounce(400)
clickOnTEI(teiName, teiLastName)
clickOnTEI(teiName, composeTestRule)
}

teiDashboardRobot(composeTestRule) {
Expand Down

0 comments on commit 101a409

Please sign in to comment.