I just started using Cypress and am already completely hooked. It makes testing a breeze.
@WendimuSitotaw2 жыл бұрын
Loved how it's presented: simple. Liked and subbed halfway through the video!
@richardogujawa-oldaccount1336 Жыл бұрын
I was getting a little bit frustrated trying to get the react testing library to play nice with Typescript, and at a certain point was just downloading a bunch of dependencies as was recommended in different articles, videos I watched etc., but nothing seemed to work. But Cypress just seems to work out of the box. Can't say thank you enough!
@homebrewguy22 жыл бұрын
You did a fantastic job man! I’ll be back for more of your great content🤠
@salemfenn666 Жыл бұрын
Great explanations and examples
@yashsonalia35062 жыл бұрын
I have created a custom theme using styled-components, how do I implement the same in cypress?
@harshjaiswal3947 Жыл бұрын
What if there is a route navigation after submitting form ? The current url would get updated due to which we won't be able to write more tests for the same component as the component mounting would fail, right ?
@NeverCodeAlone Жыл бұрын
Very nice thx a lot!!
@thrash_jesus Жыл бұрын
So how do i actually RUN the tests (for CI purposes)
@asdfaam2 жыл бұрын
Why exactly do we need to put square brackets around data attributes in Cypress?
@PiotrNalepa2 жыл бұрын
How to load custom styles coming from SCSS files into the test to make sure the component looks like expected?
@Cypressio2 жыл бұрын
Hi Piotr. You will need to include the compiled .css file that gets output from all of your SCSS files into Cypress.
@alifcorrea73292 жыл бұрын
What is the vantage of using component tests? (its a honest question). Is not a real environment, if application brokes, the test not catch this.
@joaoreisjpk2 жыл бұрын
Awesome!
@rojalbati57282 жыл бұрын
Yeah!!! Cypresssssssssss
@chrisdaman41792 жыл бұрын
You should really focus on your dev experience for people who can't use the gui. The docs are completely useless for ci/cl pipelines setups and dev container work. There is no reason a robust cli couldn't be put together to fix this.
@RizaHariati2 жыл бұрын
There should be a shortcut for 'data-test' just like with id (#something) or class(.something) typing("[data-test='something']) is a bit annoying after a while
@rand0mtv660 Жыл бұрын
Watch the video again and from 7:35 you can see that a custom selector was created that does exactly what you mention in your comment.
@LarsRyeJeppesen2 жыл бұрын
So a react only test. Zzzz. Maybe you should have mentioned it
@Cypressio2 жыл бұрын
Hi Lars, writing component tests are basically the same regardless of the UI framework you are using. The APIs are identical.
@LachlanMiller2 жыл бұрын
Are you looking for Vue or Angular? Maybe useful: kzbin.info/www/bejne/pH2lqImFf6mHZ6s