소스 검색

commit from nitin-dev branch

npaliwal 3 주 전
부모
커밋
9602552b2b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/CEO_Demo_29_Aug_2024.spec.js

+ 2 - 2
tests/CEO_Demo_29_Aug_2024.spec.js

@@ -9,7 +9,7 @@ test('Login page', async({page})=>{
     const pim_menu_AddEmp = 'Add Employee';
 
     // Increase the default timeout for this test
-    test.setTimeout(2000000);
+    test.setTimeout(200000);
 
     //hitting the testing URL
     await page.goto('https://testingone-osondemand.orangehrm.com/auth/login');
@@ -76,7 +76,7 @@ test('Login page', async({page})=>{
     
 
     //PIM menu i.e. clicking on "Add Employee" link
-    await page.waitForTimeout(3000);
+    await page.waitForTimeout(30000);
     const menuItemList = await page.locator('.oxd-topbar-body-nav ul li a');
     const menuItemListCount = await menuItemList.count();
     for(let i=0; i<menuItemListCount; i++){