-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility: make pressing the enter key, validate the admin key modal #280 #331
Conversation
Hey @nooras thanks a lot for this contribution! Could you add a test in Line 20 you rename the test from Then underneath it you create a new test called it('Should fail on wrong API key triggered with enter key', () => {
cy.get('div[aria-label=ask-for-api-key]').within(() => {
cy.get('input[name="apiKey"]')
.type(WRONG_APIKEY)
.should('have.value', WRONG_APIKEY)
cy.get('input[name="apiKey"]').type('{enter}')
cy.wait(WAITING_TIME)
cy.contains('The provided API key is invalid.')
})
}) |
Hi @bidoubiwa I added test. Kindly check and let me know if any changes are required. Thanks |
Hey @nooras! This seems good to me :) Before merging it, I need the approval of @mdubus that will come back next week. Thanks again for contributing with Meilisearch ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @nooras ! 👋
Thanks a lot for your work here, this definitively helps a lot 🤩
A thank a lot @bidoubiwa for the review and the test suggestion while I wasn't available!
bors merge
Build succeeded:
|
This message is sent automatically Thank you for contributing to Meilisearch. If you are participating in Hacktoberfest, and you would like to receive some gift from Meilisearch too, please complete this form. |
Pull Request
Related issue
Fixes #280
What does this PR do?
PR checklist
Please check if your PR fulfills the following requirements:
Screenshot:
On key enter, field will be validate
Thank you so much for contributing to Meilisearch!