Skip to content

Commit

Permalink
chore: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Angi-Kinas committed Nov 12, 2024
1 parent 3b36f10 commit 7608ba8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/metadata-editor-e2e/src/e2e/edit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ describe('editor form', () => {
.should('have.length', 0)
cy.get('gn-ui-form-field-spatial-extent')
.find('gn-ui-autocomplete')
.click()
.type('a')
cy.get('mat-option').eq(1).click()
cy.editor_publishAndReload()
cy.get('@saveStatus').should('eq', 'record_up_to_date')
Expand Down Expand Up @@ -585,7 +585,9 @@ describe('editor form', () => {
})
it('should add a keyword', () => {
cy.editor_wrapPreviousDraft()
cy.get('gn-ui-form-field-keywords').find('gn-ui-autocomplete').click()
cy.get('gn-ui-form-field-keywords')
.find('gn-ui-autocomplete')
.type('a')
cy.get('mat-option').first().click()
cy.editor_publishAndReload()
cy.get('@saveStatus').should('eq', 'record_up_to_date')
Expand Down

0 comments on commit 7608ba8

Please sign in to comment.