Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kne42 committed Sep 25, 2024
1 parent 0d272f1 commit b39a85a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/packages/data-portal/e2e/downloadDialog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ApolloClient, NormalizedCacheObject } from '@apollo/client'
import { expect, test } from '@playwright/test'
import { DownloadDialogPage } from 'e2e/pageObjects/downloadDialog/downloadDialogPage'

import { IdPrefix } from 'app/constants/idPrefixes'
import { DownloadConfig, DownloadStep, DownloadTab } from 'app/types/download'

import { getApolloClient } from './apollo'
Expand Down Expand Up @@ -800,7 +801,7 @@ test.describe('downloadDialog', () => {
await downloadDialogPage.clickNextButton()

await expect(downloadDialogPage.getDialog()).toContainText(
`Tomogram ID: ${lastTomogramId}`,
`Tomogram ID: ${IdPrefix.Tomogram}-${lastTomogramId}`,
)
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ function getAnnotationTestMetdata(
annotation.ground_truth_status ? translations.notApplicable : value

return {
annotationId: annotation.id,
annotationAuthors: annotation.authors?.map((author) => author.name),
publication: annotation.annotation_publication,
depositionDate: annotation.deposition_date,
Expand Down

0 comments on commit b39a85a

Please sign in to comment.