Skip to content

Commit

Permalink
replace text in qr login modal
Browse files Browse the repository at this point in the history
Updates the text in the QR for Mobile Login modal to the latest
product/documentation/support vision.

closes USERS-447

test plan:
 - specs pass

Change-Id: I1726ee0e404585509fdb97c4a2a7cf94d37eba44
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/231114
Reviewed-by: Charley Kline <[email protected]>
Reviewed-by: August Thornton <[email protected]>
QA-Review: Charley Kline <[email protected]>
QA-Review: August Thornton <[email protected]>
Tested-by: Service Cloud Jenkins <[email protected]>
Product-Review: Keith Garner <[email protected]>
  • Loading branch information
ktgeek committed Mar 23, 2020
1 parent 43436ea commit a856c6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/jsx/navigation_header/trays/QRLoginModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function QRLoginModal({onDismiss, refreshInterval, pollInterval}) {
<Modal.Body>
<View display="block">
{I18n.t(
'Scan this QR code from any Canvas mobile app to access your Canvas account when youʼre on the go.'
'To log in to your Canvas account when you’re on the go, scan this QR code from the Canvas Student app.'
)}
</View>
{renderQRCode()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('Navigation Header > Trays', () => {

it('renders the modal', () => {
const {getByText} = render(<QRLoginModal onDismiss={handleDismiss} />)
expect(getByText(/Scan this QR code/)).toBeInTheDocument()
expect(getByText(/To log in to your Canvas account/)).toBeInTheDocument()
})

it('renders a spinner', () => {
Expand Down

0 comments on commit a856c6b

Please sign in to comment.