diff --git a/mon-pix/app/components/authentication-layout/index.scss b/mon-pix/app/components/authentication-layout/index.scss index 235da97ed92..fd48f435ca2 100644 --- a/mon-pix/app/components/authentication-layout/index.scss +++ b/mon-pix/app/components/authentication-layout/index.scss @@ -48,5 +48,13 @@ .authentication-layout-footer { margin-top: auto; + + .footer-container-content__navigation { + margin-left: 0; + } + + .footer-navigation__item{ + margin: 0 var(--pix-spacing-3x) 0 0; + } } diff --git a/mon-pix/tests/integration/components/authentication-layout/index-test.gjs b/mon-pix/tests/integration/components/authentication-layout/index-test.gjs index 0307b746dac..8b4b3a99001 100644 --- a/mon-pix/tests/integration/components/authentication-layout/index-test.gjs +++ b/mon-pix/tests/integration/components/authentication-layout/index-test.gjs @@ -1,6 +1,6 @@ import { render } from '@1024pix/ember-testing-library'; import Service from '@ember/service'; -import { setLocale } from 'ember-intl/test-support'; +import { t } from 'ember-intl/test-support'; import AuthenticationLayout from 'mon-pix/components/authentication-layout'; import { module, test } from 'qunit'; @@ -28,25 +28,6 @@ module('Integration | Component | authentication-layout/index', function (hooks) assert.ok(screen.getAllByRole('presentation')[1].hasAttribute('src', '/images/pix-logo.svg')); assert.dom(screen.getByRole('contentinfo')).exists(); assert.dom(screen.getByRole('banner')).exists(); - assert.dom(screen.queryByRole('button', { name: 'Sélectionnez une langue' })).exists(); - }); - test('it displays an authentication layout in Dutch when query parameter is nl', async function (assert) { - //given - class CurrentDomainServiceStub extends Service { - get isFranceDomain() { - return false; - } - - getExtension() { - return 'org'; - } - } - this.owner.register('service:currentDomain', CurrentDomainServiceStub); - setLocale('nl'); - //when - const screen = await render(); - - //then - assert.dom(screen.getByText('Helpcentrum')).exists(); + assert.dom(screen.queryByRole('button', { name: t('pages.inscription.choose-language-aria-label') })).exists(); }); });