diff --git a/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/e2e/classic/HelpMenuE2ETest.kt b/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/e2e/classic/HelpMenuE2ETest.kt index 214dbfbe4b..e1d6c1a0ea 100644 --- a/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/e2e/classic/HelpMenuE2ETest.kt +++ b/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/e2e/classic/HelpMenuE2ETest.kt @@ -79,7 +79,7 @@ class HelpMenuE2ETest : ParentComposeTest() { try { helpPage.assertHelpMenuURL(HelpMenu.SEARCH_GUIDES_TITLE, "https://community.instructure.com/en/all-guides") - helpPage.assertHelpMenuURL(HelpMenu.SUBMIT_FEATURE_TITLE, "https://community.canvaslms.com/t5/Idea-Conversations/idb-p/ideas") + helpPage.assertHelpMenuURL(HelpMenu.SHARE_A_CONTRIBUTION_TITLE, "https://community.instructure.com/en/categories/product-connection") helpPage.assertHelpMenuURL(HelpMenu.SHARE_LOVE_TITLE, "market://details?id=com.instructure.parentapp") } finally { diff --git a/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/pages/classic/HelpPage.kt b/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/pages/classic/HelpPage.kt index ea8cba98f0..f4cb1fa431 100644 --- a/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/pages/classic/HelpPage.kt +++ b/apps/parent/src/androidTest/java/com/instructure/parentapp/ui/pages/classic/HelpPage.kt @@ -46,7 +46,7 @@ class HelpPage : BasePage(R.id.helpDialog) { private val reportProblemLabel by OnViewWithStringTextIgnoreCase("Report a Problem") - private val submitFeatureLabel by OnViewWithStringTextIgnoreCase("Submit a Feature Idea") + private val shareContributionLabel by OnViewWithStringTextIgnoreCase("Share a Contribution") private val shareLoveLabel by OnViewWithText(R.string.shareYourLove) @@ -58,8 +58,8 @@ class HelpPage : BasePage(R.id.helpDialog) { reportProblemLabel.scrollTo().click() } - private fun clickSubmitFeatureLabel() { - submitFeatureLabel.scrollTo().click() + private fun clickShareContributionLabel() { + shareContributionLabel.scrollTo().click() } private fun clickShareLoveLabel() { @@ -101,8 +101,8 @@ class HelpPage : BasePage(R.id.helpDialog) { onView(withId(R.id.title) + withText(HelpMenu.REPORT_PROBLEM_TITLE)).assertDisplayed() onView(withId(R.id.subtitle) + withText(HelpMenu.REPORT_PROBLEM_SUBTITLE)).assertDisplayed() - onView(withId(R.id.title) + withText(HelpMenu.SUBMIT_FEATURE_TITLE)).assertDisplayed() - onView(withId(R.id.subtitle) + withText(HelpMenu.SUBMIT_FEATURE_SUBTITLE)).assertDisplayed() + onView(withId(R.id.title) + withText(HelpMenu.SHARE_A_CONTRIBUTION_TITLE)).assertDisplayed() + onView(withId(R.id.subtitle) + withText(HelpMenu.SHARE_A_CONTRIBUTION_SUBTITLE)).assertDisplayed() onView(withId(R.id.title) + withText(HelpMenu.SHARE_LOVE_TITLE)).assertDisplayed() onView(withId(R.id.subtitle) + withText(HelpMenu.SHARE_LOVE_SUBTITLE)).assertDisplayed() @@ -119,7 +119,7 @@ class HelpPage : BasePage(R.id.helpDialog) { when (helpMenuText) { HelpMenu.SEARCH_GUIDES_TITLE -> clickSearchGuidesLabel() - HelpMenu.SUBMIT_FEATURE_TITLE -> clickSubmitFeatureLabel() + HelpMenu.SHARE_A_CONTRIBUTION_TITLE -> clickShareContributionLabel() HelpMenu.SHARE_LOVE_TITLE -> clickShareLoveLabel() } diff --git a/apps/student/src/androidTest/java/com/instructure/student/ui/e2e/classic/HelpMenuE2ETest.kt b/apps/student/src/androidTest/java/com/instructure/student/ui/e2e/classic/HelpMenuE2ETest.kt index 63699d6421..22764d9e0b 100644 --- a/apps/student/src/androidTest/java/com/instructure/student/ui/e2e/classic/HelpMenuE2ETest.kt +++ b/apps/student/src/androidTest/java/com/instructure/student/ui/e2e/classic/HelpMenuE2ETest.kt @@ -77,7 +77,7 @@ class HelpMenuE2ETest : StudentTest() { try { helpPage.assertHelpMenuURL(HelpMenu.SEARCH_GUIDES_TITLE, "https://community.instructure.com/en/all-guides") - helpPage.assertHelpMenuURL(HelpMenu.SUBMIT_FEATURE_TITLE, "https://community.canvaslms.com/t5/Idea-Conversations/idb-p/ideas") + helpPage.assertHelpMenuURL(HelpMenu.SHARE_A_CONTRIBUTION_TITLE, "https://community.instructure.com/en/categories/product-connection") helpPage.assertHelpMenuURL(HelpMenu.SHARE_LOVE_TITLE, "market://details?id=com.instructure.candroid") } finally { diff --git a/apps/student/src/androidTest/java/com/instructure/student/ui/pages/classic/HelpPage.kt b/apps/student/src/androidTest/java/com/instructure/student/ui/pages/classic/HelpPage.kt index 3e4b405ca1..9b58c717f0 100644 --- a/apps/student/src/androidTest/java/com/instructure/student/ui/pages/classic/HelpPage.kt +++ b/apps/student/src/androidTest/java/com/instructure/student/ui/pages/classic/HelpPage.kt @@ -49,7 +49,7 @@ class HelpPage : BasePage(R.id.helpDialog) { private val askInstructorLabel by OnViewWithText(R.string.askInstructor) private val searchGuidesLabel by OnViewWithText(R.string.searchGuides) private val reportProblemLabel by OnViewWithStringTextIgnoreCase("Report a Problem") - private val submitFeatureLabel by OnViewWithStringTextIgnoreCase("Submit a Feature Idea") + private val shareContributionLabel by OnViewWithStringTextIgnoreCase("Share a Contribution") private val shareLoveLabel by OnViewWithText(R.string.shareYourLove) fun assertAskYourInstructorDialogDetails(course: Course, question: String) { @@ -109,8 +109,8 @@ class HelpPage : BasePage(R.id.helpDialog) { shareLoveLabel.scrollTo().click() } - fun clickSubmitFeatureLabel() { - submitFeatureLabel.scrollTo().click() + fun clickShareContributionLabel() { + shareContributionLabel.scrollTo().click() } fun assertHelpMenuDisplayed() { @@ -132,8 +132,8 @@ class HelpPage : BasePage(R.id.helpDialog) { onView(withId(R.id.title) + withText(HelpMenu.REPORT_PROBLEM_TITLE)).assertDisplayed() onView(withId(R.id.subtitle) + withText(HelpMenu.REPORT_PROBLEM_SUBTITLE)).assertDisplayed() - onView(withId(R.id.title) + withText(HelpMenu.SUBMIT_FEATURE_TITLE)).assertDisplayed() - onView(withId(R.id.subtitle) + withText(HelpMenu.SUBMIT_FEATURE_SUBTITLE)).assertDisplayed() + onView(withId(R.id.title) + withText(HelpMenu.SHARE_A_CONTRIBUTION_TITLE)).assertDisplayed() + onView(withId(R.id.subtitle) + withText(HelpMenu.SHARE_A_CONTRIBUTION_SUBTITLE)).assertDisplayed() onView(withId(R.id.title) + withText(HelpMenu.SHARE_LOVE_TITLE)).assertDisplayed() onView(withId(R.id.subtitle) + withText(HelpMenu.SHARE_LOVE_SUBTITLE)).assertDisplayed() @@ -157,7 +157,7 @@ class HelpPage : BasePage(R.id.helpDialog) { when (helpMenuText) { HelpMenu.SEARCH_GUIDES_TITLE -> clickSearchGuidesLabel() - HelpMenu.SUBMIT_FEATURE_TITLE -> clickSubmitFeatureLabel() + HelpMenu.SHARE_A_CONTRIBUTION_TITLE -> clickShareContributionLabel() HelpMenu.SHARE_LOVE_TITLE -> clickShareLoveLabel() } diff --git a/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/e2e/classic/HelpMenuE2ETest.kt b/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/e2e/classic/HelpMenuE2ETest.kt index fc29dd5e61..106e1e5336 100644 --- a/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/e2e/classic/HelpMenuE2ETest.kt +++ b/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/e2e/classic/HelpMenuE2ETest.kt @@ -77,7 +77,7 @@ class HelpMenuE2ETest: TeacherTest() { try { helpPage.assertHelpMenuURL(HelpMenu.SEARCH_GUIDES_TITLE, "https://community.instructure.com/en/all-guides") - helpPage.assertHelpMenuURL(HelpMenu.SUBMIT_FEATURE_TITLE, "https://community.canvaslms.com/t5/Idea-Conversations/idb-p/ideas") + helpPage.assertHelpMenuURL(HelpMenu.SHARE_A_CONTRIBUTION_TITLE, "https://community.instructure.com/en/categories/product-connection") helpPage.assertHelpMenuURL(HelpMenu.Teacher.ASK_COMMUNITY_TITLE, "https://community.instructure.com") helpPage.assertHelpMenuURL(HelpMenu.Teacher.CONFERENCE_GUIDES_TITLE, "https://community.canvaslms.com/docs/DOC-18572-conferences-resources") helpPage.assertHelpMenuURL(HelpMenu.SHARE_LOVE_TITLE, "market://details?id=com.instructure.teacher") diff --git a/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/pages/classic/HelpPage.kt b/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/pages/classic/HelpPage.kt index c0f9552fbc..ae3701e3bd 100644 --- a/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/pages/classic/HelpPage.kt +++ b/apps/teacher/src/androidTest/java/com/instructure/teacher/ui/pages/classic/HelpPage.kt @@ -55,9 +55,9 @@ class HelpPage : BasePage(R.id.helpDialog) { private val reportProblemLabel by OnViewWithText(R.string.report_problem) /** - * The label for submitting a feature idea. + * The label for sharing a contribution. */ - private val submitFeatureLabel by OnViewWithStringTextIgnoreCase("Submit a Feature Idea") + private val shareContributionLabel by OnViewWithStringTextIgnoreCase("Share a Contribution") /** * The label for sharing your love. @@ -136,10 +136,10 @@ class HelpPage : BasePage(R.id.helpDialog) { } /** - * Clicks on the 'Submit a Feature Idea' help menu. + * Clicks on the 'Share a Contribution' help menu. */ - private fun clickSubmitFeatureLabel() { - submitFeatureLabel.scrollTo().click() + private fun clickShareContributionLabel() { + shareContributionLabel.scrollTo().click() } /** @@ -170,8 +170,8 @@ class HelpPage : BasePage(R.id.helpDialog) { onView(withId(R.id.title) + withText(HelpMenu.Teacher.ASK_COMMUNITY_TITLE)).assertDisplayed() onView(withId(R.id.subtitle) + withText(HelpMenu.Teacher.ASK_COMMUNITY_SUBTITLE)).assertDisplayed() - onView(withId(R.id.title) + withText(HelpMenu.SUBMIT_FEATURE_TITLE)).assertDisplayed() - onView(withId(R.id.subtitle) + withText(HelpMenu.SUBMIT_FEATURE_SUBTITLE)).assertDisplayed() + onView(withId(R.id.title) + withText(HelpMenu.SHARE_A_CONTRIBUTION_TITLE)).assertDisplayed() + onView(withId(R.id.subtitle) + withText(HelpMenu.SHARE_A_CONTRIBUTION_SUBTITLE)).assertDisplayed() onView(withId(R.id.title) + withText(HelpMenu.Teacher.TRAINING_PORTAL_TITLE)).assertDisplayed() onView(withId(R.id.subtitle) + withText(HelpMenu.Teacher.TRAINING_PORTAL_SUBTITLE)).assertDisplayed() @@ -197,7 +197,7 @@ class HelpPage : BasePage(R.id.helpDialog) { when (helpMenuText) { HelpMenu.SEARCH_GUIDES_TITLE -> clickSearchGuidesLabel() - HelpMenu.SUBMIT_FEATURE_TITLE -> clickSubmitFeatureLabel() + HelpMenu.SHARE_A_CONTRIBUTION_TITLE -> clickShareContributionLabel() HelpMenu.SHARE_LOVE_TITLE -> clickShareLoveLabel() HelpMenu.Teacher.CONFERENCE_GUIDES_TITLE -> clickConferenceGuidesForRemoteClassroomsLabel() HelpMenu.Teacher.ASK_COMMUNITY_TITLE -> clickAskTheCommunityLabel() diff --git a/automation/espresso/src/main/kotlin/com/instructure/canvas/espresso/StringConstants.kt b/automation/espresso/src/main/kotlin/com/instructure/canvas/espresso/StringConstants.kt index c1796aa75c..6bbe193e8f 100644 --- a/automation/espresso/src/main/kotlin/com/instructure/canvas/espresso/StringConstants.kt +++ b/automation/espresso/src/main/kotlin/com/instructure/canvas/espresso/StringConstants.kt @@ -36,8 +36,8 @@ object StringConstants { const val REPORT_PROBLEM_TITLE = "Report a Problem" const val REPORT_PROBLEM_SUBTITLE = "If Canvas misbehaves, tell us about it." - const val SUBMIT_FEATURE_TITLE = "Submit a Feature Idea" - const val SUBMIT_FEATURE_SUBTITLE = "Have an idea to improve Canvas?" + const val SHARE_A_CONTRIBUTION_TITLE = "Share a Contribution" + const val SHARE_A_CONTRIBUTION_SUBTITLE = "Have a suggestion for Instructure's product roadmap?" const val SHARE_LOVE_TITLE = "Share Your Love for the App" const val SHARE_LOVE_SUBTITLE = "Tell us about your favorite parts of the app"