diff --git a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts index 7218c1754c..2931436a37 100644 --- a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts +++ b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts @@ -632,7 +632,7 @@ describe('api form', () => { cy.get('@apiForm').find('input[type="checkbox"]').check() cy.get('@apiForm').find('gn-ui-text-input').first().should('have.value', '') }) - it.only('should reset all 3 inputs and link on click', () => { + it('should reset all 3 inputs and link on click', () => { cy.get('@apiForm').find('gn-ui-text-input').first().as('firstInput') cy.get('@firstInput').clear() cy.get('@firstInput').type('54') diff --git a/libs/ui/elements/src/lib/record-api-form/record-api-form.component.spec.ts b/libs/ui/elements/src/lib/record-api-form/record-api-form.component.spec.ts index cf5b7bf0cd..d49207bf23 100644 --- a/libs/ui/elements/src/lib/record-api-form/record-api-form.component.spec.ts +++ b/libs/ui/elements/src/lib/record-api-form/record-api-form.component.spec.ts @@ -1,7 +1,7 @@ import { TestBed, ComponentFixture } from '@angular/core/testing' import { RecordApiFormComponent } from './record-api-form.component' import { DatasetServiceDistribution } from '@geonetwork-ui/common/domain/model/record' -import { firstValueFrom, of } from 'rxjs' +import { firstValueFrom } from 'rxjs' import { UiInputsModule } from '@geonetwork-ui/ui/inputs' import { TranslateModule } from '@ngx-translate/core' @@ -20,7 +20,7 @@ jest.mock('@camptocamp/ogc-client', () => ({ getCollectionInfo(collectionId) { return Promise.resolve({ id: collectionId, - formats: [ + itemFormats: [ 'application/geo+json', 'application/json', 'text/csv',