Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default defineConfig({
openMode: 0,
},
e2e: {
experimentalStudio: true,
supportFile: false,
baseUrl: "http://localhost:3000",
setupNodeEvents(on, config) {
Expand Down
17 changes: 4 additions & 13 deletions docs/app/guides/cypress-studio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,10 @@ Instead of manually typing every `.get()`, `.click()`, or `.type()` command, you

:::success

1. **Enable Studio:**
Add to your `cypress.config.js` (Cypress Studio is currently experimental):

```js
{
e2e: {
experimentalStudio: true
}
}
```

2. **Run a Spec:**
Open Cypress, run a spec file, and click New Test or Edit in Studio.
1. **Run a Spec:**
Open Cypress and run a spec file
2. **Open Studio:**
Click Edit in Studio on a test in the Command Log or click Studio Beta in the Studio panel.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add that you can also open studio from create a new test in the describe block?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was trying to keep this exact section pretty short. This is mentioned later on.


3. **Interact & Save:**
Click, type, and right-click to add assertions. Click Save to save your test.
Expand Down
10 changes: 5 additions & 5 deletions docs/app/references/experiments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,10 @@ creating `e2e` and `component` objects inside your Cypress configuration.
These experiments are available to be specified inside the `e2e` configuration
object:

| Option | Default | Description |
| -------------------------------- | ------- | --------------------------------------------------------------------------------------------------------- |
| `experimentalStudio` | `false` | Generate and save commands directly to your test suite by interacting with your app as an end user would. |
| `experimentalRunAllSpecs` | `false` | Enables the "Run All Specs" UI feature, allowing the execution of multiple specs sequentially. |
| `experimentalOriginDependencies` | `false` | Enables support for `Cypress.require` within `cy.origin`. |
| Option | Default | Description |
| -------------------------------- | ------- | ---------------------------------------------------------------------------------------------- |
| `experimentalRunAllSpecs` | `false` | Enables the "Run All Specs" UI feature, allowing the execution of multiple specs sequentially. |
| `experimentalOriginDependencies` | `false` | Enables support for `Cypress.require` within `cy.origin`. |

### Component Testing

Expand All @@ -282,6 +281,7 @@ configuration object:

| Version | Changes |
| -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [15.4.0](/app/references/changelog) | Removed `experimentalStudio`. Cypress Studio is available as default behavior. |
| [14.0.0](/app/references/changelog#14-0-0) | Removed `experimentalJustInTimeCompile` and `experimentalSkipDomainInjection` and made it default behavior. |
| [13.14.0](/app/references/changelog#13-14-0) | Added support for configuring the Experimental Just-In-Time (JIT) Compiling for component testing via `experimentalJustInTimeCompile`. |
| [13.4.0](/app/references/changelog#13-4-0) | Added support for configuring the Experimental Flake Detection strategy via `retries.experimentalStrategy` and `retries.experimentalOptions`. |
Expand Down