You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/app/guides/cypress-studio.mdx
+97-15Lines changed: 97 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,21 @@
1
1
---
2
-
title: 'Cypress Studio: Build Tests by Interacting with Your App'
3
-
description: 'Create, extend, and refine Cypress tests without writing commands by hand.'
4
-
sidebar_label: 'Cypress Studio'
2
+
title: 'Cypress Studio AI: Build Tests by Interacting with Your App'
3
+
description: 'Create, extend, and refine Cypress tests with AI-powered recommendations without writing commands by hand.'
4
+
sidebar_label: 'Cypress Studio AI'
5
5
e2eSpecific: true
6
+
sidebar_custom_props: { 'new_label': true }
6
7
---
7
8
8
9
<ProductHeadingproduct="app" />
9
10
10
-
# Cypress Studio
11
+
# Cypress Studio AI
11
12
12
13
:::info
13
14
14
15
##### <Iconname="question-circle"color="#4BBFD2" /> What you'll learn
15
16
16
17
- How to generate Cypress tests by interacting with your app
18
+
- How AI automatically suggests relevant assertions as you record
17
19
- How to add assertions by right-clicking elements
18
20
- How to quickly extend or edit tests without leaving Cypress
19
21
@@ -24,16 +26,21 @@ e2eSpecific: true
24
26
Cypress Studio turns test creation into a natural part of exploring your app.
25
27
Instead of manually typing every `.get()`, `.click()`, or `.type()` command, you can **record interactions in real time**, automatically generate Cypress code, and fine-tune your test inline.
26
28
29
+
### Powered by AI
30
+
31
+
With **Cypress Studio AI**, intelligent recommendations appear automatically as you record. The AI analyzes your interactions and suggests the most relevant assertions for each step, helping you build more comprehensive tests with less effort.
Cypress Studio AI enhances your test creation workflow by automatically analyzing your interactions and suggesting relevant assertions in real time. As you record actions, the AI appears in the Studio Panel with intelligent recommendations tailored to each step.
82
+
83
+
### How AI Recommendations Work
84
+
85
+
1.**Automatic Analysis**: As you interact with elements, the AI analyzes the context and element properties
86
+
2.**Smart Suggestions**: Relevant assertions appear in the Studio Panel based on your actions
87
+
3.**Accept or Reject**: Review each recommendation and choose to accept or reject it
88
+
4.**Seamless Integration**: Accepted recommendations can be saved to your test file
89
+
90
+
### Types of AI Recommendations
91
+
92
+
The AI suggests assertions based on the elements you interact with:
93
+
94
+
-**Visibility checks**: Ensure elements are visible or hidden
95
+
-**Text validation**: Verify text content matches expectations
96
+
-**Form validation**: Check input values, selections, and form states
97
+
-**Element properties**: Validate attributes, classes, and other properties
98
+
-**Navigation confirmation**: Verify page changes and URL updates
99
+
69
100
### Start Studio
70
101
71
102
You can start Studio in several ways:
@@ -161,22 +192,73 @@ Want more control? Use the [`Cypress.ElementSelector`](/api/cypress-api/element-
161
192
- Studio cannot load when running in open mode with `@cypress/grep`. You will see an error in this case. Remove any `--grep` flags from your command during `cypress open` to use Studio.
162
193
- See issues labeled with [`experiment: studio`](https://github.com/cypress-io/cypress/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22experiment%3A%20studio%22) for other known issues.
163
194
164
-
## Coming Soon: AI in Studio
195
+
:::note
165
196
166
-
Imagine Studio suggesting the most relevant assertions for every step you take. Cypress AI is a feature that's **coming soon** that will recommend relevant assertions in real time based on your interactions.
197
+
**Studio without AI**: Cypress Studio can be used without AI features and does not require a Cloud account. You can still record interactions and manually add assertions by right-clicking elements.
198
+
199
+
**Studio with AI**: AI-powered recommendations require a Cypress Cloud account and provide intelligent assertion suggestions as you record.
200
+
201
+
:::
202
+
203
+
## Authentication & usage
204
+
205
+
Because Cypress Studio AI uses AI under the hood, it needs to communicate securely with large language models to analyze your interactions and generate relevant assertion recommendations. Cypress Cloud helps manage those requests, apply organization-level controls, and track usage in a way that's non-invasive. We never use your interactions to train AI models, and you can turn AI features off at any time. Cypress Studio AI is currently available on any of our [Cypress Cloud plan types](https://www.cypress.io/pricing).
206
+
207
+
**To use Cypress Studio AI, you must either:**
208
+
209
+
- Log into Cypress Cloud
210
+
- Set up your project in Cypress Cloud
211
+
212
+
**If you don't have a Cloud account, create a free account and gain access to a 2-week trial of all paid features.**
During the experimental release, access will be provided at no additional charge. Users are limited by the number of AI recommendations they can receive per hour. This limit is higher for paid accounts and lower for free accounts. Our intention is to not limit normal usage of the feature.
235
+
236
+
:::note
237
+
238
+
Please note that pricing and usage limitations are subject to future adjustments. We commit to keeping you informed of any such changes.
239
+
240
+
:::
241
+
242
+
### Usage limits
243
+
244
+
**User limits on projects with free accounts:**
245
+
246
+
- 60 AI recommendations per hour
247
+
248
+
**User limits on projects with paid accounts (or on free trial):**
249
+
250
+
- 300 AI recommendations per hour
251
+
252
+
## Privacy & security
253
+
254
+
For detailed information about how Cypress protects your data and manages AI model security, see our [Security & Compliance page](https://www.cypress.io/security).
255
+
256
+
## Disabling AI features
257
+
258
+
AI capabilities, including Cypress Studio AI, are enabled by default for all users on any Cloud plan. Organization admins and owners can enable and disable the AI capabilities for their entire organization from their organization settings. For more information, see [our FAQ](/cloud/faq#Are-all-Cloud-AI-capabilities-enabled-by-default-How-can-I-turn-them-off).
259
+
260
+
You can also disable Studio AI locally in the Cypress App by toggling off the AI feature in the Studio panel.
0 commit comments