This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new b0dbc33  [Feature][UI Next] Add e2e to login page. (#8357)
b0dbc33 is described below

commit b0dbc33730bcc3a8cdb70c3daab469ce8d9769aa
Author: songjianet <[email protected]>
AuthorDate: Sat Feb 12 18:18:14 2022 +0800

    [Feature][UI Next] Add e2e to login page. (#8357)
---
 dolphinscheduler-ui-next/docs/e2e/login.md         | 9 +++++----
 dolphinscheduler-ui-next/src/views/login/index.tsx | 3 +++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dolphinscheduler-ui-next/docs/e2e/login.md 
b/dolphinscheduler-ui-next/docs/e2e/login.md
index d147c5c..cc73ef2 100644
--- a/dolphinscheduler-ui-next/docs/e2e/login.md
+++ b/dolphinscheduler-ui-next/docs/e2e/login.md
@@ -1,6 +1,7 @@
 ### login
 
-id:
-- [ ] inputUsername
-- [ ] inputPassword
-- [ ] btnLogin
+| check              | id | class          |
+|--------------------| --- |----------------|
+| :white_check_mark: | inputUsername | input-user-name |
+| :white_check_mark: | inputPassword | input-password |
+| :white_check_mark: | btnLogin | btn-login |
diff --git a/dolphinscheduler-ui-next/src/views/login/index.tsx 
b/dolphinscheduler-ui-next/src/views/login/index.tsx
index 48ad64c..85c0cae 100644
--- a/dolphinscheduler-ui-next/src/views/login/index.tsx
+++ b/dolphinscheduler-ui-next/src/views/login/index.tsx
@@ -67,6 +67,7 @@ const login = defineComponent({
                 path='userName'
               >
                 <NInput
+                  class='input-user-name'
                   type='text'
                   size='large'
                   v-model={[this.loginForm.userName, 'value']}
@@ -81,6 +82,7 @@ const login = defineComponent({
                 path='userPassword'
               >
                 <NInput
+                  class='input-password'
                   type='password'
                   size='large'
                   v-model={[this.loginForm.userPassword, 'value']}
@@ -90,6 +92,7 @@ const login = defineComponent({
               </NFormItem>
             </NForm>
             <NButton
+              class='btn-login'
               round
               type='info'
               disabled={

Reply via email to