Fixing e2e - part III

This commit is contained in:
Vito Albano
2023-12-06 23:56:41 +00:00
parent 5665f2529e
commit b9bbd40f6f
13 changed files with 49 additions and 12 deletions

View File

@@ -6,8 +6,13 @@
padding-top: 0;
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');