File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -568,13 +568,13 @@ describe('MatPaginator', () => {
568568
569569 expect ( select . disabled ) . toBe ( false ) ;
570570 expect ( getPreviousButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
571- expect ( getPreviousButton ( fixture ) . hasAttribute ( 'tabindex' ) ) . toBe ( false ) ;
571+ expect ( getPreviousButton ( fixture ) . getAttribute ( 'tabindex' ) ) . toBe ( '0' ) ;
572572 expect ( getNextButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
573- expect ( getNextButton ( fixture ) . hasAttribute ( 'tabindex' ) ) . toBe ( false ) ;
573+ expect ( getNextButton ( fixture ) . getAttribute ( 'tabindex' ) ) . toBe ( '0' ) ;
574574 expect ( getFirstButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
575- expect ( getFirstButton ( fixture ) . hasAttribute ( 'tabindex' ) ) . toBe ( false ) ;
575+ expect ( getFirstButton ( fixture ) . getAttribute ( 'tabindex' ) ) . toBe ( '0' ) ;
576576 expect ( getLastButton ( fixture ) . hasAttribute ( 'disabled' ) ) . toBe ( false ) ;
577- expect ( getLastButton ( fixture ) . hasAttribute ( 'tabindex' ) ) . toBe ( false ) ;
577+ expect ( getLastButton ( fixture ) . getAttribute ( 'tabindex' ) ) . toBe ( '0' ) ;
578578
579579 fixture . componentInstance . disabled = true ;
580580 fixture . changeDetectorRef . markForCheck ( ) ;
You can’t perform that action at this time.
0 commit comments