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

Add ability to exclude messages by regex #9

Closed
wants to merge 0 commits into from

Conversation

chrismwendt
Copy link

This adds the ability to exclude console messages by regex on a plugin config level and per-test level.

The implementation is pretty hacky since it uses a global variable global.PROTRACTOR_CONSOLE_EXCLUDE_REGEX to store per-test regexes. The only other alternative I could think of is to patch jasmine and protractor to propagate test-specific metadata. Any thoughts on this? 💬

Fixes #5

@chrismwendt
Copy link
Author

chrismwendt commented Aug 16, 2017

I accidentally closed this by force-pushing to my fork. New PR: #10

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.

1 participant