Skip to content

Commit

Permalink
fix: one test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengShi-1 committed Nov 3, 2024
1 parent 1f6262d commit 1faf6f9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,8 @@ describe('FileMetadata', () => {
datasetPublishingStatus={file.datasetVersion.publishingStatus}
/>
)

cy.findByText('Deposit Date').should('exist')
cy.findByText(DateHelper.toISO8601Format(file.metadata.depositDate)).should('exist')
cy.get('time').contains(DateHelper.toISO8601Format(file.metadata.depositDate)).should('exist')
})

it('renders the file Metadata Release Date', () => {
Expand Down

0 comments on commit 1faf6f9

Please sign in to comment.