test : Update Script
This commit is contained in:
parent
9254c0183e
commit
297ff8c675
73 changed files with 2055 additions and 398 deletions
|
|
@ -15,7 +15,7 @@ test.afterAll(async () => {
|
|||
|
||||
test('Login', async () => {
|
||||
// Login
|
||||
await page.goto('http://192.168.1.90:20001/');
|
||||
await page.goto('http://192.168.1.62:20101/');
|
||||
await expect(page).toHaveTitle(/^Sign in to /);
|
||||
await page.fill("input[name='username']", 'admin');
|
||||
await page.fill("input[name='password']", '1234');
|
||||
|
|
@ -85,7 +85,8 @@ test('Create Sub Branch Managenment', async () => {
|
|||
await page.waitForTimeout(2000);
|
||||
await page.click('id=select-bankbook_0');
|
||||
|
||||
await page.click('id=btn-form-submit');
|
||||
await page.click('id=btn-info-basic-save');
|
||||
await page.click('id=btn-form-close');
|
||||
}
|
||||
|
||||
// ตรวจสอบความถูกต้องหลังจากทำการบันทึกสร้างสำนักงานใหญ่
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue