35 Commits (f2c84a2653fc601c90bcb84154f0fe7a6be937df)

Author SHA1 Message Date
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
Dmitry Kruchinin 0856be00e9
Cypress test for issue 1870 (#2016)
* Cypress test for issue 1870

* Applying comments.

Refactoring the test code.

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
Dmitry Kruchinin 1255996964
Add a cypress test. (#1936)
* Add a cypress test.

* Rename the file of test. Change location of the file.

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