8000 Visual step doesn't process defined exclusions in case of custom configuration by abudevich · Pull Request #4597 · vividus-framework/vividus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Visual step doesn't process defined exclusions in case of custom configuration #4597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

abudevich
Copy link
Contributor
@abudevich abudevich commented Nov 23, 2023

Scenario for reproducing:
Given I am on page with URL https://www.google.com/
When I change context to element located xpath(//*[@id="CXQnmb"])
When I compare_against baseline with name ${profile}-${resolution}-test ignoring:
|ELEMENT |
|By.xpath(//*[@id="uMousc"])|
using screenshot configuration:
|shootingStrategy|
|SIMPLE |

Before changes:
before

After changes:
after

@abudevich abudevich requested a review from a team as a code owner November 23, 2023 14:57
Copy link
codecov bot commented Nov 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6308daf) 97.40% compared to head (41b01ad) 97.39%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4597      +/-   ##
============================================
- Coverage     97.40%   97.39%   -0.02%     
- Complexity     6491     6726     +235     
============================================
  Files           906      906              
  Lines         18667    18671       +4     
  Branches       1240     1241       +1     
============================================
+ Hits          18182    18184       +2     
- Misses          379      380       +1     
- Partials        106      107       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -122,6 +124,10 @@ private AShot createAShot(String strategyName)
String.format("Unknown shooting strategy with the name: %s", strategyName));
};
shootingStrategy = decorateWithScrollbarHiding(shootingStrategy, Optional.empty());
shootingStrategy = Objects.isNull(screenshotParameters)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
shootingStrategy = Objects.isNull(screenshotParameters)
shootingStrategy = screenshotParameters == null

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@abudevich abudevich force-pushed the contributor_visual branch 5 times, most recently from c6dc5cb to 41b01ad Compare November 27, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0