-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature_naming_group
# Conflicts: # api/pom.xml # client/pom.xml # cmdb/pom.xml # common/pom.xml # config/pom.xml # console/pom.xml # core/pom.xml # distribution/pom.xml # example/pom.xml # naming/pom.xml # naming/src/main/java/com/alibaba/nacos/naming/consistency/persistent/raft/RaftCore.java # naming/src/main/java/com/alibaba/nacos/naming/misc/SwitchDomain.java # pom.xml # test/pom.xml
- Loading branch information
Showing
34 changed files
with
753 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,8 @@ | |
# misc | ||
.DS_Store | ||
npm-debug.log* | ||
|
||
# test | ||
test/uirecorder.log | ||
test/reports | ||
test/screenshots/* |
36 changes: 0 additions & 36 deletions
36
console/src/main/resources/static/console-fe/.vscode/settings.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
console/src/main/resources/static/console-fe/test/.editorconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
# Apply for all files | ||
[*] | ||
|
||
charset = utf-8 | ||
|
||
indent_style = space | ||
indent_size = 4 | ||
|
||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.DS_Store | ||
.idea | ||
node_modules | ||
npm-debug.log | ||
uirecorder.log | ||
reports | ||
screenshots/**/*.png | ||
screenshots/**/*.html | ||
screenshots/**/*.json |
40 changes: 40 additions & 0 deletions
40
console/src/main/resources/static/console-fe/test/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## 使用说明 | ||
|
||
### 安装依赖 | ||
```sh | ||
npm install uirecorder mocha -g | ||
npm install | ||
``` | ||
|
||
### 安装chrome浏览器插件 | ||
```sh | ||
npm run installdriver | ||
``` | ||
|
||
### 开始录制测试用例 | ||
```sh | ||
// xxx.spec.js 为你的测试用例文件名称 | ||
uirecorder sample/xxx.spec.js | ||
``` | ||
|
||
### 回归测试 | ||
#### 启动服务 | ||
```sh | ||
npm run server | ||
``` | ||
|
||
#### 单个文件测试 | ||
```sh | ||
// xxx.spec.js 为你的测试用例文件名称 | ||
npm run singletest sample/xxx.spec.js | ||
``` | ||
|
||
#### 并发测试 | ||
```sh | ||
npm run paralleltest | ||
``` | ||
|
||
### 查看报告 | ||
```sh | ||
open reports/index.html | ||
``` |
1 change: 1 addition & 0 deletions
1
console/src/main/resources/static/console-fe/test/commons/commons.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please save common test case here. |
14 changes: 14 additions & 0 deletions
14
console/src/main/resources/static/console-fe/test/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"webdriver": { | ||
"host": "127.0.0.1", | ||
"port": "4444", | ||
"browsers": "chrome" | ||
}, | ||
"vars": {}, | ||
"recorder": { | ||
"pathAttrs": "data-id,data-name,type,data-type,role,data-role,data-value", | ||
"attrValueBlack": "", | ||
"classValueBlack": "", | ||
"hideBeforeExpect": "" | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ls ~/nvm || git clone https://github.com/creationix/nvm.git ~/nvm | ||
source ~/nvm/nvm.sh | ||
nvm install v7.10.0 | ||
npm install |
Oops, something went wrong.