-
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
Cypress test. Object propagate. #2867
Cypress test. Object propagate. #2867
Conversation
…o dkru/case-53-propagate-not-on-last-frame
…o dkru/case-53-propagate-not-on-last-frame-origin
startPropagation(); | ||
cy.get('.cvat-propagate-confirm-object-on-frames') | ||
.find('input') | ||
.should('have.attr', 'value', maxFrameNumber) |
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 remove this check. It is not actually true because default it set to 50.
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.
No problem. Done.
startPropagation(); | ||
cy.get('.cvat-propagate-confirm-object-on-frames') | ||
.find('input') | ||
.should('have.attr', 'value', propagateOnOneFrame) |
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.
The same. I do not see any necessity to check this value.
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.
Done.
|
||
it('From the 1st frame propagate again on 2 frames.', () => { | ||
startPropagation(); | ||
cy.get('.cvat-propagate-confirm-object-on-frames') |
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.
Can we do opposite thing in this test entering the value in cvat-propagate-confirm-object-up-to-frame
? (and checking cvat-propagate-confirm-object-up-to-frame
)
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.
Yes. I did this when propagate to 2 frames in the test.
…o dkru/case-53-propagate-not-on-last-frame-origin
Motivation and context
Add Cypress test.
How has this been tested?
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.