24 Commits (7df2b2fded320eef43166fc9689b9026bf0d45d3)

Author SHA1 Message Date
Kirill Sizov bae7564968
Add webhooks (#4863)
Co-authored-by: “klakhov” <kirill.lakhov@cvat.ai>
Co-authored-by: Boris <sekachev.bs@gmail.com>
Co-authored-by: kirill-sizov <kirill.sizov@intel.com>
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
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
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 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 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 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
Dmitry Kruchinin 59d7b38157
Cypress. Adapting tests to the new filter functionality. (#3026)
* adapting 1444

* Add cypress command

* Tests adaptations.

Removed test or issue 2690.

* Add the css class if filter modal visible

* Move cypress command for filters to diff file

* Tests adaptations

* Applying comments.

* Moving comments

* Prettier formatting.

* Fix another tests
5 years ago
Dmitry Kruchinin 1efd21ab77
Cypress test. Canvas 3D. Control button mouse interaction. (#3003)
* Case 56 remove after()

* Cypress test. Canvas 3D. Control buttom mouse interaction.

* Restart CI

* Add different command file for canvas3d feature.

* Update index.js

* Update the copyright year

* Tests adaptations
5 years ago
Dmitry Kruchinin 09794c52c9
Cypress test. Review pipeline feature. (#2555)
* First step

* Second step.

* Third step

* Fourth step

* Fifth step.

* Added css classes. Added commands. Finish writing the test.

* Some fix

* Updated version

* Some tests adaptation

* Rework saveJob() command

* Tests adaptation.

* Apply comments

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Dmitry Kruchinin ddd1c08963
Fix multiple tests for the Firefox browser (#2615)
* Add css class for modal window

* support/index.js adaptation

* Several tests adaptation

* Apply comments.

* Applying comments.

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 2c88e2ddb5
Cypress test. Drawing with predefined number points. (#2583)
* Cypress test. Drawing with predefined number of points.

* Updated version.

* Fix typo

* Add css class for modal window.

Rework cypress command for remove annotation.

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 565020cce2
Fix some tests for antd4. (#2552)
* Fix tests

* Some fix

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Boris Sekachev 91162ecaab Fixed a couple of tests 5 years ago
Dmitry Kruchinin 75d2826a3d
[Dependent] Cypress test. Project functionality. (#2459)
* init server changes
5 years ago
Dmitry Kalinin 879deb5a52
Projects (#2255)
Initial implementation of Projects feature to group similar tasks into one group (aka Dataset UI in the future).
5 years ago
Vitaliy Nishukov 7512fd6883
Reformatted (#2349) 5 years ago
Dmitry Kruchinin 70e89d6f83
The change in the measurement of CVAT-UI code coverage. (#2295)
* The change in the measurement of CVAT-UI code coverage.

* Firefox to cron without coverage.

PR, push coverage via Chrome.

* Refactoring .travis.yml.

Added a wait of 10 seconds in the first test to prevent a login error in CVAT after rebuilding containers after code instrumentation.

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin e7cf157936
CVAT-UI: measure coverage. (#2196)
* Try measure coverage

* Return first logic to runing a tests and measure coverage.

* Prepare to measure coverage.

Temporary disable run Cypress test via Firefox.

* Disable creating nyc output before implementing the coverage measurement.

* Change plugin for nyc to babel.

Add to eclude folders:
3rdparty
tests

Disable run test via Firefox.

* Update travis.yaml

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 8207eaeaba
Cypress tests via Firefox browser. (#2092)
* Cypress tests via Firefox browser.

Added browser verification functionality.
Added user and tasks removing functionality.

* Applying comments.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin ca4b320d23
Preparation for testing. Add tests for issue 1599. (#1983)
* Automate test preparation(mandatory operations for each test cases)

- Add test for creating an annotation task.
- Add automate for creating superuser.

* Add tests for issue 1599.

* Run Cypress from Travis CI.

Remove Cypress installation command from Dockerfile.ci
Remove the unnecessary docker-compose.ci.yml

* Replase image for creation an annotation task.

Change name of imsge in the Cypress test create_new_task.js

* Temporarily deleting the annotation task creation functionality

* Image generarion functionality

Add Cypress module for auto generation images
Add package files.

* Add custome commands for create an annotation task and a shape.

* Applying comments.

* /tasks instead of /task in the tests (applying comments)

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago