Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pr/improve command log #35

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
kentcdodds merged 2 commits into testing-library:master from jkdowdle:pr/improve-command-log
Feb 12, 2019

Conversation

@jkdowdle
Copy link
Contributor

@jkdowdle jkdowdle commented Feb 12, 2019

What:
Add a proper message to the Cypress Command Log when using a regex value.

Why:
This will improve the debugging and developing experience while using cypress-testing-library and it will close #27.

How:
Adding a check in Cypress.log for the message property. If the argument passed is a regular expression we return that value after casting it to a string.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet 💯 Thanks!

jkdowdle reacted with thumbs up emoji
@kentcdodds kentcdodds merged commit 408a929 into testing-library:master Feb 12, 2019
Copy link
Member

🎉 This PR is included in version 2.3.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

jkdowdle reacted with hooray emoji

Copy link
Contributor

euZebe commented Feb 13, 2019

Thanks @jkdowdle !

Copy link
Contributor Author

@euZebe You're very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kentcdodds kentcdodds kentcdodds approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

regex selector does not appear in cypress left panel

AltStyle によって変換されたページ (->オリジナル) /