AAE-34482 Modelling inconsistencies in mat form fields label alignments ii (#10929)

* AAE-34482 fixing card view datetime component in adf using mat-label

* AAE-34482 fixing the padding for mat-form-field labels

* AAE-34482 resolving the pr review comments

* AAE-34482 changing the floatType from 'auto' to null

* AAE-34482 changing the scss class name as per the review comment

* AAE-34482 fixing the left units
This commit is contained in:
Soumyajit Chakraborty
2025-06-23 16:14:39 +05:30
committed by GitHub
parent c16417cbff
commit f40107de33
19 changed files with 105 additions and 75 deletions

View File

@@ -143,7 +143,9 @@ describe('TaskHeaderCloudComponent', () => {
await fixture.whenStable();
fixture.detectChanges();
const valueEl = fixture.debugElement.query(By.css('[data-automation-id="header-dueDate"] .adf-property-value'));
const valueEl = fixture.debugElement.query(
By.css('[data-automation-id="header-dueDate"] .adf-property-value .adf-datepicker-span-button')
);
expect(valueEl.nativeElement.innerText.trim()).toBe('Monday, December 17, 2018 at 12:00:55 PM GMT+00:00');
});
@@ -164,7 +166,9 @@ describe('TaskHeaderCloudComponent', () => {
component.refreshData();
fixture.detectChanges();
await fixture.whenStable();
const valueEl = fixture.debugElement.query(By.css('[data-automation-id="header-dueDate"] .adf-property-value'));
const valueEl = fixture.debugElement.query(
By.css('[data-automation-id="header-dueDate"] .adf-property-value .adf-datepicker-span-button')
);
expect(valueEl.nativeElement.innerText.trim()).toBe('ADF_CLOUD_TASK_HEADER.PROPERTIES.DUE_DATE_DEFAULT');
});
@@ -172,7 +176,7 @@ describe('TaskHeaderCloudComponent', () => {
component.taskDetails.processInstanceId = null;
fixture.detectChanges();
await fixture.whenStable();
const valueEl = fixture.debugElement.query(By.css('[data-automation-id="header-parentName"] input'));
const valueEl = fixture.debugElement.query(By.css('[data-automation-id="header-parentName"] input '));
expect(valueEl.nativeElement.value).toEqual('ADF_CLOUD_TASK_HEADER.PROPERTIES.PARENT_NAME_DEFAULT');
});