Skip to content

Commit

Permalink
ci: add missing skip e2e (#1116)
Browse files Browse the repository at this point in the history
Added e2e skips in a few places where the deposition ID filter tests are
located
  • Loading branch information
codemonkey800 authored Sep 5, 2024
1 parent 39351f0 commit ee6064a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { QueryParams } from 'app/constants/query'

import { getApolloClient } from './apollo'
import { E2E_CONFIG, SINGLE_DATASET_URL, translations } from './constants'
import { onlyRunIfEnabled } from './utils'

test.describe('Single dataset page filters', () => {
let client: ApolloClient<NormalizedCacheObject>
Expand Down Expand Up @@ -108,6 +109,8 @@ test.describe('Single dataset page filters', () => {
})
})
test.describe('Deposition ID filter', () => {
onlyRunIfEnabled('depositions')

test('should filter when selecting', async () => {
await filtersPage.goTo(SINGLE_DATASET_URL)

Expand Down
3 changes: 3 additions & 0 deletions frontend/packages/data-portal/e2e/singleRunFilters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { QueryParams } from 'app/constants/query'

import { getApolloClient } from './apollo'
import { E2E_CONFIG, SINGLE_RUN_URL, translations } from './constants'
import { onlyRunIfEnabled } from './utils'

test.describe('Single run page filters', () => {
let client: ApolloClient<NormalizedCacheObject>
Expand Down Expand Up @@ -213,6 +214,8 @@ test.describe('Single run page filters', () => {
})
})
test.describe('Deposition ID filter', () => {
onlyRunIfEnabled('depositions')

test('should filter when selecting', async () => {
await filtersPage.goTo(SINGLE_RUN_URL)

Expand Down

0 comments on commit ee6064a

Please sign in to comment.