Skip to content

Commit

Permalink
[AAE-18450] added label to filter
Browse files Browse the repository at this point in the history
  • Loading branch information
wojd0 committed Dec 4, 2023
1 parent 2a280ed commit 3223da5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ describe('RadioButtonsCloudWidgetComponent', () => {
const option = await loader.getHarness(MatRadioButtonHarness.with({ label: 'opt-name-1' }));
await option.check();

const selectedOption = await loader.getHarness(MatRadioButtonHarness.with({ checked: true }));
expect(await selectedOption.getLabelText()).toBe('opt-name-1');
await loader.getHarness(MatRadioButtonHarness.with({ checked: true, label: 'opt-name-1'}));
expect(widget.field.isValid).toBe(true);
});

Expand Down

0 comments on commit 3223da5

Please sign in to comment.