Skip to content

Commit fb1f09e

Browse files
[BUMP] Update dependency @1024pix/pix-ui to ^48.7.1 (orga)
#10624
2 parents f19ff59 + 8ff12d8 commit fb1f09e

8 files changed

+21
-21
lines changed

orga/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

orga/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@1024pix/ember-cli-notifications": "^8.0.2",
5555
"@1024pix/ember-testing-library": "^3.0.6",
5656
"@1024pix/eslint-config": "^1.3.8",
57-
"@1024pix/pix-ui": "^48.6.0",
57+
"@1024pix/pix-ui": "^48.7.1",
5858
"@1024pix/stylelint-config": "^5.1.22",
5959
"@babel/eslint-parser": "^7.19.1",
6060
"@babel/plugin-proposal-decorators": "^7.20.13",

orga/tests/acceptance/campaign-creation-test.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ module('Acceptance | Campaign Creation', function (hooks) {
5757
const expectedTargetProfileName = availableTargetProfiles[1].name;
5858

5959
const screen = await visit('/campagnes/creation');
60-
await fillByLabel('* Nom de la campagne', 'Ma Campagne');
60+
await fillByLabel('Nom de la campagne *', 'Ma Campagne');
6161
await clickByName('Évaluer les participants');
6262

63-
await click(screen.getByLabelText(`* ${t('pages.campaign-creation.target-profiles-list-label')}`));
63+
await click(screen.getByLabelText(`${t('pages.campaign-creation.target-profiles-list-label')} *`));
6464
await click(await screen.findByRole('option', { name: expectedTargetProfileName }));
6565

6666
const externalIdentifier = screen
@@ -82,7 +82,7 @@ module('Acceptance | Campaign Creation', function (hooks) {
8282
test('it should allow to create a campaign of type PROFILES_COLLECTION and redirect to the newly created campaign', async function (assert) {
8383
// given
8484
const screen = await visit('/campagnes/creation');
85-
await fillByLabel('* Nom de la campagne', 'Ma Campagne');
85+
await fillByLabel('Nom de la campagne *', 'Ma Campagne');
8686
await clickByName('Collecter les profils Pix des participants');
8787
const externalIdentifier = screen
8888
.getByText('Souhaitez-vous demander un identifiant externe ?', { selector: 'legend' })
@@ -103,9 +103,9 @@ module('Acceptance | Campaign Creation', function (hooks) {
103103
const expectedTargetProfileName = availableTargetProfiles[1].name;
104104

105105
const screen = await visit('/campagnes/creation');
106-
await fillByLabel('* Nom de la campagne', 'Ma Campagne');
106+
await fillByLabel('Nom de la campagne *', 'Ma Campagne');
107107
await clickByName('Évaluer les participants');
108-
await click(screen.getByLabelText(`* ${t('pages.campaign-creation.target-profiles-list-label')}`));
108+
await click(screen.getByLabelText(`${t('pages.campaign-creation.target-profiles-list-label')} *`));
109109
await click(await screen.findByRole('option', { name: expectedTargetProfileName }));
110110
await fillByLabel('Titre du parcours', 'Savoir rechercher');
111111
await clickByName('Non');
@@ -122,9 +122,9 @@ module('Acceptance | Campaign Creation', function (hooks) {
122122
// given
123123
const targetProfileName = availableTargetProfiles[1].name;
124124
const screen = await visit('/campagnes/creation');
125-
await fillByLabel('* Nom de la campagne', 'Ma Campagne');
125+
await fillByLabel('Nom de la campagne *', 'Ma Campagne');
126126
await clickByName('Évaluer les participants');
127-
await click(screen.getByLabelText(`* ${t('pages.campaign-creation.target-profiles-list-label')}`));
127+
await click(screen.getByLabelText(`${t('pages.campaign-creation.target-profiles-list-label')} *`));
128128
await click(await screen.findByRole('option', { name: targetProfileName }));
129129

130130
// when
@@ -142,9 +142,9 @@ module('Acceptance | Campaign Creation', function (hooks) {
142142
server.post('/campaigns', {}, 500);
143143

144144
// when
145-
await fillByLabel('* Nom de la campagne', 'Ma Campagne');
145+
await fillByLabel('Nom de la campagne *', 'Ma Campagne');
146146
await clickByName('Évaluer les participants');
147-
await click(screen.getByLabelText(`* ${t('pages.campaign-creation.target-profiles-list-label')}`));
147+
await click(screen.getByLabelText(`${t('pages.campaign-creation.target-profiles-list-label')} *`));
148148
await click(await screen.findByRole('option', { name: expectedTargetProfileName }));
149149
const externalIdentifier = screen
150150
.getByText('Souhaitez-vous demander un identifiant externe ?', { selector: 'legend' })

orga/tests/acceptance/campaign-update-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module('Acceptance | Campaign Update', function (hooks) {
3636
const newText = 'New text';
3737

3838
await visitScreen(`/campagnes/${campaign.id}/modification`);
39-
await fillByLabel('* Nom de la campagne', newName);
39+
await fillByLabel('Nom de la campagne *', newName);
4040
await fillByLabel("Texte de la page d'accueil", newText);
4141

4242
// when

orga/tests/acceptance/team-creation-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module('Acceptance | Team Creation', function (hooks) {
6464

6565
await authenticateSession(user.id);
6666

67-
inputLabel = '* ' + t('pages.team-new-item.input-label');
67+
inputLabel = `${t('pages.team-new-item.input-label')} *`;
6868
inviteButton = t('pages.team-new-item.invite-button');
6969
cancelButton = t('common.actions.cancel');
7070
});

orga/tests/integration/components/campaign/create-form-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ module('Integration | Component | Campaign::CreateForm', function (hooks) {
998998
@membersSortedByFullName={{this.defaultMembers}}
999999
/>`,
10001000
);
1001-
await fillByLabel(`* ${t('pages.campaign-creation.name.label')}`, 'Ma campagne');
1001+
await fillByLabel(`${t('pages.campaign-creation.name.label')} *`, 'Ma campagne');
10021002
await clickByName(t('pages.campaign-creation.purpose.assessment'));
10031003
await click(screen.getByLabelText(t('pages.campaign-creation.target-profiles-list-label'), { exact: false }));
10041004
await click(await screen.findByRole('option', { name: targetProfile.name }));

orga/tests/integration/components/campaign/update-form-test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ module('Integration | Component | Campaign::UpdateForm', function (hooks) {
4747
);
4848

4949
// then
50-
assert.dom(screen.getByLabelText('* Nom de la campagne')).exists();
51-
assert.dom(screen.getByLabelText('* Propriétaire de la campagne')).exists();
50+
assert.dom(screen.getByLabelText('Nom de la campagne *')).exists();
51+
assert.dom(screen.getByLabelText('Propriétaire de la campagne *')).exists();
5252
assert.dom(screen.getByLabelText("Texte de la page d'accueil")).exists();
5353
assert.dom(screen.getByLabelText('Titre du parcours')).exists();
5454
assert.dom(screen.getByText('Modifier')).exists();
@@ -72,7 +72,7 @@ module('Integration | Component | Campaign::UpdateForm', function (hooks) {
7272
);
7373

7474
// when
75-
await fillByLabel('* Nom de la campagne', 'New name');
75+
await fillByLabel('Nom de la campagne *', 'New name');
7676
await clickByName('Modifier');
7777

7878
//then

orga/tests/integration/components/team/invite-form-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module('Integration | Component | Team::InviteForm', function (hooks) {
4040
);
4141

4242
// when
43-
const inputLabel = '* ' + t('pages.team-new-item.input-label');
43+
const inputLabel = `${t('pages.team-new-item.input-label')} *`;
4444
await fillByLabel(inputLabel, '[email protected]');
4545

4646
// then

0 commit comments

Comments
 (0)