diff --git a/frontend/cypress/e2e/import/fieldmapping-context-from-destination-spec.js b/frontend/cypress/e2e/import/fieldmapping-context-from-destination-spec.js index 72184f24dd..6f9d5a78cf 100644 --- a/frontend/cypress/e2e/import/fieldmapping-context-from-destination-spec.js +++ b/frontend/cypress/e2e/import/fieldmapping-context-from-destination-spec.js @@ -57,7 +57,7 @@ const paramsByDestination = [ entityLabel: 'Habitat', expectedValue: 'Inconnu', }, - // TODO: some fields seems to be not handled to be directly added as default value + // TODO: some fields seems to be not handled to be directly added as default value // { // paramsName: 'nom_cite', // paramsValue: 'test_nomcite', @@ -102,9 +102,7 @@ describe('Import - Upload step', () => { if (destination === 'occhab' && entityLabel) { const dataQaEntity = `[data-qa="import-entity-tab-${entityLabel}"]`; - cy.get(dataQaEntity, { timeout: 30000 }) - .should('be.visible') - .click(); + cy.get(dataQaEntity, { timeout: 30000 }).should('be.visible').click(); } handleFieldValidation(dataQa, paramsName, expectedValue, fieldType); @@ -112,7 +110,6 @@ describe('Import - Upload step', () => { cy.visitImport(); cy.removeFirstImportInList(); }); - }); }); }); diff --git a/frontend/src/app/modules/imports/components/import_process/fields-mapping-step/fields-mapping-step.component.html b/frontend/src/app/modules/imports/components/import_process/fields-mapping-step/fields-mapping-step.component.html index 8f25bc6b89..7b7545f8cb 100644 --- a/frontend/src/app/modules/imports/components/import_process/fields-mapping-step/fields-mapping-step.component.html +++ b/frontend/src/app/modules/imports/components/import_process/fields-mapping-step/fields-mapping-step.component.html @@ -25,7 +25,7 @@
{{ 'Import.FieldMapping.Title' | translate }}
class="entity-tab-label" [matBadge]="invalidEntityControls(entitythemes.entity.label)" [matBadgeHidden]="invalidEntityControls(entitythemes.entity.label) < 1" - [attr.data-qa]="'import-entity-tab-'+entitythemes.entity.label" + [attr.data-qa]="'import-entity-tab-' + entitythemes.entity.label" > {{ entitythemes.entity.label }}