-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Added test for single shape annotation mode #7548
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #7548 +/- ##
========================================
Coverage 83.54% 83.54%
========================================
Files 372 372
Lines 39661 39661
Branches 3724 3724
========================================
+ Hits 33133 33136 +3
+ Misses 6528 6525 -3
|
cy.visit('auth/login'); | ||
cy.login(); | ||
cy.headlessCreateTask({ | ||
labels: [{ name: labelName, attributes: [], type: 'polygon' }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Let's add a label for bounding box, ellipse, and points
}); | ||
}); | ||
|
||
describe('Tests basic features of single shape annotation mode', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will propose to add mode describe(
for other shapes. It will be almost copy paste.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure we need to check all the controls for each shape, but we should check that these shapes may be drawn
Motivation and context
Test for #7486
How has this been tested?
Checklist
develop
branch(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)
License
Feel free to contact the maintainers if that's a concern.