Skip to content

Commit

Permalink
[BUMP] Update dependency @1024pix/pix-ui to ^48.7.1 (orga)
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge authored Nov 25, 2024
2 parents f19ff59 + 8ff12d8 commit fb1f09e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions orga/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion orga/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@1024pix/ember-cli-notifications": "^8.0.2",
"@1024pix/ember-testing-library": "^3.0.6",
"@1024pix/eslint-config": "^1.3.8",
"@1024pix/pix-ui": "^48.6.0",
"@1024pix/pix-ui": "^48.7.1",
"@1024pix/stylelint-config": "^5.1.22",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-decorators": "^7.20.13",
Expand Down
18 changes: 9 additions & 9 deletions orga/tests/acceptance/campaign-creation-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ module('Acceptance | Campaign Creation', function (hooks) {
const expectedTargetProfileName = availableTargetProfiles[1].name;

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

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

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

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

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

// when
await fillByLabel('* Nom de la campagne', 'Ma Campagne');
await fillByLabel('Nom de la campagne *', 'Ma Campagne');
await clickByName('Évaluer les participants');
await click(screen.getByLabelText(`* ${t('pages.campaign-creation.target-profiles-list-label')}`));
await click(screen.getByLabelText(`${t('pages.campaign-creation.target-profiles-list-label')} *`));
await click(await screen.findByRole('option', { name: expectedTargetProfileName }));
const externalIdentifier = screen
.getByText('Souhaitez-vous demander un identifiant externe ?', { selector: 'legend' })
Expand Down
2 changes: 1 addition & 1 deletion orga/tests/acceptance/campaign-update-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module('Acceptance | Campaign Update', function (hooks) {
const newText = 'New text';

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

// when
Expand Down
2 changes: 1 addition & 1 deletion orga/tests/acceptance/team-creation-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module('Acceptance | Team Creation', function (hooks) {

await authenticateSession(user.id);

inputLabel = '* ' + t('pages.team-new-item.input-label');
inputLabel = `${t('pages.team-new-item.input-label')} *`;
inviteButton = t('pages.team-new-item.invite-button');
cancelButton = t('common.actions.cancel');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ module('Integration | Component | Campaign::CreateForm', function (hooks) {
@membersSortedByFullName={{this.defaultMembers}}
/>`,
);
await fillByLabel(`* ${t('pages.campaign-creation.name.label')}`, 'Ma campagne');
await fillByLabel(`${t('pages.campaign-creation.name.label')} *`, 'Ma campagne');
await clickByName(t('pages.campaign-creation.purpose.assessment'));
await click(screen.getByLabelText(t('pages.campaign-creation.target-profiles-list-label'), { exact: false }));
await click(await screen.findByRole('option', { name: targetProfile.name }));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module('Integration | Component | Campaign::UpdateForm', function (hooks) {
);

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

// when
await fillByLabel('* Nom de la campagne', 'New name');
await fillByLabel('Nom de la campagne *', 'New name');
await clickByName('Modifier');

//then
Expand Down
2 changes: 1 addition & 1 deletion orga/tests/integration/components/team/invite-form-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module('Integration | Component | Team::InviteForm', function (hooks) {
);

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

// then
Expand Down

0 comments on commit fb1f09e

Please sign in to comment.