chore(tests): move integration tests to tests/e2e
This commit is contained in:
parent
392b9ba9eb
commit
fa33a70523
2
Makefile
2
Makefile
@ -174,7 +174,7 @@ create-super-admin:
|
|||||||
@bash scripts/create-super-admin.sh
|
@bash scripts/create-super-admin.sh
|
||||||
|
|
||||||
integration-test:
|
integration-test:
|
||||||
@bash integration-test/superadmin-login/run-test-scripts.sh
|
@bash tests/e2e/superadmin-login/run-test-scripts.sh
|
||||||
|
|
||||||
# =========================================
|
# =========================================
|
||||||
# ⚙️ 编译与运行
|
# ⚙️ 编译与运行
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
[]
|
|
||||||
@ -20,13 +20,13 @@ make integration-test
|
|||||||
或直接运行脚本:
|
或直接运行脚本:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash integration-test/superadmin-login/run-test-scripts.sh
|
bash tests/e2e/superadmin-login/run-test-scripts.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## API 自动化测试
|
## API 自动化测试
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash integration-test/superadmin-login/api-test.sh
|
bash tests/e2e/superadmin-login/api-test.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
可选环境变量:
|
可选环境变量:
|
||||||
@ -38,7 +38,7 @@ bash integration-test/superadmin-login/api-test.sh
|
|||||||
## UI 自动化测试(Playwright)
|
## UI 自动化测试(Playwright)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash integration-test/superadmin-login/ui-test.sh
|
bash tests/e2e/superadmin-login/ui-test.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
可选环境变量:
|
可选环境变量:
|
||||||
Loading…
Reference in New Issue
Block a user