159 Commits (6ca72a915bceabda17ec7b45e4c2a90e5ba83f22)

Author SHA1 Message Date
Kirill Lakhov 6ca72a915b
Cypress. Add test for OpenCV TrackerMIL tool (#4301)
* init

* added test

* added comment

* fix typo

* fix linter error

* applied comments
4 years ago
Boris Sekachev 237f98d5f8
Some icons improvements (#4286)
* Removed unused icons

* Some icon changed to alternatives

* Updated version

* Icon selectors in tests

* Fixed eslint error in test

* Fixed opacity

* Updated header

* Fix URL scheme in cypress tests related with removing labels

* MinusCircled -> DeleteOutlined, removed one more custom cvat icon (there is the same antd icon)

* Fixed tests

* Fixed typos
4 years ago
Boris Sekachev c248a9a3f4
Fix URL scheme in cypress tests related with removing labels (#4288) 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
Andrey Zhavoronkov 2b50abba14
Bump pip from 21.0.1 to 22.0.2, setuptools from 53.0.0 to 60.6.0, wheel from 0.36.2 to 0.37.1 (#4267)
* bump pip from 21.0.1 to 22.0.2, setuptools from 53.0.0 to 60.6.0, wheel from 0.36.2 to 0.37.1
* used maintained django_sendfile2 package instead of django sendfile
* fixed cy tests due django_sendfile used wrong header
4 years ago
Dmitry Kruchinin d2ea06306f
Cypress. Update the test for project export dataset. Add import dataset. (#4233) 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 85cb87bf31
Cypress. Enabled check text with an ellipse rotation. (#4230)
* Enabled check text with Ellipse rotation

* Added dafult value to arg
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 29b249ecb1
Cypress test. Project backup/restore. (#4159) 4 years ago
Dmitry Kruchinin 211ae2a789
Cypress test. Ellipse actions. (#4215)
* Update the commands, utils. Case 108 adaptation

* Added/updated tests for ellipse
4 years ago
Dmitry Kruchinin fc6525eeb7
Cypress test. Adjust, enabling tests for issues 2524 2633. (#4166)
* Update the command

* Rework the test

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Boris Sekachev b85a4ad77c
Added support of ellipses (#4062) 4 years ago
Dmitry Kruchinin e17d791968
Cypress. Update test case_4. (#4089)
* Added removing tasks, users, projects.

* Update the case_4, function for deleting a task.

* Fix command

* Apply comments

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
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 Kalinin 579bfb38c3
Project import simple implementation (#3790) 4 years ago
Boris Sekachev 6af3be6cac
Added ability to setup text labels content (#4029)
* Added ability to setup text labels content

* Updated changelog

* Fixed wrong test

* Added minimum font size const
4 years ago
Dmitry Kruchinin e45d57b9e0
Cypress. Dummy cloud storages. (#3988)
* Creted dummy cloud storages.

* Add dummy per CS. Writing new test.

* Disabling for Firefox

* Code refactoring.

* Some rework

* Apply comments

* Apply comments

* Rename function. Add check tooltip text.

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
Dmitry Kruchinin a18f3eaaa8
Cypress. Fix case 28. (#3812)
* Fix case 28

* Added additional asserts.

* Added checks

* Added check .cvat-canvas-context-menu not exist

* Revert command

* Add assert
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
Dmitry Kruchinin e3c6daec03
Cypress. Fix tests. (#3761)
* Step 1

* Step 2

* Update asset for 3d tests

* Step 3

* Added custom command for screenshot screation.

* Adaptation tests for 3d functionality

* Command update

* Update command

* Rework command

* always screenshots

* Fix eslint issue

* Fix case 31

* Update command

* Fix commands
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
Dmitry Kruchinin e27c922408
Cypress test. Cloud Storage page. (#3697)
* Added test for check Cloud Storage page.

* Applying comments

* Fix movingTask command

* Replace comment

* Try to fix case 5
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
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 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 Kruchinin ca4563513b
Cypress test. Project export feature. (#3539)
* Add css class for modal export input

* Added cypress test. Added command.

* Update tests/cypress/support/commands_projects.js

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

* Update cvat-ui/src/components/export-dataset/export-dataset-modal.tsx

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

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
5 years ago
Dmitry Kruchinin 96a73c10fc
Cypress test for issue 3403 (#3537) 5 years ago
Dmitry Kalinin f18b1cb82d
Project: export as a dataset (#3365) 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
Boris Sekachev a881617124
Added adjustments for 3440x1440px (#3506)
* Added adjustments for 3440x1440px

* fixed testts

* Adjusted resolution

* Fixed some comments

* Added user hook

* Changed parameter name
5 years ago
Dmitry Kruchinin 7ee8efb3bc
Update Cypress tests. Added the use of the "Done" button. (#3505)
* Updated tests, commands

* Apply comments

* Removed unnecessary lines
5 years ago
Dmitry Kruchinin 056b7d8bf3
Cypress test. Rework case "Save filtered object in AAM" for CI nightly. (#3441)
* Rework case 99 for CI nightly

* Some fix

* Added a comments.
5 years ago
Dmitry Kruchinin f877f11fce
Cypress test. Adding a subset when creating a task from a project. (#3451)
* Added css class for subset field

* Update Cypress test and command

* Applying comments
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 b7f8e8dd83
Build CVAT with models support. Adding cypress test to check models page. (#3369)
* Try add model support to CVAT build

* Added a test. Run test from different job.

* Change context

* Moved models test to project actions.

Configs adaptations.
Checking nightly

* Moved canvas 3d tests to different cypress config

Updated publish_docker_images.yml

* Removed models from matrix

* check tests on publish workflow

* Rework publish yml

* fix build, up -d

* Removed unnecessary line
5 years ago
Dmitry Kruchinin 3e93f95ef7
Cypress test. Update "Multiple users. Assign task, job." (#3347)
* Added cypress commands

* Updated cypress test case 4 for check issue 3339

* Apply comments. Some rework cypress commands.
5 years ago
Dmitry Kruchinin 463199622c
Fix uncaught:exception for Firefox (#3356) 5 years ago
Dmitry Kruchinin 034c77af21
Rework Cypress check uncaught exception. (#3353)
* Fix uncaught:exception

* Rename var
5 years ago
Boris Sekachev 8a64394b8f
Fixed UI fails when inactive user is assigneed to a task/job (#3343)
* Fixed UI fails when inactive user is assigneed to a task/job

* Updated changelog

* Fixed tests
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
Dmitry Kruchinin 675ef964a5
Cypress tests. Move a task between/to projects. (#3287)
* Add css classes

* add/adaptation commands

* Cypress test. Move a task to a project.

* Remove a comment

* Cypress test. Moving a task between projects.
5 years ago
Dmitry Kruchinin 156ddae122
Cypress tests for CVAT-3D-M5 (#3228)
* CVAT 3D Milestone-5 changes

* Fixed Lint errors

* test

* Fixed review comments

* Fixed Lint errors

* M5 Box operations

* M5- Bounding Box Operations

* M5 Fixes

* Cypress test added wait time

* Changed the scene color to white

* Fixed year in header

* CameraAction naming convention changes

* M5-Fixes

* Fixed test fail issue

* M5- Major fixes

* Trigger notification

* Minor Fixes M5

* M5 - Other open items

* Trigger notification

* Error fix

* Trigger notification

* Unit Test fail fix

* Unit Test fail fix

* Trigger notification

* CVAT-3D M5 Review Fixes -1

* Add cypress test.

* try run canvas3d without headless

* hide tooltips

* Tests adaptations

* Review Fixes -2

* Review Fixes -3

* Merge changes

* Revert case 64

* Revert to cvat-3D-M5

* The test adaptation

* Add comments

* Added wait time in cypress

* Add condition for compare images

* cypress test. cuboid context menu.

* Cypress test. Make a copy.

* Cypress test. Cuboid propagate.

* Cypress test. Opacity. Outlined borders.

Add cypress command. Tests adaptation.

* Cypress test. Cuboid grouping.

* Fixes -1

* Trigger notification

* Case 64 adaptation.

* Updated yml for cypress tests 3D

* Cypress test. Redraw a cuboid.

* Updated tests

* Latest tests

* Cypress test. Cancel cuboid drawning.

* Cypress test. "Move the image" button interaction.

* Cypress test. Delete a cuboid.

* Cypress test. Save a job. Remove annotations.

* Fix case 88

* Fix case 88

* Cypress test. Filters.

* Minor rework case88

* Applying comments.

Co-authored-by: cdp <cdp123>
Co-authored-by: Jayraj <jayrajsolanki96@gmail.com>
5 years ago
Jijoong Kim 573bdbe32c
Add is_active field in UserFilter (#3235)
* Add is_active field in UserFilter

* Update changelog

* Add is_active as a default searchParam to get user list

* Fix url search query

* Update CHANGELOG.md

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