Merge branch 'net' into development
This commit is contained in:
commit
17522c62be
1 changed files with 35 additions and 0 deletions
35
Services/client/tests/README.md
Normal file
35
Services/client/tests/README.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Test by playwrigth
|
||||
|
||||
## คำสั่งต่างๆ
|
||||
|
||||
คำสั่งที่ใช้ในการ รัน เช่น
|
||||
|
||||
|
||||
```
|
||||
npx playwright test tests/folder-CRUD.spec.ts
|
||||
```
|
||||
playwrigth ui
|
||||
```
|
||||
npx playwright test --ui
|
||||
```
|
||||
|
||||
tests/folder-CRUD.spec.ts คือตำเเหน่งของไฟล์
|
||||
|
||||
## ไฟล์ test
|
||||
ไฟล์งานอยู่ใน Directory tests
|
||||
- delete-file-grid-view.spec.ts `ทดสอบการสร้างไฟล์ใน folder และลบ`
|
||||
```
|
||||
npx playwright test tests/delete-file-grid-view.spec.ts
|
||||
```
|
||||
- folder-CRUD.spec.ts `ทดสอบการสร้างตู้ ลิ้นชัก folder subfolder แล้วเข้าไปในสุดจากนั้นออกมกเเก้ไขเเล้วลบที่ละรำดับ`
|
||||
|
||||
```
|
||||
npx playwright test tests/folder-CRUD.spec.ts
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue