69 Commits (a916e655538f17e564dcc43b64afc7d2cec2e58c)

Author SHA1 Message Date
Kruchinin 1600340a65 Deleted unnecessary code. 5 years ago
Kruchinin 8028d46f02 Applying comments. 5 years ago
Kruchinin c9de0b9879 Finish writing the test. 5 years ago
Kruchinin 343e4e5515 Continue writing the test.
Try to fix "Cypress failed to make a connection to the Chrome DevTools Protocol"
Adding selection lable name when goint to AAM to cypress command.
Fix some test for avid fail when the label order is reversed
5 years ago
Kruchinin 950061f492 Merge remote-tracking branch 'upstream/develop' into dkru/cypress_test_case13_merge_split_features 5 years ago
Kruchinin 617f171d63 Cypress test. Split/merge features. 5 years ago
Dmitry Kruchinin 3531316d52
Cypress. Saving the label name before creating the object. (#2360)
* Save lable value befor create an object.

And check it on right panel.

* Test for issue 1425. Select the necessary label in any case in AAM.

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Boris Sekachev 1c14dafae4
Added .eslintrc.js for tests (#2355) 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 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 c6da90c0be
Increase Cypress env parameter "defaultCommandTimeout" (#2322)
Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin d957d6a9ff
Update Cypress test for case 6. (#2284)
* Update Cypress test for case 6.

Dynamically retrieving values for calculating the correctness of scale.

* Apply comments.

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 5290c44005
Cypress test. Actions on points. (#2292)
Try to draw a points shape/track
Try to use parameter “number of points”, points drawing should automatically stop after this number of points is achieved
Try to switch a label and draw one more points
Check if everything works here

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 295090461d
Cypress test. Actions on polylines. (#2269)
Try to draw a polylines shape/track
Try to use parameter “number of points”, polylines drawing should automatically stop after this number of points is achieved
Try to switch a label and draw one more polylines
Check if everything works here

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 6574e35ffe
Cypress test. Actions on polygon. (#2266)
Try to draw a polygon shape/track
Try to use parameter “number of points”, polygon drawing should automatically stop after this number of points is achieved
Try to switch a label and draw one more polygon
Check if everything works here

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 10964b9b23
Cypress test for case 9. (#2262)
Try to draw a cuboid shape in two ways (by 2 points, by 4 points)
Try to draw a cuboid track
Try to switch a label and draw one more cuboid
Check if objects are drawn and they are shapes/tracks with right labels

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 8958553903
Cypress test for actions on rectangle. (#2212)
* Cypress test for actions on rectangle.

* Apply comments

Rename "createShape" command to "createRectangle"
and remove "createTrack" (combining 2 commands into one).
Adaptation of tests.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Vitaliy Nishukov a781e1cee1
UI improvements (#2238)
* Layout grid

* Changelog notes

* License headers

* Get rid of fixed layot in nested components

* Multiple grids

* Multiple grids HF

* Grid use react-hotkeys

* Cleanup and test fix

* Version up

* Notifications overlay fix
5 years ago
Dmitry Kruchinin 7456a1c6c5
Cypress test to check if image was scaled to ROI (#2206)
* Cypress test to check if image was scaled to ROI

* Apply comments.

* Fix getting scale value.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 4a8095914d
Cypress test to check image rotate. (#2194)
* Cypress test for check image rorate.

* Apply comments.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 8d3e006651
Cypress test to check scale and fit image. (#2195)
* Cypress test to check scale and fit image.

* Replace message for context().

* Applying comments.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin b5b872fa97
Cypress test to check task parameters frame (#2164)
* Cypress test to check if parameters "startFrame", "stopFrame", "frameStep" works as expected

* Apply comments.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Dmitry Kruchinin 5ba88d5442
Cypress test for: (#2171)
- Register two more users
- Login with one of users and create a task
- Assign the task to the second user
- Login with the second user and check if the user is able to open the task
- Login with the third user and check if the user doesn’t see the task
- Login with the first user and assign the third user to a job
- Login with the third user and check if the user now is able to open the task

Co-authored-by: Dmitry 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 4dc25e20c9
Cypress test to check change user password and login with the new (#2159)
password.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
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 c848f6f7e0
Cypress test for issue 1391. (#2150)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 798c396d1f
Cypress test for issue 1368. (#2140)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 2fb69562ef
Cypress test for issue 1216. (#2133)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin cb4d8e6ee5
Cypress test for issue 1825. (#2124)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 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 bd6cefeada
Cypress test for issue 1425. (#2122)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 0982ea3f57
Cypress test for issue 1568. (#2106)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin a30921b271
Cypress test for issue 1433. (#2116)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin a6884427d4
Cypress test for issue 1540. (#2096)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 7acd8dddc6
Cypress test for issue 1498 (#2083)
* Cypress test for issue 1498

* Applying comments.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 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 15acb953e3
Cypress test for issue 1444. (#2099)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 4cede5c959
Cypress tests for issues 1882, 1886. (#2075)
* Cypress tests for issues 1882, 1886.

* Applying comments.

Add command to open/close settings.

Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 778b7f5227
Cypress test for issue 1841 (#2057)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 822a3b5578
Cypress test for issue 1944 (#2055)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kalinin 582e23bf88
Batch of fixes (#2031) 6 years ago
Dmitry Kruchinin 9c4e717ddb
Cypress test for issue 1819 (#2043)
* Cypress test for issue 1819

* Fixing a typo in parameter naming

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 82c3e0496b
Cypress test for issue 1750. (#2030)
* Cypress test for issue 1750.

* Rework imageGeneration function.

Rework test for getting an elements by recently added classes.

* Changing the class to switch to AAM mode

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 e8c44bc8e2
Cypress test for issue 1439 (#2028)
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
6 years ago
Dmitry Kruchinin 8f323cfd5c
Cypress test for issue 1429 (#2017)
* Cypress test for issue 1429

* Rebase. Code refactoring.

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