Skip to content

Commit db45017

Browse files
Fix click shareContributionLabel method text in parent and teacher.
1 parent 7b3d28c commit db45017

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • apps
    • parent/src/androidTest/java/com/instructure/parentapp/ui/pages/classic
    • teacher/src/androidTest/java/com/instructure/teacher/ui/pages/classic

apps/parent/src/androidTest/java/com/instructure/parentapp/ui/pages/classic/HelpPage.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class HelpPage : BasePage(R.id.helpDialog) {
4646

4747
private val reportProblemLabel by OnViewWithStringTextIgnoreCase("Report a Problem")
4848

49-
private val submitFeatureLabel by OnViewWithStringTextIgnoreCase("Submit a Feature Idea")
49+
private val shareContributionLabel by OnViewWithStringTextIgnoreCase("Share a Contribution")
5050

5151
private val shareLoveLabel by OnViewWithText(R.string.shareYourLove)
5252

@@ -59,7 +59,7 @@ class HelpPage : BasePage(R.id.helpDialog) {
5959
}
6060

6161
private fun clickSubmitFeatureLabel() {
62-
submitFeatureLabel.scrollTo().click()
62+
shareContributionLabel.scrollTo().click()
6363
}
6464

6565
private fun clickShareLoveLabel() {

apps/teacher/src/androidTest/java/com/instructure/teacher/ui/pages/classic/HelpPage.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class HelpPage : BasePage(R.id.helpDialog) {
5757
/**
5858
* The label for submitting a feature idea.
5959
*/
60-
private val submitFeatureLabel by OnViewWithStringTextIgnoreCase("Submit a Feature Idea")
60+
private val shareContributionLabel by OnViewWithStringTextIgnoreCase("Share a Contribution")
6161

6262
/**
6363
* The label for sharing your love.
@@ -139,7 +139,7 @@ class HelpPage : BasePage(R.id.helpDialog) {
139139
* Clicks on the 'Submit a Feature Idea' help menu.
140140
*/
141141
private fun clickSubmitFeatureLabel() {
142-
submitFeatureLabel.scrollTo().click()
142+
shareContributionLabel.scrollTo().click()
143143
}
144144

145145
/**

0 commit comments

Comments
 (0)