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 4, 2024
1 parent 432f51a commit 149d1cf
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 149d1cf

Please sign in to comment.