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. Rework the command to add a label. #4195

Merged

Conversation

dvkruchinin
Copy link
Contributor

Motivation and context

When running tests without splitting into groups, as is done in Publish Docker images there will be an error in test canvas3d_functionality_2/case_78_canvas3d_functionality_cuboid_label.js. This is due to the fact that a new label is not added if a label with the same name already exists. This is also due to changes in #4007. This patch solves this problem.
Before adding a new label, it is checked that a label with the same name does not exist. Otherwise, the existing label will be deleted.
The command to delete the label has been added, the label addition command has been redesigned and some tests have been adapted.

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

@bsekachev bsekachev merged commit 5915740 into cvat-ai:develop Feb 4, 2022
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.

2 participants