* 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>
* 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>
* 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>
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>
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>
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>
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>
* 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>
* 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>
* 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>
* Cypress test to check scale and fit image.
* Replace message for context().
* Applying comments.
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
* Cypress test to check if parameters "startFrame", "stopFrame", "frameStep" works as expected
* Apply comments.
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
- 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>
* 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>
* 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>
* Cypress test for issue 1919
* Increase value of "defaultCommandTimeout" to 10000ms
* Appying comments.
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
* 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>
* 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>