typos fixed in className

main
Dmitriy Oparin 5 years ago
parent e4d6eb314a
commit 0265313d56

@ -245,12 +245,12 @@ function TagAnnotationSidebar(props: StateToProps & DispatchToProps): JSX.Elemen
</Checkbox>
</Col>
</Row>
<Row type='flex' justify='start' className='cvat-tag-anntation-sidebar-frame-tags'>
<Row type='flex' justify='start' className='cvat-tag-annotation-sidebar-frame-tags'>
<Col>
<Text strong>Frame tags:&nbsp;</Text>
{frameTags.map((tag: any) => (
<Tag
className={'cvat-tag-anntation-sidebar-frame-tag-label'}
className={'cvat-tag-annotation-sidebar-frame-tag-label'}
color={tag.label.color}
onClose={() => {
onRemoveState(tag);

@ -11,15 +11,15 @@ context('Tag annotation mode.', () => {
function checkCountFrameTags(countTags) {
if (countTags == 0) {
cy.get('span.cvat-tag-anntation-sidebar-frame-tag-label').should('not.exist');
cy.get('span.cvat-tag-annotation-sidebar-frame-tag-label').should('not.exist');
} else {
cy.get('span.cvat-tag-anntation-sidebar-frame-tag-label').should('have.length', countTags);
cy.get('span.cvat-tag-annotation-sidebar-frame-tag-label').should('have.length', countTags);
};
};
function checkPresenceFrameTags(labelName) {
cy.get('.cvat-tag-anntation-sidebar-frame-tags').within(() => {
cy.get('span.cvat-tag-anntation-sidebar-frame-tag-label').contains(labelName).should('exist');
cy.get('.cvat-tag-annotation-sidebar-frame-tags').within(() => {
cy.get('span.cvat-tag-annotation-sidebar-frame-tag-label').contains(labelName).should('exist');
});
};

Loading…
Cancel
Save