Skip to content

Commit 840697f

Browse files
author
ddaribo
committed
chore(stepper): edit css classes
1 parent 4855973 commit 840697f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/igniteui-angular/src/lib/stepper/stepper.component.spec.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ describe('Rendering Tests', () => {
195195
});
196196

197197
it('should indicate the currently active step', () => {
198-
const currentClass = 'igx-stepper__step--current';
198+
const currentClass = 'igx-stepper__step-header--current';
199199
const step0Header: HTMLElement = stepper.steps[0].nativeElement.querySelector(`.${STEP_HEADER}`);
200200
const step1Header: HTMLElement = stepper.steps[1].nativeElement.querySelector(`.${STEP_HEADER}`);
201201

@@ -231,7 +231,7 @@ describe('Rendering Tests', () => {
231231

232232
it('should indicate that a step is invalid', () => {
233233
const step0Header: HTMLElement = stepper.steps[0].nativeElement.querySelector(`.${STEP_HEADER}`);
234-
const invalidClass = 'igx-stepper__step--invalid';
234+
const invalidClass = 'igx-stepper__step-header--invalid';
235235
stepper.steps[0].isValid = true;
236236
fix.detectChanges();
237237

@@ -365,9 +365,9 @@ describe('Rendering Tests', () => {
365365
it('should allow overriding the default invalid, completed and active indicators', () => {
366366
const step0Header: HTMLElement = stepper.steps[0].nativeElement.querySelector(`.${STEP_HEADER}`);
367367
const indicatorClass = 'igx-stepper__step-indicator';
368-
const invalidClass = 'igx-stepper__step--invalid';
368+
const invalidClass = 'igx-stepper__step-header--invalid';
369369
const completedClass = 'igx-stepper__step--completed';
370-
const currentClass = 'igx-stepper__step--current';
370+
const currentClass = 'igx-stepper__step-header--current';
371371
let indicatorElement = step0Header.querySelector(`.${indicatorClass}`).children[0];
372372

373373
expect(step0Header).not.toHaveClass(invalidClass);

0 commit comments

Comments
 (0)