29 Commits (269c20861b8432abc2cd044c9c2ceee0fdaeb2da)

Author SHA1 Message Date
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
Maria Khrustaleva 83126c7b5a
API versioning using accept header (#4239) 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 cee4f663ba
Added the step to check the issue 4140 (#4145)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
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
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 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 701168af8a
Fix case 28 (#3753) 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 87246c5469
Fix case 28 (#3693) 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 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 292cda8ed1
Cypress. Update test "Review pipeline feature". (#3207)
* Add { multiple: true } for closing cvat-notification-notice-save-annotations-failed

* Add log for debug

* Remove debug
5 years ago
Dmitry Kruchinin 17908003df
Update cypress test. Review pipeline feature. (#3118)
* Upate cypress command.

Added the ability to re-open the issue.

* Update cypress test. Added re-open an issue.

* Apply comments

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

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
5 years ago
Dmitry Kruchinin 86eef84717
Rework Cypress test "Register user, change password, login with new password". (#2933)
* Rework Cypress test "case 2".

* Add command to deleting a registered users.

* Tests adaptation.

* Update cypress command

* Test adaptation

* Apply comments.
5 years ago
Andrey Zhavoronkov cd3db10aea
[Snyk] Upgrade antd from 4.11.2 to 4.12.0 (#2853)
* fix: upgrade antd from 4.11.2 to 4.12.0

Snyk has created this PR to upgrade antd from 4.11.2 to 4.12.0.

See this package in npm:
https://www.npmjs.com/package/antd

See this project in Snyk:
https://app.snyk.io/org/cvat/project/c1f463ee-3776-44c4-b0fa-cd2254d0a094?utm_source=github&utm_medium=upgrade-pr

* Fix some Cypress test for antd 4.12.0 (#2855)

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dmitry Kruchinin <33020454+dvkruchinin@users.noreply.github.com>
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 f49eec7fba
Add "id" to sidebar issue item. Update Cypress test. (#2784)
* Add id to sidebar issue item.

* Test adaptation

* Some fix

* Apply comments.
5 years ago
Dmitry Kruchinin 51c3dd8fe3
Cypress. Remove annotation before spec if an object exist. (#2787)
* Update cypress commands to remove anotation

* Update tests
5 years ago
DmitriyOparin a7a23d4bfa
Update cypress test. Create task fail. Update task fail. Delete task fail. (#2622)
* add test

* add className for elements and chage cvat-ui version

* change ant to cvat cssSelector

* fix test if it is running at firefox

* improvements by comments

* fix fail

Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
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
DmitriyOparin a04d95dfc5
Update cypress test. Change password fail. (#2619)
* added step change password with incorrect password

* added cssSelectors for elements and changed cvat-ui version

* rename step

* improvements by comment

* fix if test running in firefox

Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@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 d6ac8cc5be
[Dependent] Simple Review Pipeline (Client) (#2357)
* tmp

* Removed migration

* Rebased

* Added signals & rating

* Updated API views

* Added reviewer serializer

* Added permissions

* Fixed some code issues

* Fixed swagger docs

* Some fixes

* Updated api method to create review

* Added some API tests & some fixes

* Added some tests

* Removed extra code

* cvat-core, basic review view

* Removed extra components

* Fixed context menu

* Added api method to canvas, removed extra files

* Implemented roi selection

* Added method to display rois on canvas

* Updated README.md

* Create issue dialog, some fixes

* Setup chat dialog windows

* Code refactoring

* Some fixes

* Small enhancement

* Fixed core tests, removed extra code

* A couple of fixes on canvas

* Canvas issues highlighting

* Small UX fix

* Fixed width of chat

* Code refactoring

* Added dialogs & review summary

* Fixed tests

* Fixed bug during rendering

* Applied changes from client part

* Fixed bugs in tests

* Added docs & setup plugins in cvat-core

* Aborted cypress changes

* Fixed comments

* Removed extra change

* Renamed fields

* Updated versions, fixed some comments

* Merged develop

* Merged develop

* Removed extra changes

* Removed extra changes

* Fixed tests

* Fixed scale & animation

* Using hull instead of the whole set of points

* Fixed minor issue

* Added additional logic to improve UX

* Updated task instance after review submitting

* Removed extra dependenci from package lock

* Fixed REST API test

* Removed /comments/<id> [PUT]

* /issue/comments/create [POST] -> /comments [POST]

* /job/<id>/reviews/create [POST] -> /reviews [POST]

* [PATCH] /issue/<id>/resolve(reopen) -> [PATCH] /issue/id

* Minor fix

* Updated till the latest REST APi

* Fixed test

* Reviewed review summary

* Review summary client-side

* Removed unused import

* Checking permissions client side

* Checking job permissions

* UP issue dialog onmouseout

* Added shadow & pressenter event

* Added ref initial value

* Using the same box shadow in the whole project

* Removed extra files in the patch

* Removed extra files in the patch

* Updated versions

* Updated changelog

* Fixed merge issue

* Set updated flag on changing a reviewer

* Fixed submit review modal

* Two minor issue fixed

* Searching issues & additional sidebar tab

* Show text for locked objects

* Fixed permissions for reviewers

* Fixed typos

* Fixed review request/submit actions, added action to finish a job

* Star rating instead

* Fixed migration

* Removed animation, updated blur/highlight behaviour, updated hiddel labels position

* Hide/show issues button, adjusted header

* Context menu & buttons

* Removed ability to select an object in region selector

* Do not show issues in AAM & tag annotation

* Fixed jest tests

* Fixed: cannot read property label of undefined

* Getting hull before creating the issue

* Added ability to leave quick comment one of latest

Co-authored-by: Nikita Manovich <nikita.manovich@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
Kruchinin 2d05706212 Merge remote-tracking branch 'upstream/develop' into dkru/cypress-test-check-email-verification 5 years ago
Kruchinin 57833e2030 Rework test suite for CI. 5 years ago