update studio media options tray copy
closes MAT-1309 flag=rce_show_studio_media_options test plan: -embed a studio video in the RCE via the lti tool -make sure to uncheck 'display media tabs' >open the tray and confirm it has the updated copy qa risk: low Change-Id: I778c426026024b0cd84f08606ef637540945012d Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/314988 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Yona Appletree <yona.appletree@instructure.com> QA-Review: Yona Appletree <yona.appletree@instructure.com> Product-Review: Allison Howell <allison.howell@instructure.com>
This commit is contained in:
parent
bf0e8f1a0c
commit
ecfdd2842d
|
@ -244,7 +244,7 @@ describe('RCE "Videos" Plugin > VideoOptionsTray', () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe('Studio Options Tray', () => {
|
||||
describe('Studio Media Options Tray', () => {
|
||||
beforeEach(() => {
|
||||
props.studioOptions = {
|
||||
resizable: true,
|
||||
|
@ -252,14 +252,14 @@ describe('RCE "Videos" Plugin > VideoOptionsTray', () => {
|
|||
}
|
||||
})
|
||||
|
||||
it('is labeled with "Canvas Studio Options Tray"', () => {
|
||||
it('is labeled correctly', () => {
|
||||
const {getByLabelText} = render(<VideoOptionsTray {...props} />)
|
||||
expect(getByLabelText('Canvas Studio Options Tray')).toBeInTheDocument()
|
||||
expect(getByLabelText('Studio Media Options Tray')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('the heading says "Canvas Studio Options"', () => {
|
||||
it('has the correct heading', () => {
|
||||
const {getByText} = render(<VideoOptionsTray {...props} />)
|
||||
expect(getByText('Canvas Studio Options')).toBeInTheDocument()
|
||||
expect(getByText('Studio Media Options')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('has a "Media Title" field', () => {
|
||||
|
|
|
@ -160,7 +160,7 @@ export default function VideoOptionsTray({
|
|||
data-mce-component={true}
|
||||
label={
|
||||
isStudio
|
||||
? formatMessage('Canvas Studio Options Tray')
|
||||
? formatMessage('Studio Media Options Tray')
|
||||
: formatMessage('Video Options Tray')
|
||||
}
|
||||
mountNode={instuiPopupMountNode}
|
||||
|
@ -180,7 +180,7 @@ export default function VideoOptionsTray({
|
|||
<Flex.Item shouldGrow={true} shouldShrink={true}>
|
||||
<Heading as="h2">
|
||||
{isStudio
|
||||
? formatMessage('Canvas Studio Options')
|
||||
? formatMessage('Studio Media Options')
|
||||
: formatMessage('Video Options')}
|
||||
</Heading>
|
||||
</Flex.Item>
|
||||
|
|
Loading…
Reference in New Issue