54 Commits (f82d7f520e988d68e782cfdb980d9dcf16795d2c)

Author SHA1 Message Date
Roman Donchenko f82d7f520e
Fix most ESLint errors/warnings in tests (#5647)
After this, there's only 12 files with ESLint errors left. I didn't fix
those because they all have at least one
`cypress/no-unnecessary-waiting` error, and I don't have enough Cypress
expertise to fix those.
3 years ago
Kirill Lakhov 19b2643e69
Allowed to upload `.xml` and `.json` annotation files from UI (#5386)
<!-- Raised an issue to propose your change
(https://github.com/cvat-ai/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the
[CONTRIBUTION](https://github.com/cvat-ai/cvat/blob/develop/CONTRIBUTING.md)
guide. -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
Resolved #5274
+ Fixed typo in tests

### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [x] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file
- [ ] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly
- [x] I have added tests to cover my changes
- [x] I have linked related issues ([read github docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [x] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
3 years ago
Maria Khrustaleva ca83d3c925
Fix attaching manifest file with custom name (#5377)
<!-- Raised an issue to propose your change
(https://github.com/cvat-ai/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the
[CONTRIBUTION](https://github.com/cvat-ai/cvat/blob/develop/CONTRIBUTING.md)
guide. -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
Closes #5361 
### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->
Updated existing cypress test
### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [x] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file
~~- [ ] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly~~
- [x] I have added tests to cover my changes
- [x] I have linked related issues ([read github docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [x] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.

Co-authored-by: Nikita Manovich <nikita@cvat.ai>
3 years ago
Boris Sekachev 90ca4018a0
Added cypress test to create a task with only bounding boxes (#5346) 3 years ago
Boris Sekachev 7265553654
Supported type for all labels (#5273)
* Supported type for all labels

* Multiple fixes in UI for new type scheme

* Fixed on 3d annotation view

* Fixed tests

* Updated version && changelog

* Fixed test

* Added type

* Fixed typos

* Fixed minor comments
3 years ago
Boris Sekachev 6811c57ef4
Added cypress tests for issue 4966 (#5080)
* Added cypress tests for issue 4966

* Updated license headers
3 years ago
Maria Khrustaleva 56e8c1eb82
Cypress tests for source & target storage (#4914)
* Draft version

* Implemented import & fixed export && some code cleanup && some fixes &&  updated notifications

* Refactoring && fixed several bugs

* Update licence headers && small fixes

* Update remaining licence headers && small changes

* Fix part of tests

* Fix tests

* Remove unused code

* Fix part of comments

* Some fixes

* Move file download process to job

* Rename methods

* Small fix

* Fix storages configuration for tasks

* Styles

* Remove unused

* Change storage configuration && fix forms reset && some fixes

* Update imports

* Remove extra argument type

* Add catch

* Fix import backup from local

* Import architecture refactoring && some fixes

* Rename props

* Small reorganization of export architecture &&  minor fixes

* Remove unused import

* Small fix && skip error notification when no permissions

* Fix project creating

* Fix part of eslint issues

* Fix eslint

* Fix eslint

* Fix eslint

* eslint

* Fix some eslint issues

* Combine uploadAnnotations and importDataset

* Fix annotation uploading from local

* Update tests

* Fix annotation uploading

* Fix notification

* Update dependencies

* fix

* Update jest tests

* Skip error notification when no permissions

* Update case 91 92 canvas3d tests

* Styles

* Update icons

* eslint

* eslint

* eslint

* eslint

* Create & delete cloud storage

* Common part && export job annotations

* Update tests && add tests for project backup

* Fix typo

* Rename variables

* debug

* Revert timeout

* Fix server host

* Fix test with project backup restore

* small refactoring

* Update issue_2473_import_annotations_frames_dots_in_name
3 years ago
Maria Khrustaleva 9f89787f95
Source & target storage support (#4842) 3 years ago
Boris Sekachev 7e20b279af
Added support of skeletons (#1) 4 years ago
Kirill Lakhov 7a33fc0339
Fix unstable 2E2 tests (#68)
* Added workaround

* fixed yolo format test

* applied comment

* removed logout intercept
4 years ago
Aleksey Alekseev fbcf758674
86 improve uiux on create task page (#7)
* Update label form

Remove Done button
Add closing by Esc
Add continuing by Enter

* disable autocomplete on label form

* Update submit behavior on create task

Change one submit button to two: "submit and open" and "submit and continue"

* Update submit behavior on create project

Change one submit button to two: "submit and open" and "submit and continue"

* fix eslint error

* change tests

* Add changes in changelog

* update version cvat-ui

* move of empty name handler logic when create label

* change handler errors on create project

* change text of buttons

* revert change yarn.lock

* Fixed eslint pipeline

* fix eslint error on test

* fix several tests

* fix several tests

* fix several tests

* fix several tests

Co-authored-by: Boris <sekachev.bs@gmail.com>
Co-authored-by: kirill-sizov <sizow.k.d@gmail.com>
Co-authored-by: Nikita Manovich <nikita@cvat.ai>
4 years ago
Kirill Sizov a38c567c4c
Fix CI-nightly (#117) 4 years ago
Boris Sekachev 4f1a778d22
Fixed Intel license headers (#119) 4 years ago
Kirill Lakhov 5d318e0f5f
Incremental jobs update (#42) 4 years ago
Boris Sekachev ebd04aa4de
Fixed built, improved testing system (#43)
Fixed nightly built, reworked closing platform notification, updated cypress, fixed vulnerabilities in tests/
4 years ago
Kirill Lakhov c266a9421c
Improved stability of actions_tasks/task_changes_after_initial_save.js (#39) 4 years ago
Kirill Lakhov 5820ece3f0
Fix CI-nightly: task_changes_status_after_initial_save test (#25) 4 years ago
Boris Sekachev 1225fbb1bc
Enhanced filtration/sorting for tasks/projects/tasks in projects/cloud storages (#4409) 4 years ago
Boris Sekachev f719648bb0
Added cypress tests for the feature: 'continue frame n' (#4340)
* Added cypress tests for the feature: 'continue frame n'

* Update tests/cypress/integration/actions_tasks/continue_frame_n.js

* Update tests/cypress/integration/actions_tasks/continue_frame_n.js
4 years ago
Dmitry Kruchinin 5915740cdb
Cypress. Rework the command to add a label. (#4195)
* Add command for a label delete. Rework command to add a new label

* The tests adaptations

* Some updates

* Fix ESLint issue

* Fix command
4 years ago
Maria Khrustaleva 83126c7b5a
API versioning using accept header (#4239) 4 years ago
Boris Sekachev 29f14a814a
Added 2 cypress tests (#4278)
* Implemented test for issue #3975 PR #4189
4 years ago
Dmitry Kruchinin 5e43171486
Cypress tests. Paste labels to another task/project. (#4236)
* Start writing the test

* Rename the test

* Update the test. Added a cypress plugin

* Added comment

* Change the comment

* Started writing the test for paste labels from another task

* Added classes

* Update command

* Renamed fine name. Added test for task
4 years ago
Dmitry Kruchinin e212d57136
Cypress. New organization pipeline. (#4143)
* The folder renamed

* Add classes

* Rename the folder

* Rename/rework the script for remoing users, tasts, projects,
organizations

* Added commands for organizations

* Fix eslint issues

* Fix workflow

* Move the test to the registration_involved folder

* Added class

* Update the test. Added some commands.

* Added class

* Add a command. Updated the test.

* Fix eslint issue

* Added some classes

* Added cypress command. Update corespinding test.

* Continue writin the test. Update commands.

* Continue writing the test

* Update main.yml

* Add className

* Update the test. Add command

* Update the test

* Added command for remove a tasks, users, progects, orgs

* Some reworks

* Add a class

* Update the test

* Added check issue 4096

* Update year

* Update years

* Update the stept in the test

* Rework command to remove users, etc.

* The tests adaptation

* Rework command to deleting users, etc.

* Apply comments

* Revert changes except base_actions_project test

* Rename the command to delete a task by api

* Apply commenst. Split tests

* Update the command, the test.

* Added steps to check

* Fix support/index.js

* The test adaptation.

* Removed comments.

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin f9e10ff059
Update antd to 4.17.0. Fix the tests. (#4188)
* fix: cvat-ui/package.json & cvat-ui/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ASYNCVALIDATOR-2311201

* Fix case 69

* Fix case 51

* Fix case 53

* Tests reworked, fixed

* Removed cypress plugin

* Fix support/index.js

* Update support/index.js

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin 8629d0f79e
Added aditional check dropdown menu visibility (#4100)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin 7d3116e287
Cypress. Fix/update case 69. (#4078)
* Fix case 69.

* Fixed/updated the test. Added-reworked the commands.

* Fix commands

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin 6ae08d5bc7
Rework case 39 (#4081)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Nikita Manovich 4708b5ecf8
IAM: Open Policy Agent integration (#3788)
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
4 years ago
Dmitry Kruchinin e375c70f36
Adding test to check "Smooth image" option (#4015)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin 130b815f61
Cypress. Update the test for check issue 3810. (#3900)
* Add command for unpack zip

* Test adaptation

* Tests adaptation for tasks

* Fix ESLint issue for tests.

* Fix ESLint issue for cypress support/plugins

* Added tests folder to workspaces. Ignore Eslint isuue

* Fix deletingRegisteredUsers

* Update test for checking issue 3810

* Applying comments

* Removing tests from package.json workspaces.

* Adding nmp ci for tests folder

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Boris Sekachev 7bab58e1a6
Added rotated bounding boxes (#3832)
Co-authored-by: Maxim Zhiltsov <maxim.zhiltsov@intel.com>
4 years ago
Kirill Sizov cc1b8190f3
Add Open Images format (#3679) 4 years ago
Dmitry Kruchinin 68d412b134
Cypress. Fix tests. (#3783)
* Additional fix case 28

* Fix case 69

* Additional fix case 31.

* case 69
4 years ago
Boris Sekachev a9ce458311
Tried to fix some tests (#3737)
* Tried to fix some tests

* Revert visibility class

* Fixed outdated code

* Fixed one code point

* Test.

* Fixed upload annotations tests

* Fixed upload tests

* Disable animation for popovers

* Removed extra class

* Removed strange check

* Pass overlayStyle from HOC to child Popover
4 years ago
Boris Sekachev 02172ad55c
Fixed upload test (#3742) 4 years ago
Boris Sekachev 03c851594c
Migrated to the new antd, fixed tests, fixed annotations uploading (#3694)
* Revert "Revert "Updating tests for migration to a new version of antd (#3623)""

This reverts commit 0fd8b5d49e.

* Fixed issue with annotations uploading

* Fixed menu on annotation page

* Tried to fix: Cannot read property nodeType of null

* Updated deps

* Fixed a couple of issues in menu

* Fixed import after updating antd

* Update cvat-ui/webpack.config.js

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
4 years ago
Dmitry Kruchinin 85bd09a1d7
Fix test for issue 2473 (#3683) 4 years ago
Nikita Manovich 0fd8b5d49e Revert "Updating tests for migration to a new version of antd (#3623)"
This reverts commit 1ecb44a63e.
4 years ago
Dmitry Kruchinin 1ecb44a63e
Updating tests for migration to a new version of antd (#3623)
* Migrated to new antd and react, fixed tests
* Popover visibility reworked
* Fixed package-lock
* Fix command for a shape drawning.
* Fix command for 3D functionality
* Fixed cannot read property map of undefined
* Updated cypress and plugins
* Update main.yml
* Update popover visibility in the tests
* Replace "be.visible" to check "ant-popover-hidden" class
* Implemented tricky way to setup popover visibility

Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
4 years ago
Dmitry Kruchinin 5af103ee08
Migration to the latest version of Cypress (#3667)
* Updated packages. Adapt main.yml.

* Apdated function

* Test adaptations.

* Disable test for issue 1823
4 years ago
Dmitry Kruchinin 3c3465dd8e
Cypress test. Update cases dump/upload annotations. (#3545)
* Update cypress tests

* Added wait to command. Removed from tetst.

* Added rename archive to export dataset 3d functionality
5 years ago
Dmitry Kalinin f18b1cb82d
Project: export as a dataset (#3365) 5 years ago
Dmitry Kruchinin 92a26e00dd
Cypress test. Create URL for a shape and frame. (#3516)
* Cypress test. Installed module and  cypress plugin

* Updated the test. Experimtnts with a command

* Try to getting a clipboard text

* Rework adding clipboard. Revert index.js

* Added the step for creation link for a frame. Added asserts

* Adapted for Firefox
5 years ago
Dmitry Kruchinin 83d086d212
Cypress test. OpenCV basic actions. Histogram Equalization. (#3504)
* Optional content-length

* Updated check

* Added comment

* Added cypress test. Added commands

* check redraw

* Added steps to the test.

* Check "Done" button, change number of points

* Removed scrollBehavior

* Add class if functionality is active

* Added checking Histogram Equalization

* Change context.

* Apply comments

* Apply comments

* Return step of creation a shape without Done

* Added histogram error notification

* Revert opencv-control.tsx

* Added class to notification. Reworked the test.

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
Co-authored-by: klakhov <kirill.lakhov@intel.com>
5 years ago
Dmitry Kruchinin 44c8709420
Cypress test. Settings. Default number of points in polygon approximation. (#3465)
* First stage for points minimizer

* Fixed issue with correct opencv initialization status

* Displaying points during interaction

* Added releasing memory

* Initial version for on-the-fly optimization

* Redesigned accuracy

* Updated version & changelog

* Fixed opencv scissors

* Clean up some intermediate state

* Fixed scss

* Redesigned slider a bit

* Added errored shape

* Keep slider hidden while didn't recieve first points

* Adjusted settings slider

* Updated label

* Cypress test. Settings. Default polygon approximation accuracy level.

* The test updated

* Rename the test

* A couple of fixes for trackers & detectors

* Updated default value

* Update tests/cypress/integration/actions_tasks/case_100_settings_default_number_of_points_in_polygon_approximation.js

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Dmitry Kruchinin 3be162a0a7
Update case72. Checking "Attribute keeping when changing label" feature (#3448) 5 years ago
Dmitry Kruchinin 1faa9b17a0
Cypress test. Save filtered object in AAM. (#3436)
* Cypress test. Save filtered object in AAM.

* Update cypress command

* Revert changes for cypress command. Moved the test.

* Splited "changeWorkspace" and "changeLabelAAM" commands.
5 years ago
Dmitry Kruchinin 6729d1a114
Removed the extra check from the test (#3306) 5 years ago
Andrey Zhavoronkov 72fdef4335
Az/import export tasks (#3056)
* initial version of task export/import feature

* fixed tests

* CLI

* fix comments

* updated license headers

* fix eslint issues

* fix comments

* fixed comments

* reverted changes in *.md files

* fixed comments

* fix pylint issues

* fix import for share case

* improved unit tests

* updated changelog

* fixed Maria's comments

* fixed comments

* Fixed position of create new task button

* Fixed span position

* fixed comments

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago