9 Commits (9fd4c035db2a172cf5a64e18ee51d58816d597b5)

Author SHA1 Message Date
Dmitry Kruchinin 0d99bec0cd
Cypress test. Dump/Upload annotation. (#2771)
* Add css classes.

* Add some functions for test

* Cypress test. Dump/Upload annotation.

* Increase Cypress version to 6.4.0

* Added css classes for projects

* Replace dowloadFolder parameter

* Commands adaptation to 6.4.0

* Tests adaptation

* Additional changes related to migration to 6.4.0

* some fix

* Update cvat-ui/src/components/project-page/details.tsx

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>

* Update cvat-ui/src/components/project-page/details.tsx

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>

* Apply comment

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Dmitry Kruchinin 98d7c4d54d
Cypress test. Show attached files when creating task. (#2734)
* Cypress test. Displaying attached files when creating a task.

* Update Cypress plugin "cypress-file-upload".

* Apply comments.
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 1398bd3390
Cypress test. Group color feature. (#2589)
Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
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 ab3fac5d93
Cypress test for issue 1438. (#2113)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin ec8ebc7473
Cupress test for issue 1785 (#2018)
* Cupress test for issue 1785

Add test.
Add functionality for create zip archive with images.
Update package.json, package-lock.json.

* Applying comments.

Code refactoring.

* Applying comments.

* Reworking commands to search for elements by new classes

* Return Promise from imageGenerator function.

Remove wait() after image generation.

* Replace "throw" to "reject" in the "imageGenerator" function.

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