fix className for cvat-tag-annotation-sidebar-checkbox-skip-frame element

main
Dmitriy Oparin 5 years ago
parent 4167d39a63
commit 962868831c

@ -33,7 +33,7 @@
} }
.cvat-tag-annotation-sidebar-buttons, .cvat-tag-annotation-sidebar-buttons,
.cvat-tag-anntation-sidebar-checkbox-skip-frame { .cvat-tag-annotation-sidebar-checkbox-skip-frame {
padding-bottom: 15px; padding-bottom: 15px;
} }

@ -233,7 +233,7 @@ function TagAnnotationSidebar(props: StateToProps & DispatchToProps): JSX.Elemen
<Button onClick={onChangeFrame}>Skip frame</Button> <Button onClick={onChangeFrame}>Skip frame</Button>
</Col> </Col>
</Row> </Row>
<Row type='flex' className='cvat-tag-anntation-sidebar-checkbox-skip-frame'> <Row type='flex' className='cvat-tag-annotation-sidebar-checkbox-skip-frame'>
<Col> <Col>
<Checkbox <Checkbox
checked={skipFrame} checked={skipFrame}

@ -32,7 +32,7 @@ context('Tag annotation mode.', () => {
}; };
function changeCheckboxAutomaticallyGoToNextFrame(value) { function changeCheckboxAutomaticallyGoToNextFrame(value) {
cy.get('.cvat-tag-anntation-sidebar-checkbox-skip-frame').within(() => { cy.get('.cvat-tag-annotation-sidebar-checkbox-skip-frame').within(() => {
if (value == "check") { if (value == "check") {
cy.get('[type="checkbox"]').check(); cy.get('[type="checkbox"]').check();
} else if (value == "uncheck") { } else if (value == "uncheck") {

Loading…
Cancel
Save