File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/main/cypress/specs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ describe("Accessibility", () => {
348348 . should ( "have.attr" , "aria-label" , "Action" ) ;
349349
350350 cy . get ( "@button" )
351- . should ( "have.attr" , "aria-description" , "Emphasized" ) ;
351+ . should ( "have.attr" , "aria-description" , Button . i18nBundle . getText ( BUTTON_ARIA_TYPE_EMPHASIZED ) ) ;
352352 } ) ;
353353
354354 it ( "aria-label uses accessibleName when both text and accessibleName are provided" , ( ) => {
@@ -461,7 +461,7 @@ describe("Accessibility", () => {
461461 . should ( "have.attr" , "aria-label" , `Download 1 item` ) ;
462462
463463 cy . get ( "@button" )
464- . should ( "have.attr" , "aria-description" , BUTTON_ARIA_TYPE_EMPHASIZED . defaultText ) ;
464+ . should ( "have.attr" , "aria-description" , Button . i18nBundle . getText ( BUTTON_ARIA_TYPE_EMPHASIZED ) ) ;
465465 } ) ;
466466
467467 it ( "setting accessible-name-ref on the host is reflected on the button tag" , ( ) => {
You can’t perform that action at this time.
0 commit comments