Skip to content

Commit

Permalink
fix(e2e): Fix failing tests on dataset page
Browse files Browse the repository at this point in the history
  • Loading branch information
Angi-Kinas committed May 22, 2024
1 parent 8d20dbc commit 96a426c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/datahub-e2e/src/e2e/dataset.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ describe('datasets', () => {
it('should display the territories', () => {
cy.get('@mainInfo')
.children('div')
.eq(2)
.eq(1)
.find('div')
.children('span')
.should('have.length.gt', 0)
Expand All @@ -174,7 +174,7 @@ describe('datasets', () => {
it('should display the producer', () => {
cy.get('@mainInfo')
.children('div')
.eq(4)
.eq(3)
.find('span')
.eq(1)
.should('have.text', 'Région Hauts-de-France')
Expand Down

0 comments on commit 96a426c

Please sign in to comment.