Skip to content

Commit

Permalink
unit tests update
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgny committed Jul 30, 2024
1 parent 46dbe67 commit 4728515
Show file tree
Hide file tree
Showing 14 changed files with 111 additions and 623 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('Form Renderer Component', () => {
expectElementToBeHidden(displayTextElementContainer);

inputDateTestOne.value = '2019-11-19';
inputDateTestOne.dispatchEvent(new Event('change'));
inputDateTestOne.dispatchEvent(new Event('input'));

fixture.detectChanges();
await fixture.whenStable();
Expand All @@ -130,7 +130,7 @@ describe('Form Renderer Component', () => {
expectElementToBeVisible(displayTextElementContainer);

inputDateTestOne.value = '2019-11-19';
inputDateTestOne.dispatchEvent(new Event('change'));
inputDateTestOne.dispatchEvent(new Event('input'));

fixture.detectChanges();
await fixture.whenStable();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ export const formDateVisibility = {
2: [
{
id: 'Text0pqd1u',
name: 'Text',
name: 'Text equal specific date',
type: 'text',
readOnly: false,
required: false,
Expand Down Expand Up @@ -1589,7 +1589,7 @@ export const formDateVisibility = {
1: [
{
id: 'Text0uyqd3',
name: 'Text',
name: 'Text NOT equal specific date',
type: 'text',
readOnly: false,
required: false,
Expand Down
Loading

0 comments on commit 4728515

Please sign in to comment.