Fixing e2e - part III

This commit is contained in:
Vito Albano
2023-12-06 23:56:41 +00:00
parent c35f350550
commit 10d6a7a4b5
24 changed files with 89 additions and 21 deletions

View File

@@ -6,8 +6,13 @@
padding-top: 0 !important;
width: 100%;
}
<<<<<<< Updated upstream
/* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
.mat-select-value-text {
=======
.mat-mdc-select-value-text {
>>>>>>> Stashed changes
font-size: var(--theme-body-1-font-size);
}

View File

@@ -339,11 +339,16 @@ describe('StartProcessComponent', () => {
selectElement.click();
fixture.detectChanges();
<<<<<<< Updated upstream
fixture.componentInstance.inputAutocomplete.openPanel();
fixture.detectChanges();
// await fixture.whenStable();
const options: any = fixture.debugElement.queryAll(By.css('.mdc-list-item__primary-textk'));
=======
await fixture.whenStable();
const options: any = fixture.debugElement.queryAll(By.css('.mdc-list-item__primary-text'));
>>>>>>> Stashed changes
expect(options.length).toBe(2);
expect(options[0].nativeElement.innerText).toBe('My Process 1');