diff --git a/frontend/test_project/features/web/login_tests.feature b/frontend/test_project/features/web/login_tests.feature index 648e7a1a..cb60339c 100644 --- a/frontend/test_project/features/web/login_tests.feature +++ b/frontend/test_project/features/web/login_tests.feature @@ -137,7 +137,6 @@ Feature: OrangeHRM Login and Modus QA blog And The title is 'Modus Create - Careers | Digital Transformation Consultants' And The element 'Modus_Site > Careers > dropdown_filter' is displayed And I move to element 'Modus_Site > Careers > dropdown_filter' - And I pause for '2' s And I select the option 'Global' by value for element 'Modus_Site > Careers > dropdown_filter' And I click item 'Android Engineer' for element 'Modus_Site > Careers > job_title' Then The page url contains '4325051003' @@ -147,7 +146,7 @@ Feature: OrangeHRM Login and Modus QA blog And I set text 'Sarwar' to field 'Modus_Site > Careers > last_name' And I set text 'tauqir.sarwar@moduscreate.com' to field 'Modus_Site > Careers > email' And I set text '+921112563256' to field 'Modus_Site > Careers > phone' - And I click on button 'Modus_Site > Careers > location' + And I set text 'Lahore, Punjab, Pakistan' to field 'Modus_Site > Careers > location_field' When The element 'Modus_Site > Careers > resume_link' is displayed And I click on button 'Modus_Site > Careers > resume_link' And I set text 'testing resume' to field 'Modus_Site > Careers > resume_text' diff --git a/frontend/test_project/locators/Web_locators.json b/frontend/test_project/locators/Web_locators.json index 118af558..40c32a38 100644 --- a/frontend/test_project/locators/Web_locators.json +++ b/frontend/test_project/locators/Web_locators.json @@ -43,7 +43,8 @@ "last_name": "//input[@id='last_name']", "email": "//input[@id='email']", "phone": "//input[@id='phone']", - "location": "//a[@class='locate-me']", + "location_link": "//a[@class='locate-me']", + "location_field": "//auto-complete/input[@id='auto_complete_input']", "job_search": "//h2[@class='job-title']/a", "resume_link": "//*[contains(text(),'or enter manually')]", "resume_text": "//*[@id='resume_text']",