From b0dbc33730bcc3a8cdb70c3daab469ce8d9769aa Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Sat, 12 Feb 2022 18:18:14 +0800 Subject: [PATCH] [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 d147c5c92c..cc73ef27ee 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 48ad64c621..85c0cae33a 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' >