-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #677 from justin-bits/test/refactor-selectors
test(cypress): Splits selectors into multiple files
- Loading branch information
Showing
40 changed files
with
4,331 additions
and
4,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+8.37 KB
...risons/regression-tests/layers-dialog/feature-list.spec.js/After go to.snap.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 added
BIN
+6.56 KB
...isons/regression-tests/layers-dialog/feature-list.spec.js/Before go to.snap.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 modified
BIN
-305 Bytes
(99%)
...ess/comparisons/smoke-tests/load-data-file-kml.spec.js/features loaded.snap.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 modified
BIN
+37.9 KB
(130%)
...omparisons/smoke-tests/load-state-file-url-kml.spec.js/features loaded.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
273 changes: 273 additions & 0 deletions
273
cypress/fixtures/smoke-tests/toolbar-right/test-state_state.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,273 @@ | ||
<state xmlns="http://www.bit-sys.com/mist/state/v4" source="OpenSphere (Unknown Version)" version="v4"> | ||
<title>load-state-file-test-state</title> | ||
<map> | ||
<kml:Camera xmlns:kml="http://www.opengis.net/kml/2.2"> | ||
<kml:longitude>-104.762689220413</kml:longitude> | ||
<kml:latitude>39.684036153011</kml:latitude> | ||
<kml:altitude>40406.39413085028</kml:altitude> | ||
<kml:heading>359.9999999999991</kml:heading> | ||
<kml:tilt>0.1465133313096203</kml:tilt> | ||
<kml:roll>0</kml:roll> | ||
<kml:altitudeMode>clampToGround</kml:altitudeMode> | ||
</kml:Camera> | ||
<projection>Equirectangular</projection> | ||
</map> | ||
<dataLayers type="data"> | ||
<layer type="ARCFEATURE"> | ||
<id>state#ghn7ebhnrjq2-depdqf9ttkbk-3769575637#features</id> | ||
<layerType>Tile and Feature Groups</layerType> | ||
<url>https://ags.auroragov.org/aurora/rest/services/OpenData/MapServer/3/query</url> | ||
<params> | ||
<f>json</f> | ||
<inSR>4326</inSR> | ||
<outSR>4326</outSR> | ||
<outFields>*</outFields> | ||
<geometryType>esriGeometryPolygon</geometryType> | ||
<geometry>{geom}</geometry> | ||
<returnIdsOnly>true</returnIdsOnly> | ||
</params> | ||
<usePost>true</usePost> | ||
<title>Police Stations</title> | ||
<spatial>true</spatial> | ||
<temporal>false</temporal> | ||
<filter>true</filter> | ||
<load>true</load> | ||
<dataProvider>load-state-file-test-state</dataProvider> | ||
<visible>true</visible> | ||
<minResolution>0</minResolution> | ||
<maxResolution>Infinity</maxResolution> | ||
<arrowSize>100</arrowSize> | ||
<arrowUnits>m</arrowUnits> | ||
<lobColumnLength>1000</lobColumnLength> | ||
<lobLength>1000</lobLength> | ||
<lobLengthType>manual</lobLengthType> | ||
<lobLengthColumn></lobLengthColumn> | ||
<lobLengthError>1</lobLengthError> | ||
<lobLengthErrorColumn></lobLengthErrorColumn> | ||
<lobLengthErrorUnits>m</lobLengthErrorUnits> | ||
<lobLengthUnits>m</lobLengthUnits> | ||
<lobBearingColumn></lobBearingColumn> | ||
<lobBearingError>1</lobBearingError> | ||
<lobBearingErrorColumn></lobBearingErrorColumn> | ||
<rotationColumn></rotationColumn> | ||
<showLabels>false</showLabels> | ||
<shapeName>Default</shapeName> | ||
<centerShapeName>Point</centerShapeName> | ||
<animate>false</animate> | ||
<altitudeMode>absolute</altitudeMode> | ||
<refreshRate>0</refreshRate> | ||
<exportEnabled>true</exportEnabled> | ||
<basicFeatureStyle> | ||
<pointOpacity>255</pointOpacity> | ||
<pointColor>0xFFFFFF</pointColor> | ||
<pointSize>6</pointSize> | ||
<labelSize>14</labelSize> | ||
</basicFeatureStyle> | ||
</layer> | ||
<layer type="ARCFEATURE"> | ||
<id>state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#features</id> | ||
<layerType>Tile and Feature Groups</layerType> | ||
<url>https://ags.auroragov.org/aurora/rest/services/OpenData/MapServer/234/query</url> | ||
<params> | ||
<f>json</f> | ||
<inSR>4326</inSR> | ||
<outSR>4326</outSR> | ||
<outFields>*</outFields> | ||
<geometryType>esriGeometryPolygon</geometryType> | ||
<geometry>{geom}</geometry> | ||
<returnIdsOnly>true</returnIdsOnly> | ||
</params> | ||
<usePost>true</usePost> | ||
<title>Fire Hydrants</title> | ||
<spatial>true</spatial> | ||
<temporal>false</temporal> | ||
<filter>true</filter> | ||
<load>true</load> | ||
<dataProvider>load-state-file-test-state</dataProvider> | ||
<visible>true</visible> | ||
<minResolution>0</minResolution> | ||
<maxResolution>Infinity</maxResolution> | ||
<arrowSize>100</arrowSize> | ||
<arrowUnits>m</arrowUnits> | ||
<lobColumnLength>1000</lobColumnLength> | ||
<lobLength>1000</lobLength> | ||
<lobLengthType>manual</lobLengthType> | ||
<lobLengthColumn></lobLengthColumn> | ||
<lobLengthError>1</lobLengthError> | ||
<lobLengthErrorColumn></lobLengthErrorColumn> | ||
<lobLengthErrorUnits>m</lobLengthErrorUnits> | ||
<lobLengthUnits>m</lobLengthUnits> | ||
<lobBearingColumn></lobBearingColumn> | ||
<lobBearingError>1</lobBearingError> | ||
<lobBearingErrorColumn></lobBearingErrorColumn> | ||
<rotationColumn></rotationColumn> | ||
<showLabels>false</showLabels> | ||
<shapeName>Default</shapeName> | ||
<centerShapeName>Point</centerShapeName> | ||
<animate>false</animate> | ||
<altitudeMode>absolute</altitudeMode> | ||
<refreshRate>0</refreshRate> | ||
<exportEnabled>true</exportEnabled> | ||
<basicFeatureStyle> | ||
<pointOpacity>255</pointOpacity> | ||
<pointColor>0xFFFFFF</pointColor> | ||
<pointSize>6</pointSize> | ||
<labelSize>14</labelSize> | ||
</basicFeatureStyle> | ||
</layer> | ||
<layer type="ARCTILE"> | ||
<id>state#ghn7ebhnrjq2-depdqf9ttkbk-3769575637#tiles</id> | ||
<layerType>Tile and Feature Groups</layerType> | ||
<providedBy>Aurora ArcGIS Server</providedBy> | ||
<animate>false</animate> | ||
<url>https://ags.auroragov.org/aurora/rest/services/OpenData/MapServer</url> | ||
<params> | ||
<layers>show: 3</layers> | ||
</params> | ||
<title>Police Stations</title> | ||
<colorControl>colorControl:pickerReset</colorControl> | ||
<baseColor>0xFFFFFF</baseColor> | ||
<urls> | ||
<url>https://ags.auroragov.org/aurora/rest/services/OpenData/MapServer</url> | ||
</urls> | ||
<visible>true</visible> | ||
<contrast>0</contrast> | ||
<brightness>0</brightness> | ||
<saturation>1</saturation> | ||
<colorize>false</colorize> | ||
<maxZoom>25</maxZoom> | ||
<minZoom>2</minZoom> | ||
<refreshRate>0</refreshRate> | ||
<exportEnabled>true</exportEnabled> | ||
<dataProvider>load-state-file-test-state</dataProvider> | ||
<basicFeatureStyle> | ||
<pointOpacity>255</pointOpacity> | ||
<pointColor>0xFFFFFF</pointColor> | ||
</basicFeatureStyle> | ||
</layer> | ||
<layer type="ARCTILE"> | ||
<id>state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#tiles</id> | ||
<layerType>Tile and Feature Groups</layerType> | ||
<providedBy>Aurora ArcGIS Server</providedBy> | ||
<animate>false</animate> | ||
<url>https://ags.auroragov.org/aurora/rest/services/OpenData/MapServer</url> | ||
<params> | ||
<layers>show: 234</layers> | ||
</params> | ||
<title>Fire Hydrants</title> | ||
<colorControl>colorControl:pickerReset</colorControl> | ||
<baseColor>0xFFFFFF</baseColor> | ||
<urls> | ||
<url>https://ags.auroragov.org/aurora/rest/services/OpenData/MapServer</url> | ||
</urls> | ||
<visible>true</visible> | ||
<contrast>0</contrast> | ||
<brightness>0</brightness> | ||
<saturation>1</saturation> | ||
<colorize>false</colorize> | ||
<maxZoom>25</maxZoom> | ||
<minZoom>2</minZoom> | ||
<refreshRate>0</refreshRate> | ||
<exportEnabled>true</exportEnabled> | ||
<dataProvider>load-state-file-test-state</dataProvider> | ||
<basicFeatureStyle> | ||
<pointOpacity>255</pointOpacity> | ||
<pointColor>0xFFFFFF</pointColor> | ||
</basicFeatureStyle> | ||
</layer> | ||
</dataLayers> | ||
<exclusionAreas> | ||
<exclusionArea id="state#ghn7ebhnrjq2-area_vav6hrp4uoq3" title="Aurora Hydrant Exclude"> | ||
<kml:Polygon xmlns:kml="http://www.opengis.net/kml/2.2"> | ||
<kml:outerBoundaryIs> | ||
<kml:LinearRing> | ||
<kml:coordinates>-104.86673846853317,39.690182046896496 -104.86673846853317,39.704755563026254 -104.6384463523347,39.704755563026254 -104.6384463523347,39.690182046896496 -104.86673846853317,39.690182046896496</kml:coordinates> | ||
</kml:LinearRing> | ||
</kml:outerBoundaryIs> | ||
</kml:Polygon> | ||
<layer>state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#features</layer> | ||
</exclusionArea> | ||
<exclusionArea id="state#ghn7ebhnrjq2-area_jj3494tspi0n" title="Aurora Police Exclude"> | ||
<kml:Polygon xmlns:kml="http://www.opengis.net/kml/2.2"> | ||
<kml:outerBoundaryIs> | ||
<kml:LinearRing> | ||
<kml:coordinates>-104.83642564896452,39.73758771113435 -104.83642564896452,39.76152069521899 -104.82702880692463,39.76152069521899 -104.82702880692463,39.73758771113435 -104.83642564896452,39.73758771113435</kml:coordinates> | ||
</kml:LinearRing> | ||
</kml:outerBoundaryIs> | ||
</kml:Polygon> | ||
<layer>state#ghn7ebhnrjq2-depdqf9ttkbk-3769575637#features</layer> | ||
</exclusionArea> | ||
</exclusionAreas> | ||
<featureActions xmlns:ogc="http://www.opengis.net/ogc"> | ||
<featureAction id="state#ghn7ebhnrjq2-xvr6qndkfrhp" active="true" title="Private Hydrant" description="" type="state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#features" typeHint="exact" tags="" children=""> | ||
<filter> | ||
<ogc:And namehint="Private Hydrant"> | ||
<ogc:PropertyIsEqualTo> | ||
<ogc:PropertyName>OWNER</ogc:PropertyName> | ||
<ogc:Literal><![CDATA[Private]]></ogc:Literal> | ||
</ogc:PropertyIsEqualTo> | ||
</ogc:And> | ||
</filter> | ||
<actions> | ||
<featureStyleAction> | ||
<color>#ffffff</color> | ||
<opacity>1</opacity> | ||
<size>3</size> | ||
<shape>Icon</shape> | ||
<iconSrc>http://maps.google.com/mapfiles/kml/paddle/purple-stars.png</iconSrc> | ||
<centerShape>Point</centerShape> | ||
<showRotation>true</showRotation> | ||
<rotationColumn>false</rotationColumn> | ||
</featureStyleAction> | ||
</actions> | ||
</featureAction> | ||
</featureActions> | ||
<filters xmlns:ogc="http://www.opengis.net/ogc"> | ||
<filter id="state#ghn7ebhnrjq2-fuz6f0gdzjvv" active="true" filterType="single" title="East Hydrants" description="" type="state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#features" match="AND"> | ||
<ogc:And namehint="East Hydrants"> | ||
<ogc:PropertyIsEqualTo> | ||
<ogc:PropertyName>DIRECTION</ogc:PropertyName> | ||
<ogc:Literal><![CDATA[E]]></ogc:Literal> | ||
</ogc:PropertyIsEqualTo> | ||
</ogc:And> | ||
</filter> | ||
</filters> | ||
<queryAreas> | ||
<queryArea id="state#ghn7ebhnrjq2-area_vt78stc771bb" title="Aurora Hydrant Include"> | ||
<description></description> | ||
<tags></tags> | ||
<kml:Polygon xmlns:kml="http://www.opengis.net/kml/2.2"> | ||
<kml:outerBoundaryIs> | ||
<kml:LinearRing> | ||
<kml:coordinates>-104.82165729127,39.61403121471881 -104.82165729127,39.77515550513715 -104.66969363246358,39.77515550513715 -104.66969363246358,39.61403121471881 -104.82165729127,39.61403121471881</kml:coordinates> | ||
</kml:LinearRing> | ||
</kml:outerBoundaryIs> | ||
</kml:Polygon> | ||
<layer>state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#features</layer> | ||
</queryArea> | ||
<queryArea id="state#ghn7ebhnrjq2-area_1k3s4yjthpe9" title="Aurora Police Include"> | ||
<description></description> | ||
<tags></tags> | ||
<kml:Polygon xmlns:kml="http://www.opengis.net/kml/2.2"> | ||
<kml:outerBoundaryIs> | ||
<kml:LinearRing> | ||
<kml:coordinates>-104.84757476992185,39.68512152332343 -104.84757476992185,39.75605766958 -104.80108188783922,39.75605766958 -104.80108188783922,39.68512152332343 -104.84757476992185,39.68512152332343</kml:coordinates> | ||
</kml:LinearRing> | ||
</kml:outerBoundaryIs> | ||
</kml:Polygon> | ||
<layer>state#ghn7ebhnrjq2-depdqf9ttkbk-3769575637#features</layer> | ||
</queryArea> | ||
</queryAreas> | ||
<queryEntries> | ||
<queryEntry layerId="state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#features" areaId="state#ghn7ebhnrjq2-area_vav6hrp4uoq3" filterId="state#ghn7ebhnrjq2-fuz6f0gdzjvv" includeArea="false" filterGroup="true"/> | ||
<queryEntry layerId="state#ghn7ebhnrjq2-depdqf9ttkbk-1904757301#features" areaId="state#ghn7ebhnrjq2-area_vt78stc771bb" filterId="state#ghn7ebhnrjq2-fuz6f0gdzjvv" includeArea="true" filterGroup="true"/> | ||
<queryEntry layerId="state#ghn7ebhnrjq2-depdqf9ttkbk-3769575637#features" areaId="state#ghn7ebhnrjq2-area_jj3494tspi0n" includeArea="false" filterGroup="true"/> | ||
<queryEntry layerId="state#ghn7ebhnrjq2-depdqf9ttkbk-3769575637#features" areaId="state#ghn7ebhnrjq2-area_1k3s4yjthpe9" includeArea="true" filterGroup="true"/> | ||
</queryEntries> | ||
<time> | ||
<interval>2019-01-07T00:00:00Z/2019-01-08T00:00:00Z</interval> | ||
<current>2019-01-07T00:00:00Z/2019-01-08T00:00:00Z</current> | ||
<advance>PT30M</advance> | ||
<duration>day</duration> | ||
</time> | ||
</state> |
Oops, something went wrong.