ChatGPT + Cypress Tests

Miktad Öztürk
2 min readJan 18, 2023

In this article, I would like to tell you how I made the Cypress tests by asking ChatGPT.

If you want to watch the video, the link is here:

First of all I would like to start asking this question:

Can you give me information about Cypress?

ChatGPT’s answer:

Second question about login page testing:

Can you write the commands for the login test of using the Cypress test tool?

ChatGPT’s answer:

Explained all steps

Third question about Custom commands and page object model:

Could you please give an example with custom commands or page objects?