Преглед на файлове

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++){