Skip to content

Commit

Permalink
Merge pull request #583 from justin-bits/fix/image-comparison
Browse files Browse the repository at this point in the history
test(cypress): Increases comparison wait to 2500, updates to images
  • Loading branch information
wallw-teal authored May 31, 2019
2 parents f8fa6d5 + bcd2542 commit 8126df3
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 18 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5975,18 +5975,10 @@
<Style>
<Name>ACLED_Event:ACLED Event</Name>
<Title>ACLED Event</Title>
<LegendURL width="20" height="20">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://gdp-geoserver.dev.dev.east.paas.geointservices.io/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=OSDS%3AACLED_Event"/>
</LegendURL>
</Style>
<Style>
<Name>ACLED_Event:ACLED Event</Name>
<Title>ACLED Event</Title>
<LegendURL width="20" height="20">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://gdp-geoserver.dev.dev.east.paas.geointservices.io/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=OSDS%3AACLED_Event&amp;style=ACLED%20Event"/>
</LegendURL>
</Style>
</Layer>
<Layer queryable="1" opaque="0">
Expand All @@ -6011,18 +6003,10 @@
<Style>
<Name>VIIRS_Detection:VIIRS Detection</Name>
<Title>VIIRS Detection Event</Title>
<LegendURL width="20" height="20">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://gdp-geoserver.dev.dev.east.paas.geointservices.io/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=OSDS%3AVIIRS_Detection"/>
</LegendURL>
</Style>
<Style>
<Name>VIIRS_Detection:VIIRS Detection</Name>
<Title>VIIRS Detection Event</Title>
<LegendURL width="20" height="20">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://gdp-geoserver.dev.dev.east.paas.geointservices.io/geoserver/ows?service=WMS&amp;request=GetLegendGraphic&amp;format=image%2Fpng&amp;width=20&amp;height=20&amp;layer=OSDS%3AVIIRS_Detection&amp;style=VIIRS%20Detection"/>
</LegendURL>
</Style>
</Layer>
</Layer>
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ addMatchImageSnapshotCommand({
});

Cypress.Commands.add('imageComparison', function(name) {
cy.wait(2000);
cy.wait(2500);
cy.matchImageSnapshot(name);
});

Expand Down

0 comments on commit 8126df3

Please sign in to comment.