From 60a11ff050fce52d4bf665e5a43a6d30bd9b0846 Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Thu, 10 Feb 2022 20:59:54 +0800 Subject: [PATCH] [Docs][UI Next] Add e2e list docs. (#8336) --- dolphinscheduler-ui-next/README.md | 9 ++ .../docs/e2e/data-source.md | 24 ++++ dolphinscheduler-ui-next/docs/e2e/login.md | 6 + dolphinscheduler-ui-next/docs/e2e/navbar.md | 7 + dolphinscheduler-ui-next/docs/e2e/project.md | 125 ++++++++++++++++++ dolphinscheduler-ui-next/docs/e2e/resource.md | 125 ++++++++++++++++++ dolphinscheduler-ui-next/docs/e2e/security.md | 118 +++++++++++++++++ 7 files changed, 414 insertions(+) create mode 100644 dolphinscheduler-ui-next/docs/e2e/data-source.md create mode 100644 dolphinscheduler-ui-next/docs/e2e/login.md create mode 100644 dolphinscheduler-ui-next/docs/e2e/navbar.md create mode 100644 dolphinscheduler-ui-next/docs/e2e/project.md create mode 100644 dolphinscheduler-ui-next/docs/e2e/resource.md create mode 100644 dolphinscheduler-ui-next/docs/e2e/security.md diff --git a/dolphinscheduler-ui-next/README.md b/dolphinscheduler-ui-next/README.md index fca6e7b905..b3ae5bd74f 100644 --- a/dolphinscheduler-ui-next/README.md +++ b/dolphinscheduler-ui-next/README.md @@ -3,3 +3,12 @@ #### start Please make sure you use `node 16+` and `pnpm` to manage the dependencies of the project. + +#### e2e list + +- [login](https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-ui-next/docs/e2e/login.md) +- [data-source](https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-ui-next/docs/e2e/data-source.md) +- [navbar](https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-ui-next/docs/e2e/navbar.md) +- [project](https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-ui-next/docs/e2e/project.md) +- [resource](https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-ui-next/docs/e2e/resource.md) +- [security](https://github.com/apache/dolphinscheduler/tree/dev/dolphinscheduler-ui-next/docs/e2e/security.md) diff --git a/dolphinscheduler-ui-next/docs/e2e/data-source.md b/dolphinscheduler-ui-next/docs/e2e/data-source.md new file mode 100644 index 0000000000..aa84a9a78f --- /dev/null +++ b/dolphinscheduler-ui-next/docs/e2e/data-source.md @@ -0,0 +1,24 @@ +### data source + +class: +- [ ] data-source-items +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] options-datasource-type + +id: +- [ ] btnCreateDataSource +- [ ] dialogCreateDataSource +- [ ] btnDelete +- [ ] btnDataSourceTypeDropDown +- [ ] inputDataSourceName +- [ ] inputDataSourceDescription +- [ ] inputIP +- [ ] inputPort +- [ ] inputUserName +- [ ] inputPassword +- [ ] inputDataBase +- [ ] inputJdbcParams +- [ ] btnSubmit +- [ ] btnCancel +- [ ] btnTestConnection diff --git a/dolphinscheduler-ui-next/docs/e2e/login.md b/dolphinscheduler-ui-next/docs/e2e/login.md new file mode 100644 index 0000000000..d147c5c92c --- /dev/null +++ b/dolphinscheduler-ui-next/docs/e2e/login.md @@ -0,0 +1,6 @@ +### login + +id: +- [ ] inputUsername +- [ ] inputPassword +- [ ] btnLogin diff --git a/dolphinscheduler-ui-next/docs/e2e/navbar.md b/dolphinscheduler-ui-next/docs/e2e/navbar.md new file mode 100644 index 0000000000..0fdd33df1e --- /dev/null +++ b/dolphinscheduler-ui-next/docs/e2e/navbar.md @@ -0,0 +1,7 @@ +### navbar + +id: +- [ ] tabProject +- [ ] tabSecurity +- [ ] tabResource +- [ ] tabDataSource diff --git a/dolphinscheduler-ui-next/docs/e2e/project.md b/dolphinscheduler-ui-next/docs/e2e/project.md new file mode 100644 index 0000000000..4cb9c9af40 --- /dev/null +++ b/dolphinscheduler-ui-next/docs/e2e/project.md @@ -0,0 +1,125 @@ +### project + +class: +- [ ] items-project +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] project-name +- [ ] delete + +id: +- [ ] btnCreateProject +- [ ] inputProjectName +- [ ] btnSubmit + +#### detail + +class: +- [ ] tab-process-definition +- [ ] tab-process-instance +- [ ] tab-task-instance + +#### workflow save dialog + +class: +- [ ] input-param-key +- [ ] input-param-val +- [ ] option-tenants +- [ ] add +- [ ] add-dp + +id: +- [ ] inputName +- [ ] btnSubmit +- [ ] selectTenant + +#### workflow run dialog + +id: +- [ ] btnSubmit + +#### workflow instance tab + +class: +- [ ] items-workflow-instances +- [ ] select-all +- [ ] btn-delete-all +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] btn-rerun +- [ ] success +- [ ] execution-time +- [ ] btn-rerun + +#### workflow format dialog + +class: +- [ ] el-dialog__wrapper +- [ ] el-button--primary + +#### workflow form + +class: +- [ ] graph-format +- [ ] task-item-`type` +- [ ] dag-container + +id: +- [ ] btnSave + +#### workflow definition tab + +class: +- [ ] select-all +- [ ] btn-delete-all +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] items +- [ ] name +- [ ] button-publish +- [ ] button-run +- [ ] btn-cancel-publish + +id: +- [ ] btnCreateProcess + +#### task instance tab + +class: +- [ ] items-task-instances +- [ ] task-instance-state +- [ ] task-instance-name + +#### switch task form + +class: +- [ ] switch-task +- [ ] switch-else +- [ ] el-input__inner +- [ ] option-else-branches +- [ ] option-if-branches + +id: +- [ ] btnAddIfBranch + +#### switch task if branch + +class: +- [ ] switch-task +- [ ] switch-list +- [ ] el-input + +#### task node form + +class: +- [ ] input-param-key +- [ ] input-param-val +- [ ] pre_tasks-model +- [ ] user-def-params-model +- [ ] add +- [ ] add-dp +- [ ] option-pre-tasks + +id: +- [ ] inputNodeName +- [ ] btnSubmit diff --git a/dolphinscheduler-ui-next/docs/e2e/resource.md b/dolphinscheduler-ui-next/docs/e2e/resource.md new file mode 100644 index 0000000000..8a65841455 --- /dev/null +++ b/dolphinscheduler-ui-next/docs/e2e/resource.md @@ -0,0 +1,125 @@ +### resource + +#### file manage + +class: +- [ ] items +- [ ] el-popconfirm +- [ ] el-button--primary + +id: +- [ ] btnCreateDirectory +- [ ] btnCreateFile +- [ ] btnUploadFile +- [ ] delete +- [ ] btnRename +- [ ] btnEdit +- [ ] btnDownload + +##### create directory + +id: +- [ ] inputDirectoryName +- [ ] inputDescription +- [ ] btnSubmit +- [ ] btnCancel + +##### rename directory + +id: +- [ ] inputName +- [ ] inputDescription +- [ ] btnSubmit +- [ ] btnCancel + +##### create file + +id: +- [ ] inputFileName +- [ ] btnSubmit +- [ ] btnCancel + +##### upload file + +id: +- [ ] btnUpload +- [ ] btnSubmit +- [ ] btnCancel + +#### function manage + +class: +- [ ] udf-function-items +- [ ] el-popconfirm +- [ ] el-button--primary + +id: +- [ ] btnCreateUdfFunction +- [ ] btnRename +- [ ] btnDelete + +##### create unf function + +class: +- [ ] vue-treeselect__menu + +id: +- [ ] inputFunctionName +- [ ] inputClassName +- [ ] btnUdfResourceDropDown +- [ ] inputDescription +- [ ] btnSubmit +- [ ] btnCancel + +##### rename udf function + +id: +- [ ] inputFunctionName +- [ ] inputClassName +- [ ] inputDescription +- [ ] btnSubmit +- [ ] btnCancel + +#### resource + +class: +- [ ] tab-file-manage +- [ ] tab-udf-resource-manage +- [ ] tab-function-resource-manage + +#### udf manage + +class: +- [ ] udf-items +- [ ] el-popconfirm +- [ ] el-button--primary + +id: +- [ ] btnCreateDirectory +- [ ] btnUploadUdf +- [ ] btnDownload +- [ ] btnRename +- [ ] btnDelete + +##### rename directory + +id: +- [ ] inputName +- [ ] inputDescription +- [ ] btnSubmit +- [ ] btnCancel + +##### upload file + +id: +- [ ] btnUpload +- [ ] btnSubmit +- [ ] btnCancel + +##### create directory + +id: +- [ ] inputDirectoryName +- [ ] inputDescription +- [ ] btnSubmit +- [ ] btnCancel diff --git a/dolphinscheduler-ui-next/docs/e2e/security.md b/dolphinscheduler-ui-next/docs/e2e/security.md new file mode 100644 index 0000000000..c69ea97274 --- /dev/null +++ b/dolphinscheduler-ui-next/docs/e2e/security.md @@ -0,0 +1,118 @@ +### security + +class: +- [ ] tab-tenant-manage +- [ ] tab-user-manage +- [ ] tab-worker-group-manage +- [ ] tab-queue-manage +- [ ] tab-environment-manage +- [ ] tab-token-manage + +#### tenant manage + +class: +- [ ] items +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] tenantCode +- [ ] edit +- [ ] delete + +id: +- [ ] btnCreateTenant +- [ ] inputTenantCode +- [ ] selectQueue +- [ ] inputDescription +- [ ] btnSubmit +- [ ] btnCancel + +#### user manage + +class: +- [ ] items +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] name +- [ ] edit +- [ ] delete + +id: +- [ ] btnCreateUser +- [ ] inputUserName +- [ ] inputUserPassword +- [ ] selectTenant +- [ ] selectQueue +- [ ] inputEmail +- [ ] inputPhone +- [ ] radioStateEnable +- [ ] radioStateDisable +- [ ] btnSubmit +- [ ] btnCancel + +#### worker group manage + +class: +- [ ] items +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] vue-treeselect__menu +- [ ] name +- [ ] edit +- [ ] delete + +id: +- [ ] btnCreateWorkerGroup +- [ ] inputWorkerGroupName +- [ ] selectWorkerAddress +- [ ] btnSubmit +- [ ] btnCancel + +#### queue manage + +class: +- [ ] items +- [ ] queueName +- [ ] edit + +id: +- [ ] btnCreateQueue +- [ ] inputQueueName +- [ ] inputQueueValue +- [ ] btnSubmit +- [ ] btnCancel + +#### environment manage + +class: +- [ ] items +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] environmentName +- [ ] edit +- [ ] delete + +id: +- [ ] btnCreateEnvironment +- [ ] inputEnvironmentName +- [ ] inputEnvironmentConfig +- [ ] inputEnvironmentDesc +- [ ] inputEnvironmentWorkerGroup +- [ ] btnSubmit +- [ ] btnCancel + +#### token manage + +class: +- [ ] items +- [ ] el-popconfirm +- [ ] el-button--primary +- [ ] userName +- [ ] token +- [ ] edit +- [ ] delete + +id: +- [ ] btnCreateToken +- [ ] btnGenerateToken +- [ ] btnSubmit +- [ ] btnCancel