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

Cypress test to check image rotate. #2194

Merged
merged 2 commits into from
Sep 18, 2020

Conversation

dvkruchinin
Copy link
Contributor

Cypress test to check image rotate.

Motivation and context

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) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

bsekachev
bsekachev previously approved these changes Sep 18, 2020
Comment on lines 31 to 37
cy.get('.cvat-canvas-container')
.trigger('keydown', {key: 'Control'})
.trigger('keydown', {key: 'Shift'})
.trigger('keydown', {key: 'r'})
.trigger('keyup', {key: 'r'})
.trigger('keyup', {key: 'Control'})
.trigger('keyup', {key: 'Shift'})
Copy link
Member

Choose a reason for hiding this comment

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

Here we can leave shortcuts. So, in this case we testing both the scenarious

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Combined it into one function with a condition.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 65.389% when pulling 0d4a4f1 on dvkruchinin:dkru/cypress_test_case_5 into 2402793 on openvinotoolkit:develop.

@bsekachev bsekachev merged commit 4a80959 into cvat-ai:develop Sep 18, 2020
@dvkruchinin dvkruchinin deleted the dkru/cypress_test_case_5 branch October 12, 2020 14:26
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