Skip to content

Commit

Permalink
Update tests/cypress/e2e/features/single_object_annotation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev authored Mar 14, 2024
1 parent 05f3096 commit 5201440
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/cypress/e2e/features/single_object_annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,22 +239,6 @@ context('Single object annotation mode', { scrollBehavior: false }, () => {
cy.get('.cvat-player-next-button').click();
checkFrameNum(2);

// Change label and draw an object,
const anotherLabelName = 'points_label';

cy.get('.cvat-single-shape-annotation-sidebar-navigate-empty-checkbox').within(() => {
cy.get('[type="checkbox"]').check();
});
cy.get('.cvat-player-previous-button-empty').click();

changeLabel(anotherLabelName);
clickPoints(pointsShape);

// be sure the object has correct label
cy.changeWorkspace('Standard');
cy.get(`#cvat-objects-sidebar-state-item-${frameCount}`).within(() => {
cy.get('.cvat-objects-sidebar-state-item-label-selector').should('have.text', anotherLabelName);
});

Check failure on line 242 in tests/cypress/e2e/features/single_object_annotation.js

View workflow job for this annotation

GitHub Actions / Linter

More than 1 blank line not allowed
cy.saveJob();
});
Expand Down

0 comments on commit 5201440

Please sign in to comment.