Skip to content

Commit

Permalink
Develop (#129)
Browse files Browse the repository at this point in the history
### To be filled by the PR creator:

* A brief description of the changes made - 

* Do we have clean latest run report (Docker or Browserstack) attached
with this PR?
  * [ ] Yes
  * [ ] No (Please explain why)

* Does the PR contain changes to any core file?
  * [ ] Yes (Needs approval from at least 1 people)
  * [ ] No

* Is it
  * [ ] New Testcase
  * [ ] Fix


### To be filled by the PR reviewer:

* [ ] Verify the attached run report passed in GitHub Actions (Docker or
Browserstack run)

* General
    * [ ] Use the best strategy to locate the elements
    * [ ] Comments wherever the code is not readable by itself
    * [ ] Use of the right data structure for the use case
    * [ ] Reuse logic/functionality as much as possible
    * [ ] Cleanup of any test data that is generated by the tests
    * [ ] No static waits
  • Loading branch information
tauqirsarwar1 authored May 20, 2024
2 parents 49221fb + b9a71d8 commit 358ac11
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/test_project/features/visual/visual_tests.feature
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@ Feature: OrangeHRM Visual Tests
| mac-chrome-login-button.png |


@blog @automated
Scenario: Check QA modus blog
@blog_page @automated
Scenario: Check QA modus blog design
Given I set web base url 'https://moduscreate.com'
And The browser resolution is '1024' per '768'
And The title is 'Modus Create | Consulting and Product Development Partner'
When The element 'Modus_Site > main_heading' is displayed
And I click item 'Blog' for element 'Modus_Site > header_link'
And The title is 'Blog | Digital Transformation Insights - Modus Create'
When The element 'Modus_Site > dropdown' is displayed
And I select the option 'quality-assurance' by value for element 'Modus_Site > dropdown'
# Dropdown has some specific values now so can't select
# And I select the option 'quality-assurance' by value for element 'Modus_Site > dropdown'
And I pause for '5' s
And I set text 'How to Avoid Flaky' to field 'Modus_Site > search_bar'
When I click on button 'Modus_Site > search_icon'
Expand Down
Binary file modified test_data/visualtesting/base/mac-chrome-blog-page-full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.

0 comments on commit 358ac11

Please sign in to comment.