-
Notifications
You must be signed in to change notification settings - Fork 219
feat(page-job-scheduler): permite configuração de frequência #1102
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
Conversation
4cf02e3
to
a80ee07
Compare
|
||
spyOn(component['poPageJobSchedulerService'], 'convertToJobSchedulerInternal').and.returnValue(returnValue); | ||
component.value = jobSchedulerInternal; | ||
// expect(component.model instanceof PoPageJobSchedulerInternal).toBeTruthy(); |
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.
código comentado
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.
corrigido.
expect(result).toBe(expectedValue); | ||
}); | ||
|
||
it('getFrequencyValue: should return `frequency[value] - frequency[type]`', () => { |
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.
descrição do teste igual ao anterior
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.
corrigido.
expect(value).toEqual(valueExpected); | ||
}); | ||
|
||
it('removeInvalidKeys: should remove invalid keys if keys is `rangeExecutions` and periodicity is `single`', () => { |
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.
descrição do teste igual ao anterior
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.
corrigido.
Permite configuração da frequência no componente PoPageJobScheduler. Fixes DTHFUI-5526
6f46ab5
to
33e1153
Compare
PAGE JOB SCHEDULER
DTHFUI-5526
PR Checklist [Revisor]
Qual o comportamento atual?
Não é possível configurar a frequência
Qual o novo comportamento?
Permite configurar a frequência
Simulação
Simular através do sample do portal.
app 2.zip
PR no po-sample-api - WIP