Skip to content

Commit

Permalink
fix: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Feb 10, 2025
1 parent b91564c commit e1f5ed4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/metadata-editor-e2e/src/e2e/edit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ describe('editor form', () => {
cy.get('gn-ui-form-field-online-resources')
.find('gn-ui-url-input')
.find('input')
.first()
.type('http://example.com/wms')
cy.get('gn-ui-online-service-resource-input')
.find('[data-cy="identifier-in-service"]')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3 class="text-[16px] font-bold text-main mb-[12px]" translate>
[disabled]="true"
[value]="onlineResource.url"
[disabled]="disabled$ | async"
[showUploadButton]="false"
[showValidateButton]="false"
></gn-ui-url-input>
</div>
</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
>
<gn-ui-online-service-resource-input
[service]="newService"
[disabled]="disabled$ | async"
(urlChange)="handleServiceUrlChange($event)"
(identifierSubmit)="handleIdentifierSubmit($event)"
></gn-ui-online-service-resource-input>
<span class="w-full border-b border-gray-300"></span>
<gn-ui-url-input
Expand Down

0 comments on commit e1f5ed4

Please sign in to comment.