Skip to content

Commit

Permalink
fix(a11y): stepper - updated failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Fernandes committed Apr 2, 2024
1 parent 477d930 commit 205646c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('ClrStep Reactive Forms', () => {
fixture.detectChanges();

const statusMessage = fixture.nativeElement.querySelector('button .clr-sr-only');
expect(statusMessage.innerText.trim()).toBe(`Step ${mockStep?.index + 1} failed`);
expect(statusMessage.innerText.trim()).toBe(`Error in step ${mockStep?.index + 1}`);

mockStep.status = AccordionStatus.Complete;
(stepperService as MockStepperService).step.next(mockStep);
Expand Down

0 comments on commit 205646c

Please # to comment.