-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
String to camelCase helper #29338
String to camelCase helper #29338
Conversation
Build Results: |
CI Results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me! Thanks for including the test as well!
I'd thought ember has a camelize
function, but maybe it's not "officially" included anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me!
Description
Creates a helper that I'll use later in some tests for WIF.
Background: this is relevant (and frustrating) in WIF testing because checking for a value in a details view— a table row— passes in the attr name with spacing, etc (e.g. data-test-row-label="Identity token audience") vs checking if that form field exists on create-edit view—an input— is done by searching the camelCase (e.g. data-test-input="identityTokenAudience"`). To fix this inconsistency is beyond the scope of the WIF project and would likely break a lot of previously setup tests.