Skip to content

Update writing-your-first-end-to-end-test.mdx #5840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ the new page. If we read it out loud, it might sound like:
3. _Click on it_
4. _Get the URL_
5. _Assert it includes: `/commands/actions`_
6. _Get the input with the `action-email` data-testid_
6. _Get the input with the `action-email` class_
7. _Type `[email protected]` into the input_
8. _Assert the input reflects the new value_

Expand All @@ -455,7 +455,7 @@ Or in the _Given_, _When_, _Then_ syntax:

1. _**Given** a user visits `https://example.cypress.io`_
2. _**When** they click the link labeled `type`_
3. _And they type "[email protected]" into the `[data-testid="action-email"]`
3. _And they type "[email protected]" into the input that has a class of `action-email`
input_
4. _**Then** the URL should include `/commands/actions`_
5. _And the `[data-testid="action-email"]` input has "[email protected]" as its
Expand Down