Skip to content

Commit

Permalink
Backoffice REG - Ajout du Règlement (UE) 2024/2594 (#3776)
Browse files Browse the repository at this point in the history
## Linked issues

- Resolve #3770 

----

- [ ] Tests E2E (Cypress)
  • Loading branch information
louptheron authored Oct 17, 2024
2 parents 93b9f15 + 62dbf82 commit 2f3fe9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/cypress/e2e/backoffice/new_regulation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ context('New Regulation', () => {

it('Select, change and remove law type Reg. MEMN', () => {
cy.get('[id="Choisir un ensemble"]').click()
cy.get('[id="Choisir un ensemble-listbox"] > div').should('have.length', 18)
cy.get('[id="Choisir un ensemble-listbox"] > div').should('have.length', 19)
cy.get('[id="Choisir un ensemble-listbox"]').type('{esc}')

// Open menu and select "Reg. MEMN", the tag is displayed
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/features/Regulation/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ const REG_OUTRE_MER = 'Reg. Outre-mer'
const RUE_2019 = 'R(UE) 2019/1241'
const RUE_1380 = 'R(UE) 1380/2013'
const RUE_2022 = 'R(UE) 2022/1614'
const RUE_2024 = 'R(UE) 2024/2594'
const RUE_494 = 'R(CE) 494/2002'
const RUE_2017 = 'R(CE) 2017/118'

Expand Down Expand Up @@ -248,6 +249,7 @@ export const LAWTYPES_TO_TERRITORY = {
[RUE_2017]: UE,
[RUE_2019]: UE,
[RUE_2022]: UE,
[RUE_2024]: UE,
[RUE_494]: UE
}

Expand Down

0 comments on commit 2f3fe9a

Please sign in to comment.