Cypress_info
50 subscribers
15 links
Interesting articles and updates about Cypress testing tool

Languages: 🇺🇦 and 🇬🇧
Download Telegram
Channel created
Hey there! 👋

Welcome to the https://t.me/cypress_info TG channel!

It is a place for knowledge sharing about the Cypress testing tool.

The channel is led by an AQA Lead with extensive experience in testing and proficient knowledge of Cypress and Cypress dashboard, who has built more than 12 projects using this tool.

—-
Cypress updates, courses, best practices, code examples, and interesting solutions will be posted here!

—-
Jump in and join the community

https://www.cypress.io
2 most important recent Updates:

1️⃣ v9.6.0 with multidomain support
2️⃣ v10.2.0 stable version of the new test runner and component testing

—-
✍️ Update for 9.6.0 in one of my projects allowed refactoring (we use external service for users management) and reduced the time of E2E suites execution by ~10%
👍1
https://learn.cypress.io/

Free courses developed by the Cypress team. 25+ lessons, 30+ examples.

——
✍️ I took all of them and spent ~2 hours.

Courses are informative, cover a lot of important stuff and allow you to practice and do some tasks after each lesson.

However, it seems to me that they are not final. The 1st and 2nd are way more structured and prepared in comparison to the 3rd and 4th.

The "Advanced Cypress Testing Concepts" looks more like high-level feature overviews rather than lessons. I guess they will be improved in the future.

Still, it worth checking them out. You will definitely learn something new.
🔥5
Latest Update - v10.4.0

Important features:
- Cypress Component testing now supports React 18 via the cypress/react18 package
- Cypress Component testing now supports Vite 3

—-
If you are new in Component testing - Writing Your First Component Test
If you want to know the difference between Component and E2E testing - Testing Types
👍1
A new interesting tool from Cypress -> https://migrator.cypress.io/

Read more about it or check out the complete migration guide.
—-
I've played around with it for a while, and it works pretty well in trivial cases.

Still, it has some issues with complicated stuff, but it might save you hours of routine work (which is cool)
👍1
💩💩💩
Be careful, the first link above is a complete piece of crap…

I’m just posting it here so that you can see and understand WHAT people with 16 years of experience (🤣🤣🤣) have in their heads sometimes…
💩💩💩

—-

https://www.lambdatest.com/blog/avoid-anti-patterns-in-cypress/

I’ve tried to find a nice article for our FE devs about Cypress anti-patterns and found this…

So, we have:

* errors in the code and formatting 🤣
* try to use KISS principle without knowing what it is about 🤣
* BDD / cucumber / Gherkin - 🤮🤮🤮(really??? In 2022??? In Cypress??? and someone has written that plugin… 🤦‍♂️)
* these guys provide some kind of Cypress certification?! 🤣🤣

—-

Be careful with such kind of “experts” with 10/15/20 years of experience, don’t read paid articles (as this one) - and check out https://docs.cypress.io/guides/references/best-practices if you are really interesting of HOW to improve your Cypress tests
👍3
https://youtu.be/kENXELkT4O4

API testing using Cypress

—-
BTW, right now I’m working on API testing setup, and we will use

- Typescript
- Cypress
- Cypress API plugin (https://github.com/filiphric/cypress-plugin-api) for better visualization
- AJV (https://ajv.js.org) for complex and dynamic json schemas validation

If you are interested in this topic - I can prepare an article about it (just add some reactions for this post)
👍2