* added new steps with incorrect user and password
* added className and change cvat-ui version
* improvements closeNotification function
* fixed if it running at firefox
* added className
* fix space on string
* added closeNotification in step
* improvements by comments
Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
* 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>
* add test
* add cssSelector for elements and update cvat-ui versions
* added step for verify select two filters
* rework by comments
* improved selection of two filters
* improvements by comments
Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
* 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>
* Cypress test. Label constructor. Color label.
One test adaptation.
* Fix test case22. Disable checking tag name.
* Some fix.
* Add css classes. Update cypress command.
* Version updated
* Some rework case22
Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
* add test
* improvements test
* improvements other tests
* add cssSelectors
* small improvements
Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
* add test
* add className for hide/unhide appearance
* change version cvat-ui
* change version cvat-ui
* step get value moved to before method
* small fix
* small improvements
Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
* add test
* change type variables, let to const
* change type another variables
* changed cssSelector to find cvat_canvas_background element
* change cssSelector from ant to cvat
Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
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
* 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>
* 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>
* Editor for polylines
* Polyshape editing for points
* Ability to exit from edit mode by right click (if no points)
* Slice approach have been added for polyshape creating
- changed Content-type for save_job request to application/json, object…
- Adopted public PR - PASCAL VOC converter
- Added convert_to_mask.py script
- Fixed player continue plaing at the end of video, lock for editable object broke the client
- Same colors for shapes and menus, ability to change color for label or group
- Undo redo
- Added license header for all files
- Added .gitattributes file (critical for bash scripts)
- Fixed "Don't delete tasks if a user is deleted"
- More strict check for 'checkbox' and 'number' values
- Added convert_to_coco.py script
- Job statistic were extended. Blowradius was removed
- More strict labels verification
- Drag polygons by requirement, norm stroke opacity, easy box dragging
- Drawing with mouse outside the image area
- Fixed 7z support
- Boundig box size in drawer, switcheable grid
- Split tracks feature
- Fix flip parsing
- Update color set & color by label feature
- Add point for polygons feature
- Added context menu
- Polyshapes