From 7cb21832485f3075af6d0a8ed923b152798b71f9 Mon Sep 17 00:00:00 2001 From: Sahib Date: Sat, 7 Sep 2024 13:42:47 -0600 Subject: [PATCH] Update writing-your-first-end-to-end-test.mdx Changed the attribute `data-testid` to `class` in the notes to correctly reflect what happened in the test. --- .../introduction/writing-your-first-end-to-end-test.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/end-to-end-testing/introduction/writing-your-first-end-to-end-test.mdx b/docs/guides/end-to-end-testing/introduction/writing-your-first-end-to-end-test.mdx index ff9b1a2279..e9ba39c760 100644 --- a/docs/guides/end-to-end-testing/introduction/writing-your-first-end-to-end-test.mdx +++ b/docs/guides/end-to-end-testing/introduction/writing-your-first-end-to-end-test.mdx @@ -458,7 +458,7 @@ Or in the _Given_, _When_, _Then_ syntax: 3. _And they type "fake@email.com" 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 "fake@email.com" as its +5. _And the `[class="action-email"]` input has "fake@email.com" as its value_ :::