Better HN
topnewbestaskshowjobs
Log inSign up

byteofmydream

1 karma · joined Dec 20, 2018 (7y ago) · 6 submissions

Submissions

comment 5y ago · link · parent

And sometimes it's enough to simulate on the level of api's to get same results

comment 5y ago · link · parent

Sorry but I can't provide more objective reasons why not use Cypress except that cypress is more about aggressive marketing and promotion, but not a useful tool for testing. I don't want to write node.js inside separate files, I want to use it without limitations, for manipulating with DOM and http. I want to use normal async/await, as all adequate people do nowadays while using ES. Even when I wanted to make multipart-form-data request I found that it's not possible using Cypress. But it's quite a trivial common thing, I didn't want something unique, or am I?

comment 5y ago · link · parent

jQuery promises are good as well, but I'm writing from 2020 :)

comment 5y ago · link · parent

this 2 'killer features' could be implemented in your tests in a day or two. Also, you can use video recording features implemented in docker images like Zalenium

comment 5y ago · link · parent

Cypress is very bad. What frustrated me most of all is that you can't use node.js, only 'browser javascript'. Also, absence of promises makes Cypress way behind its alternatives. Don't be fool, use TypeScript + Cucumber + puppeteer/ axios, or Java + Selenium/RestAssured, or any other appropriate tool with open source model and adequate code base, maintained by community

comment 7y ago · link · parent

BTW, there are some pay-to-chat applications. i.e. WowApp (https://www.wowapp.com/w/byteofmydream) and also you can spend earned money to charity. Sorry for spam, I just think it's a bit related to the topic