Skip to content

Commit

Permalink
Jobs search test case fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tauqirsarwar1 committed Jul 24, 2024
1 parent 8079a8f commit 77e68c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/test_project/features/web/web_tests.feature
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ Feature: OrangeHRM Login and Modus QA blog
And Browser is maximized
And The title is 'Modus Create | Consulting and Product Development Partner'
When The element 'Modus_Site > main_heading' is displayed
And I hover over 'Modus_Site > header_menu_link' and click element 'sub_header_link'
And I hover over 'Modus_Site > jobs_link' and click element 'Modus_Site > jobs_link'
And The title is 'Modus Create - Careers | Digital Transformation Consultants'
And The element 'Modus_Site > Careers > dropdown_area' is displayed
And The element 'Modus_Site > Careers > job_container' is displayed
And I move to element 'Modus_Site > Careers > dropdown_area'
And The element 'Modus_Site > Careers > job_container' is clickable
And I select the option 'Global' by value for element 'Modus_Site > Careers > dropdown_filter'
And I click item 'Bazel Engineer' for element 'Modus_Site > Careers > job_title'
And I click item 'Android Engineer' for element 'Modus_Site > Careers > job_title'
Then The page url contains 'com/careers/'
When The element 'Modus_Site > Careers > main_iframe' is displayed
And I switch to iframe 'Modus_Site > Careers > main_iframe'
Expand Down
3 changes: 1 addition & 2 deletions frontend/test_project/locators/Web_locators.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
},
"Modus_Site": {
"header_link": "//ul[@class='brex-mega-menu']//a[normalize-space()='{}']",
"header_menu_link": "//ul[@class='brex-mega-menu']//a[normalize-space()='WHO WE ARE']",
"sub_header_link": "//strong[normalize-space()='Careers']",
"jobs_link": "//p/a[contains(text(),'Careers')]",
"main_heading": "//span[normalize-space()='World-Class Product Partner']",
"dropdown": "//select[@class='facetwp-dropdown']",
"search_bar": "//input[@placeholder='Search']",
Expand Down

0 comments on commit 77e68c2

Please sign in to comment.