});
it('should show text for all tabs', () => {
- mirroring.getTabText(0).should('eq', 'Issues');
- mirroring.getTabText(1).should('eq', 'Syncing');
- mirroring.getTabText(2).should('eq', 'Ready');
+ mirroring.getTabText(0).should('eq', 'Issues (0)');
+ mirroring.getTabText(1).should('eq', 'Syncing (0)');
+ mirroring.getTabText(2).should('eq', 'Ready (0)');
});
describe('checks that edit mode functionality shows in the pools table', () => {
cellTemplate: this.stateTmpl,
flexGrow: 1
},
- { prop: 'description', name: $localize`Issue`, flexGrow: 4 },
+ { prop: 'description', name: $localize`Issue`, flexGrow: 4 }
];
this.image_syncing.columns = [
{ prop: 'pool_name', name: $localize`Pool`, flexGrow: 2 },
{ prop: 'name', name: $localize`Image`, flexGrow: 2 },
- {
+ {
prop: 'state',
name: $localize`State`,
cellTemplate: this.stateTmpl,
flexGrow: 2
},
{ prop: 'bytes_per_second', name: $localize`Bytes per second`, flexGrow: 2 },
- { prop: 'entries_behind_primary', name: $localize`Entries behind primary`, flexGrow: 2 },
+ { prop: 'entries_behind_primary', name: $localize`Entries behind primary`, flexGrow: 2 }
];
this.image_ready.columns = [
cellTemplate: this.stateTmpl,
flexGrow: 1
},
- { prop: 'description', name: $localize`Description`, flexGrow: 4 },
+ { prop: 'description', name: $localize`Description`, flexGrow: 4 }
];
this.subs = this.rbdMirroringService.subscribeSummary((data) => {