Skip to content

Commit

Permalink
test: add e2e test for resource dates
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Jan 29, 2025
1 parent 8438672 commit 0a4c115
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ describe('dataset pages', () => {
.children('div')
.should('have.length', 4)
})
it('should display the creation date, the publication date, the frequency, the languages and the temporal extent', () => {
it('should display the resource creation date (for resource), the publication date (for resource), the frequency, the languages and the temporal extent', () => {
cy.get('datahub-record-metadata')
.find('[id="about"]')
.find('gn-ui-expandable-panel')
Expand All @@ -240,8 +240,7 @@ describe('dataset pages', () => {
.eq(2)
.children('div')
.as('aboutContent')
cy.get('@aboutContent')
.should('have.length', 5)
cy.get('@aboutContent').should('have.length', 5)
cy.get('@aboutContent')
.eq(0)
.children('p')
Expand Down

0 comments on commit 0a4c115

Please sign in to comment.