Skip to content
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

fix(toHaveText): normalize zero width white space #10623

Merged
merged 1 commit into from Dec 1, 2021

Conversation

pavelfeldman
Copy link
Member

Fixes #10620

@pavelfeldman pavelfeldman added v1.17 and removed v1.17 labels Dec 1, 2021
@pavelfeldman pavelfeldman merged commit 127dacf into microsoft:master Dec 1, 2021
@valoricDe
Copy link

Hello there, should this also fix cases when a locator is not finding a text coz of a zero length whitespace in front of the text?

await page.locator('text=​[ZWSP]Vollständiger Name >> input[type="text"]').click();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] trailing zero width whitespace fails toHaveText
3 participants