Skip to content

Commit

Permalink
fix: e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Feb 7, 2025
1 parent f5a6bcb commit bceb2ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/metadata-editor-e2e/src/e2e/edit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,14 +502,14 @@ describe('editor form', () => {
cy.get('gn-ui-online-service-resource-input mat-radio-button')
.contains('WMS')
.click()
cy.get('gn-ui-online-service-resource-input')
.find('[data-cy="identifier-in-service"]')
.type('A layer name as identifier in service')
cy.get('gn-ui-form-field-online-resources')
.find('gn-ui-url-input')
.find('input')
.type('http://example.com/wms')
cy.get('gn-ui-form-field-online-resources').find('button').eq(2).click()
cy.get('gn-ui-online-service-resource-input')
.find('[data-cy="identifier-in-service"]')
.type('A layer name as identifier in service')
cy.get('gn-ui-form-field-online-resources').find('button').eq(3).click()
cy.editor_publishAndReload()
cy.get('@saveStatus').should('eq', 'record_up_to_date')
cy.get('@resourcePageBtn').click()
Expand Down

0 comments on commit bceb2ce

Please sign in to comment.