Cypress- тестирование
Вопросов никаких нет, просто хотела поинтересоваться есть кто-нибудь, кто имел/имеет с ним опыт?
Интересуют скорее не программисты, а тестировщики.
Новый софт на Angular начали писать, для таких апп cypress больше подходит.
А так я мучаюсь с ним, отличается от Selenium очень.
не могу понять как «красивые»/ правильные тесты писать.
вот хотела тут спросить у кого-нибудь был такой «болезненный» переход и быстро ли привыкли?
Новый софт на Angular начали писать, для таких апп cypress больше подходит
А кто это решил? Просто, возможно тоже ангуляр подвалит, хотелось бы быть в полной боевой готовности. И пока теоретически ориентировались на Selenium. Но спасибо, надо будет и cypress глянуть
https://www.lambdatest.com/blog/cypress-vs-selenium-compar...
Shortcomings Of Cypress
That was a long list of advantages offered by Cypress. Does it mean that Cypress has all it takes to win the Cypress vs Selnium competition? Not yet since it does have its fair share of shortcomings:
- Selenium can be used against different browsers and OS combinations, whereas Cypress is only available for Chrome, Firefox, Edge, Brave, and Electron browsers. This makes Cypress a less-preferred choice for cross browser testing.
- It only supports the JavaScript framework for the creation of test cases.
- It does not support remote execution.
- As mentioned in the ‘Permanent Trade-Off section’ on the Cypress website, Cypress will never have support for handling multiple browser tabs. On the other hand, it is relatively easy to handle multiple browser tabs in Selenium.
- By default, Cypress does not support multiple-browser instances or control more than one open browser simultaneously. A workaround in Cypress is available to use two browser instances simultaneously or synchronize Cypress with other back-end processes (e.g., Selenium, Puppeteer, etc.) for driving the 2nd open browser.
- With Cypress, tests are limited to visiting domains that are determined to be of the same origin. By that rule, you can never visit two domains of different origins in the same test. However, it is possible to visit two or more domains that are arising from different origins in different tests.