# Comparing Cypress cy.prompt, Cypress Studio, and Hand-Coded Tests

DevFeed: [Comparing Cypress cy.prompt, Cypress Studio, and Hand-Coded Tests](<https://devfeed.tech/articles/cypress-cy-prompt-vs-recording-vs-coding-28885.md>)

Original publisher: [Read original article](<https://glebbahmutov.com/blog/cypress-prompt-vs-record-vs-code/>)

Author: Gleb Bahmutov

Published: 2026-04-28T04:00:00Z

Content type: comparison

Language: en

Sources: [Gleb Bahmutov](<https://devfeed.tech/sources/gleb-bahmutov.md>)

Topics: [Cypress](<https://devfeed.tech/topics/cypress.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [coding](<https://devfeed.tech/topics/coding.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [coding](<https://devfeed.tech/tags/coding.md>), [command](<https://devfeed.tech/tags/command.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [cypress](<https://devfeed.tech/tags/cypress.md>), [editor](<https://devfeed.tech/tags/editor.md>), [next](<https://devfeed.tech/tags/next.md>), [process](<https://devfeed.tech/tags/process.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [selectors](<https://devfeed.tech/tags/selectors.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [vs](<https://devfeed.tech/tags/vs.md>)

## AI overview

The article compares three ways to create a Cypress login test: hand-coding in VSCode, using cy.prompt, and recording actions with Cypress Studio. In the author's test, hand-coding worked reliably, while cy.prompt produced failures and code that needed manual cleanup, and Cypress Studio inserted unwanted assertions and missed recommended selectors and negative assertions.

## Source excerpt

Cypress-the-company is putting a lot of effort behind its cy.prompt command (which I recreated