In an Angular component test, how can the sect value of a Select/dropdown be retrieved in a test?
I can get the value using expect(selectElement.nativeElement.value).toBe('1'); but cant figure out how to get the Text value to test
expect(selectElement.nativeElement.value).toBe('1');
Aucun commentaire:
Enregistrer un commentaire