-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat(timepicker): added test plan #2127
Conversation
e22373d
to
eb31cae
Compare
Codecov Report
@@ Coverage Diff @@
## feat-timepicker #2127 +/- ##
====================================================
- Coverage 86.15% 41.97% -44.19%
====================================================
Files 94 95 +1
Lines 2666 2623 -43
Branches 359 347 -12
====================================================
- Hits 2297 1101 -1196
- Misses 243 1516 +1273
+ Partials 126 6 -120
Continue to review full report at Codecov.
|
51f424f
to
b22c1f6
Compare
f7f3566
to
a19ec2c
Compare
563fd15
to
8854dc9
Compare
4f85f8e
to
083e8e8
Compare
8e89636
to
f584586
Compare
} | ||
|
||
describe('Runtime coverage. Utils: Timepicker', () => { | ||
it('should is no value', () => { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
return fixture.debugElement.queryAll(By.css(selector)); | ||
} | ||
|
||
function testTime(hours?: number, minutes?: number, seconds?: number) { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
||
it('should changeHours', () => { | ||
context.changeHours(3); | ||
// поле часы и минуты отображаются |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
// проверить данные в поле минуты корректные данные с неполным значением | ||
it('should validate the data in the minutes input with valid data with half value', () => { | ||
component.writeValue(testTime(0,2,0)); | ||
fixture.detectChanges(); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Try not to use |
6c91b71
to
04cedb4
Compare
Tests are failed. recheck pls. |
fixes #2036 fixes #1981 ( + min max demo ) fixes #1973 close #1957 ( + seconds demo ) fixes #1935 fixes #1672 feat #1007 added keyboard and mousewheel support fixes #962 fixes #793 fixes #173 fixes #1271 added custom validation demo fixes #1539 bs4 fixes #1253 if input is invalid * feat(timepicker): new timepicker implementation * feat(timepicker): new timepicker implementation testing * chore(timepicker): removed old timepicker implementation * chore(mini-ngrx): added ngrx licence * fix(timepicker): fix seconds * fix(timepicker): fix custom validation demo * fix(tests): fix tests & aot errors * fix(timepicker): min max restrictions * fix(timepicker): min max checks * feat(timepicker): add inputs validation (#2187) * feat(timepicker): add inputs validation * fix(timepicker): add isPM support * feat(timepicker): add isValid output * feat(timepicker): added test plan (#2127) * fix(timepicker): fix ngModelChange demo * fix(test): fix unit tests * docs(timepicker): fix docs conflict, add isValid description
No description provided.