guoqqqi commented on a change in pull request #1472:
URL: https://github.com/apache/apisix-dashboard/pull/1472#discussion_r575821819
##########
File path: web/cypress/integration/user/login.spec.js
##########
@@ -44,4 +44,11 @@ context('Login Test', () => {
cy.contains('Login').click();
cy.get('.ant-notification-notice-message').should('contain',
'Successfully');
});
+
+ it('Press Enter to login success', () => {
+ cy.visit('/user/Login');
+ cy.get('#control-ref_username').type('user');
+ cy.get('#control-ref_password').type('user{enter}');
Review comment:

Information can be found here
https://docs.cypress.io/api/commands/type.html#Events
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]