26 Commits (14bb0b74afab0796d33bfabe48f23bfabe74e1ac)

Author SHA1 Message Date
Boris Sekachev e5d01359aa
Removed code duplications, added checks to CI (#5253) 3 years ago
Boris Sekachev 16406fec96
Added basic masks tests (#5237) 3 years ago
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
Boris Sekachev 6410b86a4e
Added end-to-end Cypress tests for Skeletons pipeline (#4892)
* Updated config

* Added skeleton drawing

* Added first cypresst test with skeletons

* Reworked split

* Added drawing/merging/splitting

* Fixed IDs order

* Fixed case 107
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 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 b9f405804b
CI. Using the Docker layer cache. Parallelizing test runs. (#3100) 5 years ago
Dmitry Kruchinin 70a9071de8
Cypress test. Create a task with manifest file. (#3014)
* Update cypress configs

* Add manifest as an asset

* Cypress test. Create a task with manifest file.

* Rework assets

* Update cypress test

* Add check container existing
5 years ago
Dmitry Kruchinin c9830d201e
Cypress test. Canvas 3D functionality. Basic actions (#2921)
* Add .pcd files to testing functional. Add cypress test.

* Add plugin to compare images.

* Add const file for testing canvas3d

* Add canvas3d folder to testing via cypress

* Add compare images to cypress.

* Some rework.

* Disable the test for Firefox.

* Disable the test in the cypress_cron_type.json (the record removed).

* Apply comments.

* Added click() as workaround for excluding wait()

* Try to click on the disabled workspace selectors.

For exluding check ant* class.

* Regenerate .pcd.

Add loop to wheel top/side/front

* Loop for wheel for perspective also.
5 years ago
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 5b30381909
Cypress test. Rename task feature. (#2682)
* Cypress test. Rename task feature.

* Update cypress.json
5 years ago
Dmitry Kruchinin 01d35c8794
Cypress test. Issue 2625. (#2629)
* Add css class for modal window.

* Add cypress test

* Move base_actions_project_task_user.js to another folder.

This folder will not be available when running through Firefox

* Rework cypress main configs.

* Add assert

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Kruchinin 4202c8195b Merge branch 'develop' of https://github.com/openvinotoolkit/cvat into dkru/cypress-test-check-email-verification 5 years ago
Dmitry Kruchinin 75d2826a3d
[Dependent] Cypress test. Project functionality. (#2459)
* init server changes
5 years ago
Kruchinin 57833e2030 Rework test suite for CI. 5 years ago
Kruchinin aa70541774 Added functionality for build CVAT with wmail support 5 years ago
Vitaliy Nishukov 7512fd6883
Reformatted (#2349) 5 years ago
Dmitry Kruchinin 534ad3940c
Cypress test optimization. (#2343)
* First step

* Second step

* Third step

* Change css class to find a task.

* Increase image count to 50, segmentSize to 10

Test adaptation.
Some fix.

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin c6da90c0be
Increase Cypress env parameter "defaultCommandTimeout" (#2322)
Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin a2997960c3
Cypress test for PR 1370. (#2152)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
5 years ago
Dmitry Kruchinin 7e7b650a6b
Cypress test to check creating and deleting an annotation task. (#2158)
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 4dadf55344
Cypress test for issue 810 (#2045)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin b9f47fd320
Cypress test for issue 1919 (#2013)
* Cypress test for issue 1919

* Increase value of "defaultCommandTimeout" to 10000ms

* Appying 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
Dmitry Kruchinin 6eb777a935
Add cypress support (#1951)
* Adding cypress support for running tests in the CI.

Modifications:
- .travis.yml: adding command for run testin via cypress
- Dockerfile.ci: addin install necessary package for correct cypress
works. Adding install cypress via npm.
- docker-compose.ci.yml: Starting necessary docker containers for
cypress testing.
- tests/cypress.json: Cypress configuration file
- tests/cypress/integration/auth_page.js: little bit fix.
- CONTRIBUTING.md: add documentation how to run cypress tests locally

* Add documentation how to run cypress tests locally. Remove wait() from
auth_page.js.

* Add run cypress in CI with the different config file cypress_ci.json

Update CONTRIBUTING.md.

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