Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Cypress test to cover "Intelligent scissors blocking feature". #3570

Conversation

dvkruchinin
Copy link
Contributor

Motivation and context

Update Cypress test to check "Intelligent scissors blocking feature". PR #3510

How has this been tested?

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@bsekachev
Copy link
Member

@klakhov Please, review

@dvkruchinin dvkruchinin force-pushed the dkru/update-case-101-intelligent-scissors-blocking-feature branch from 93a948f to 71d73c9 Compare August 19, 2021 10:03
Comment on lines 92 to 96
cy.get('.cvat_canvas_threshold').should('exist');
cy.contains('span', 'Block').click();
cy.get('.cvat_canvas_threshold').should('not.exist');
cy.contains('span', 'Block').click();
cy.get('.cvat_canvas_threshold').should('exist');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, check that the block actually work (it creates exactly line user draws without adding any new points)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reworked. I allocated it to a separate test. Added checks.

Copy link
Contributor

@klakhov klakhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that we need to test amount of points. Seems good.

@bsekachev bsekachev merged commit b2a496b into cvat-ai:develop Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants