diff --git a/mon-pix/app/components/module/navbar.gjs b/mon-pix/app/components/module/navbar.gjs index 6e2be336dc1..b88ce7b946f 100644 --- a/mon-pix/app/components/module/navbar.gjs +++ b/mon-pix/app/components/module/navbar.gjs @@ -20,7 +20,7 @@ export default class ModulixNavbar extends Component { {{@currentStep}}/{{@totalSteps}} - + diff --git a/mon-pix/tests/integration/components/module/navbar_test.gjs b/mon-pix/tests/integration/components/module/navbar_test.gjs index d71f6746206..6bd6c33f6dd 100644 --- a/mon-pix/tests/integration/components/module/navbar_test.gjs +++ b/mon-pix/tests/integration/components/module/navbar_test.gjs @@ -15,7 +15,7 @@ module('Integration | Component | Module | Navbar', function (hooks) { // then assert.ok(screen); assert.dom(screen.getByRole('navigation', { name: 'Étape 1 sur 3' })).exists(); - assert.dom(screen.getByRole('progressbar', { name: 'Avancement du module' })).hasValue(0); + assert.dom('.progress-gauge__bar').hasValue(0); }); }); @@ -27,7 +27,7 @@ module('Integration | Component | Module | Navbar', function (hooks) { // then assert.ok(screen); assert.dom(screen.getByRole('navigation', { name: 'Étape 2 sur 3' })).exists(); - assert.dom(screen.getByRole('progressbar', { name: 'Avancement du module' })).hasValue(50); + assert.dom('.progress-gauge__bar').hasValue(50); }); }); @@ -39,7 +39,7 @@ module('Integration | Component | Module | Navbar', function (hooks) { // then assert.ok(screen); assert.dom(screen.getByRole('navigation', { name: 'Étape 3 sur 3' })).exists(); - assert.dom(screen.getByRole('progressbar', { name: 'Avancement du module' })).hasValue(100); + assert.dom('.progress-gauge__bar').hasValue(100); }); }); @@ -51,7 +51,7 @@ module('Integration | Component | Module | Navbar', function (hooks) { // then assert.ok(screen); assert.dom(screen.getByRole('navigation', { name: 'Étape 1 sur 1' })).exists(); - assert.dom(screen.getByRole('progressbar', { name: 'Avancement du module' })).hasValue(100); + assert.dom('.progress-gauge__bar').hasValue(100); }); }); });