Skip to content
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
db437f5
docs: begin writing cy.prompt docs
jennifer-shehane Sep 3, 2025
ea8566e
Iterate on wording
jennifer-shehane Sep 9, 2025
9ff976b
lint
jennifer-shehane Sep 9, 2025
bbbcc4d
Fix links + improve TOC
jennifer-shehane Sep 9, 2025
28c24d0
Merge branch 'main' into cy-prompt
jennifer-shehane Sep 9, 2025
b55d515
Fix some css warnings
jennifer-shehane Sep 10, 2025
7bf989e
Merge branch 'cy-prompt' of https://github.com/cypress-io/cypress-doc…
jennifer-shehane Sep 10, 2025
873d7ca
update dynamic variable examples
jennifer-shehane Sep 11, 2025
66f6b69
lint fix
jennifer-shehane Sep 12, 2025
8ea1467
Merge branch 'main' into cy-prompt
jennifer-shehane Sep 12, 2025
08148b2
update areas based on feedback
jennifer-shehane Sep 12, 2025
3a8c0c3
Merge branch 'cy-prompt' of https://github.com/cypress-io/cypress-doc…
jennifer-shehane Sep 12, 2025
7c3745b
lint
jennifer-shehane Sep 12, 2025
339d9aa
Merge branch 'main' into cy-prompt
jennifer-shehane Sep 12, 2025
50fb655
Add more examples to prompt docs
jennifer-shehane Sep 12, 2025
64f6642
lint fix
jennifer-shehane Sep 12, 2025
2f9c9d3
Add Gherkin examples
jennifer-shehane Sep 15, 2025
2e9f62c
lint fix
jennifer-shehane Sep 15, 2025
aa627e2
Add another Gherkin example
jennifer-shehane Sep 16, 2025
0fb4e1f
lint fix
jennifer-shehane Sep 16, 2025
31387ad
update some styles to make more space in UI
jennifer-shehane Sep 18, 2025
98f5147
Update yields of prompt
jennifer-shehane Sep 18, 2025
d72ae69
Update language support
jennifer-shehane Sep 18, 2025
8ffb8c4
Remove trigger from officially supported 'things to do'
jennifer-shehane Sep 19, 2025
75ce20c
lint
jennifer-shehane Sep 19, 2025
90f8fa9
Add not.exist assertions not being supported
jennifer-shehane Sep 19, 2025
ddb1aa2
expand documented assertion types
jennifer-shehane Sep 22, 2025
cfbc8fe
Updates for placeholders
jennifer-shehane Oct 6, 2025
a47671e
update docs
jennifer-shehane Oct 7, 2025
56faacc
Merge branch 'release/15.4.0' into cy-prompt
jennifer-shehane Oct 7, 2025
edff5a1
add to TOC
jennifer-shehane Oct 7, 2025
6b168cf
Merge branch 'cy-prompt' of https://github.com/cypress-io/cypress-doc…
jennifer-shehane Oct 7, 2025
b1096b1
Merge branch 'release/15.4.0' into cy-prompt
jennifer-shehane Oct 7, 2025
035c390
fix loop example.
jennifer-shehane Oct 7, 2025
03cb8d0
Merge branch 'cy-prompt' of https://github.com/cypress-io/cypress-doc…
jennifer-shehane Oct 7, 2025
c01ac26
Update docs/api/commands/prompt.mdx
jennifer-shehane Oct 7, 2025
52b8d67
Update docs/api/commands/prompt.mdx
jennifer-shehane Oct 7, 2025
260b0d1
Some wording updates
jennifer-shehane Oct 7, 2025
b3a341e
Merge branch 'cy-prompt' of https://github.com/cypress-io/cypress-doc…
jennifer-shehane Oct 7, 2025
3337d69
Update docs/api/commands/prompt.mdx
jennifer-shehane Oct 7, 2025
94de43e
lint
jennifer-shehane Oct 7, 2025
3a82314
Merge branch 'cy-prompt' of https://github.com/cypress-io/cypress-doc…
jennifer-shehane Oct 7, 2025
70ca952
fix broken links
jennifer-shehane Oct 7, 2025
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
773 changes: 773 additions & 0 deletions docs/api/commands/prompt.mdx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/api/table-of-contents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Cypress has a variety of additional commands to help write tests.
| [`.origin()`](/api/commands/origin) | Visit multiple domains of different origin in a single test. |
| [`.pause()`](/api/commands/pause) | Pause test execution, allowing interaction with the application under test before resuming. |
| [`.press()`](/api/commands/press) | Trigger native key events in your application to simulate real user keyboard interactions. |
| [`.prompt()`](/api/commands/prompt) | Use natural language to generate Cypress tests with AI. |
| [`.readFile()`](/api/commands/readfile) | Read a file from disk. |
| [`.reload()`](/api/commands/reload) | Reload the page. |
| [`.request()`](/api/commands/request) | Make an HTTP request. |
Expand Down
4 changes: 2 additions & 2 deletions src/components/docs-image/style.module.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.docsImage {
margin-bottom: 1rem;
margin-bottom: 2rem;
box-shadow: 0 2px 10px 1px rgba(0, 0, 0, 0.26);
}

.noBorder {
margin-bottom: 1rem;
margin-bottom: 2rem;
box-shadow: none;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/video-local/style.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.docsVideo {
margin-bottom: 1.4rem;
margin-bottom: 2rem;
}

.docsVideo video {
Expand Down
15 changes: 14 additions & 1 deletion src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
--ifm-heading-font-family: Poppins;
--ifm-heading-font-weight: var(--ifm-font-weight-bold);
--ifm-line-height-base: 1.6;
--ifm-heading-color: theme(colors.gray.1000) --ifm-code-font-size: 95%;
--ifm-heading-color: theme(colors.gray.1000);
--ifm-code-font-size: 95%;
--ifm-pre-line-height: 1.5em;

--ifm-code-background-color: #282a36;
Expand Down Expand Up @@ -293,6 +294,18 @@ html[data-theme='dark'] {
}
}

.alert.alert--secondary {
background-color: var(--ifm-color-indigo-50);
color: var(--ifm-color-indigo-1000);
--ifm-alert-border-color: var(--ifm-color-indigo-400);

[data-theme='dark'] & {
background-color: var(--ifm-color-indigo-1000);
color: var(--ifm-color-indigo-50);
--ifm-alert-border-color: var(--ifm-color-indigo-800);
}
}

div[class^='announcementBar'] {
font-size: 1rem;
font-weight: var(--ifm-font-weight-semibold);
Expand Down
2 changes: 1 addition & 1 deletion src/css/embeds.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
overflow: hidden;
max-width: 100%;
height: auto;
margin-bottom: 1rem;
margin-bottom: 2rem;
box-shadow: 0 0 3px rgb(0 0 0 / 30%);
border: 1px solid var(--ifm-toc-border-color);
}
Expand Down
6 changes: 5 additions & 1 deletion src/css/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ div.markdown {
&.border-indigo-500 {
html[data-theme='dark'] & {
color: var(--ifm-color-jade-100);
border-color:var(--ifm-color-jade-100);
border-color: var(--ifm-color-jade-100);
}
}

Expand Down Expand Up @@ -102,6 +102,10 @@ div.markdown {
}
}

.alert {
margin-bottom: 2rem;
}

.alert,
& {
// add border bottom to code tags that are in a link
Expand Down
3 changes: 2 additions & 1 deletion src/css/table-of-contents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@

.table-of-contents .table-of-contents__link--active {
@apply text-indigo-500;
font-weight: 700;

html[data-theme='dark'] & {
@apply text-indigo-300;
}
font-weight: 700;
}

.table-of-contents__left-border {
Expand Down
Binary file added static/img/api/prompt/cy-prompt-demo.mp4
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.