From ea1f9b16317f67bb79f99b36602e49355602aec8 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Sat, 25 Jan 2020 18:25:28 +0100 Subject: [PATCH 1/5] feat(byRole): Add `name` option --- docs/dom-testing-library/api-queries.md | 27 +++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/dom-testing-library/api-queries.md b/docs/dom-testing-library/api-queries.md index 7b9ff55b5..35fa5c240 100644 --- a/docs/dom-testing-library/api-queries.md +++ b/docs/dom-testing-library/api-queries.md @@ -164,8 +164,9 @@ cy.getByLabelText('username').should('exist') -It will NOT find the input node for label text broken up by elements. For this -case, you can provide a `selector` in the options: +It will NOT find the input node for label text broken up by elements. If it is +important that you query an actual `