Skip to content

Commit

Permalink
Correct anchor links for FAQ "How do I get an element's text context"
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 committed Feb 13, 2024
1 parent fd9349e commit 74495a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/queries/contains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ cy.contains('Hello world')

**Tip:** read about assertions against a text with non-breaking space entities
in
[How do I get an element's text contents?](/faq/questions/using-cypress-faq#How-do-I-get-an-element-s-text-contents)
[How do I get an element's text contents?](/faq/questions/using-cypress-faq#How-do-I-get-an-elements-text-contents)

### Single Element

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/references/assertions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ cy.contains('[data-testid="greeting"]', /^Hello/)
:::info

**Tip:** read about assertions against text with non-breaking space entities in
[How do I get an element's text contents?](/faq/questions/using-cypress-faq#How-do-I-get-an-element-s-text-contents)
[How do I get an element's text contents?](/faq/questions/using-cypress-faq#How-do-I-get-an-elements-text-contents)

:::

Expand Down

0 comments on commit 74495a4

Please sign in to comment.