From cbbf328953d15d4c4edbabd920bb531d5a4a77bf Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Tue, 21 Nov 2023 13:24:11 +0000 Subject: [PATCH] Rebased with the latest develop --- .../components/widgets/amount/amount.widget.spec.ts | 2 +- .../form/components/widgets/text/text.widget.spec.ts | 10 +++++----- .../lib/viewer/components/pdf-viewer.component.spec.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/core/src/lib/form/components/widgets/amount/amount.widget.spec.ts b/lib/core/src/lib/form/components/widgets/amount/amount.widget.spec.ts index 9d16179cad..0e7d1d8722 100644 --- a/lib/core/src/lib/form/components/widgets/amount/amount.widget.spec.ts +++ b/lib/core/src/lib/form/components/widgets/amount/amount.widget.spec.ts @@ -200,7 +200,7 @@ describe('AmountWidgetComponent - rendering', () => { await fixture.whenStable(); const field = await loader.getHarness(MatFormFieldHarness); - const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Check Placeholder Text'})) + const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Check Placeholder Text'})); expect(inputField).toBeTruthy(); expect(await field.getPrefixText()).toBe('$'); diff --git a/lib/core/src/lib/form/components/widgets/text/text.widget.spec.ts b/lib/core/src/lib/form/components/widgets/text/text.widget.spec.ts index 5bf51c84bc..63676d1056 100644 --- a/lib/core/src/lib/form/components/widgets/text/text.widget.spec.ts +++ b/lib/core/src/lib/form/components/widgets/text/text.widget.spec.ts @@ -103,7 +103,7 @@ describe('TextWidgetComponent', () => { fixture.detectChanges(); await fixture.whenStable(); - const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Your name here'})) + const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Your name here'})); expect(inputField).toBeTruthy(); }); @@ -262,7 +262,7 @@ describe('TextWidgetComponent', () => { }); it('should show the field placeholder', async () => { - const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'simple placeholder'})) + const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'simple placeholder'})); expect(inputField).toBeTruthy(); }); @@ -270,7 +270,7 @@ describe('TextWidgetComponent', () => { const input = await loader.getHarness(MatInputHarness); await (await input.host()).click(); - const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'simple placeholder'})) + const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'simple placeholder'})); expect(inputField).toBeTruthy(); }); @@ -401,7 +401,7 @@ describe('TextWidgetComponent', () => { }); it('should show the input mask placeholder', async () => { - const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Phone : (__) ___-___'})) + const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Phone : (__) ___-___'})); expect(inputField).toBeTruthy(); }); @@ -409,7 +409,7 @@ describe('TextWidgetComponent', () => { const input = await loader.getHarness(MatInputHarness); await (await input.host()).click(); - const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Phone : (__) ___-___'})) + const inputField = await loader.getHarness(MatInputHarness.with({placeholder: 'Phone : (__) ___-___'})); expect(inputField).toBeTruthy(); }); }); diff --git a/lib/core/src/lib/viewer/components/pdf-viewer.component.spec.ts b/lib/core/src/lib/viewer/components/pdf-viewer.component.spec.ts index 7726d42b75..e33a9e0f22 100644 --- a/lib/core/src/lib/viewer/components/pdf-viewer.component.spec.ts +++ b/lib/core/src/lib/viewer/components/pdf-viewer.component.spec.ts @@ -163,7 +163,7 @@ describe('Test PdfViewer component', () => { }); }); - xdescribe('User interaction', () => { + describe('User interaction', () => { let fixtureUrlTestComponent: ComponentFixture; let componentUrlTestComponent: UrlTestComponent;