-
Notifications
You must be signed in to change notification settings - Fork 27
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
Validate competency title #1854
Conversation
1880ab0
to
f6a8ae1
Compare
click tested. LGTM. tests are failing, looking into it. |
this.$('input').trigger('change'); | ||
this.$('button').click(); | ||
|
||
assert.ok(false); |
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.
needs work.
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.
Ha! Yea, Turns out my new Test Reminder Development paradigm works!
Allows us to validate the domain title to ensure it is legal.
By using the same component we get the same set of validations for each of these.
This makes it easier to validate competency titles when editing. Also don't immediately save the competency title, only save it when the manager is closed.
This test fails in lots of cases where the browser chooses not to place focus on the put. For example if any other test has failed then focus is on the failing test and can't be re-directed. Or if testing in two browsers this test will fail because one browser is is not focuses by the OS.
click tested again, and reviewed code. looks all good to me. 👍 |
Before attempting to save a new competency or edit an existing one validate that the title exists and is less than 200 characters.
Fixes #1845