Skip to content

Commit

Permalink
fix: add one test, update solr
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengShi-1 committed Feb 27, 2025
1 parent 3bd9894 commit 01515cf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev-env/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
POSTGRES_VERSION=13
DATAVERSE_DB_USER=dataverse
SOLR_VERSION=9.3.0
SOLR_VERSION=9.8.0
REGISTRY=docker.io
S3_ACCESS_KEY=<S3_ACCESS_KEY>
S3_SECRET_KEY=<S3_SECRET_KEY>
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,16 @@ describe('Contact Modal', () => {
}
})
})

it('should reset the form after close the modal', () => {
cy.findByTestId('fromEmail').type('email')
cy.findByTestId('subject').type('subject')
cy.findByTestId('body').type('message')
cy.findByTestId('captchaInput').type('abc')
cy.get('.modal-header').find('button').click()
cy.findByTestId('fromEmail').should('have.value', '')
cy.findByTestId('subject').should('have.value', '')
cy.findByTestId('body').should('have.value', '')
cy.findByTestId('captchaInput').should('have.value', '')
})
})

0 comments on commit 01515cf

Please sign in to comment.