mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2025-12-28 21:23:14 +09:00
#57 fixed a test
This commit is contained in:
@@ -77,13 +77,14 @@ describe('SimpleTriggerConfig', () => {
|
||||
fixture.detectChanges();
|
||||
}
|
||||
|
||||
function setMatSelectValueByIndex(componentDe: DebugElement, dropdownSelector: string, index: number) {
|
||||
async function setMatSelectValueByIndex(componentDe: DebugElement, dropdownSelector: string, index: number) {
|
||||
const dropdownDe = componentDe.query(By.css(dropdownSelector));
|
||||
dropdownDe.nativeElement.click();
|
||||
fixture.detectChanges();
|
||||
const matOptionDe = componentDe.query(By.css('.mat-select-panel')).queryAll(By.css('.mat-option'));
|
||||
matOptionDe[index].nativeElement.click();
|
||||
fixture.detectChanges();
|
||||
await fixture.whenStable();
|
||||
}
|
||||
|
||||
function openFormAndFillAllMandatoryFields() {
|
||||
|
||||
Reference in New Issue
Block a user