-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add playwright tests fixtures
- Loading branch information
1 parent
683f62b
commit 5717e70
Showing
7 changed files
with
342 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
<!DOCTYPE model> | ||
<Option type="Map"> | ||
<Option type="Map" name="children"> | ||
<Option type="Map" name="native:extractbylocation_1"> | ||
<Option type="bool" value="true" name="active"/> | ||
<Option name="alg_config"/> | ||
<Option type="QString" value="native:extractbylocation" name="alg_id"/> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="Map" name="comment"> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="QString" value="" name="component_description"/> | ||
<Option type="double" value="60" name="component_height"/> | ||
<Option type="double" value="320" name="component_pos_x"/> | ||
<Option type="double" value="115" name="component_pos_y"/> | ||
<Option type="double" value="100" name="component_width"/> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
</Option> | ||
<Option type="QString" value="Extract by location" name="component_description"/> | ||
<Option type="double" value="30" name="component_height"/> | ||
<Option type="double" value="646.1772151898734" name="component_pos_x"/> | ||
<Option type="double" value="202.53164556962025" name="component_pos_y"/> | ||
<Option type="double" value="200" name="component_width"/> | ||
<Option name="dependencies"/> | ||
<Option type="QString" value="native:extractbylocation_1" name="id"/> | ||
<Option type="Map" name="outputs"> | ||
<Option type="Map" name="Flooded Buildings"> | ||
<Option type="QString" value="native:extractbylocation_1" name="child_id"/> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="Map" name="comment"> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="QString" value="" name="component_description"/> | ||
<Option type="double" value="60" name="component_height"/> | ||
<Option type="double" value="0" name="component_pos_x"/> | ||
<Option type="double" value="0" name="component_pos_y"/> | ||
<Option type="double" value="100" name="component_width"/> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
</Option> | ||
<Option type="QString" value="Flooded Buildings" name="component_description"/> | ||
<Option type="double" value="30" name="component_height"/> | ||
<Option type="double" value="674.8354430379746" name="component_pos_x"/> | ||
<Option type="double" value="353.253164556962" name="component_pos_y"/> | ||
<Option type="double" value="200" name="component_width"/> | ||
<Option type="invalid" name="default_value"/> | ||
<Option type="bool" value="false" name="mandatory"/> | ||
<Option type="QString" value="Flooded Buildings" name="name"/> | ||
<Option type="QString" value="OUTPUT" name="output_name"/> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
</Option> | ||
</Option> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
<Option type="Map" name="params"> | ||
<Option type="List" name="INPUT"> | ||
<Option type="Map"> | ||
<Option type="QString" value="Buildings" name="parameter_name"/> | ||
<Option type="int" value="0" name="source"/> | ||
</Option> | ||
</Option> | ||
<Option type="List" name="INTERSECT"> | ||
<Option type="Map"> | ||
<Option type="QString" value="Flood" name="parameter_name"/> | ||
<Option type="int" value="0" name="source"/> | ||
</Option> | ||
</Option> | ||
<Option type="List" name="PREDICATE"> | ||
<Option type="Map"> | ||
<Option type="int" value="2" name="source"/> | ||
<Option type="List" name="static_value"> | ||
<Option type="int" value="0"/> | ||
</Option> | ||
</Option> | ||
</Option> | ||
</Option> | ||
</Option> | ||
</Option> | ||
<Option type="Map" name="designerParameterValues"> | ||
<Option type="QString" value="building_93e2cb82_5b7d_46b0_8bd4_4e9982619114" name="Buildings"/> | ||
<Option type="QString" value="flood_373420da_4a91_450c_89a2_86967b0e3e02" name="Flood"/> | ||
<Option type="bool" value="true" name="VERBOSE_LOG"/> | ||
<Option type="QgsProcessingOutputLayerDefinition" name="native:extractbylocation_1:Flooded Buildings"> | ||
<Option type="Map"> | ||
<Option type="Map" name="create_options"> | ||
<Option type="QString" value="System" name="fileEncoding"/> | ||
</Option> | ||
<Option type="Map" name="sink"> | ||
<Option type="bool" value="true" name="active"/> | ||
<Option type="int" value="1" name="type"/> | ||
<Option type="QString" value="TEMPORARY_OUTPUT" name="val"/> | ||
</Option> | ||
</Option> | ||
</Option> | ||
</Option> | ||
<Option name="groupBoxes"/> | ||
<Option name="help"/> | ||
<Option name="modelVariables"/> | ||
<Option type="QString" value="Tim" name="model_group"/> | ||
<Option type="QString" value="Flood on buildings summary" name="model_name"/> | ||
<Option type="Map" name="parameterDefinitions"> | ||
<Option type="Map" name="Buildings"> | ||
<Option type="List" name="data_types"> | ||
<Option type="int" value="2"/> | ||
</Option> | ||
<Option type="invalid" name="default"/> | ||
<Option type="invalid" name="defaultGui"/> | ||
<Option type="QString" value="Buildings" name="description"/> | ||
<Option type="int" value="0" name="flags"/> | ||
<Option type="QString" value="" name="help"/> | ||
<Option name="metadata"/> | ||
<Option type="QString" value="Buildings" name="name"/> | ||
<Option type="QString" value="vector" name="parameter_type"/> | ||
</Option> | ||
<Option type="Map" name="Flood"> | ||
<Option type="List" name="data_types"> | ||
<Option type="int" value="2"/> | ||
</Option> | ||
<Option type="invalid" name="default"/> | ||
<Option type="invalid" name="defaultGui"/> | ||
<Option type="QString" value="Flood" name="description"/> | ||
<Option type="int" value="0" name="flags"/> | ||
<Option type="QString" value="" name="help"/> | ||
<Option name="metadata"/> | ||
<Option type="QString" value="Flood" name="name"/> | ||
<Option type="QString" value="vector" name="parameter_type"/> | ||
</Option> | ||
<Option type="Map" name="native:extractbylocation_1:Flooded Buildings"> | ||
<Option type="bool" value="true" name="create_by_default"/> | ||
<Option type="int" value="-1" name="data_type"/> | ||
<Option type="invalid" name="default"/> | ||
<Option type="invalid" name="defaultGui"/> | ||
<Option type="QString" value="Flooded Buildings" name="description"/> | ||
<Option type="int" value="0" name="flags"/> | ||
<Option type="QString" value="" name="help"/> | ||
<Option name="metadata"/> | ||
<Option type="QString" value="native:extractbylocation_1:Flooded Buildings" name="name"/> | ||
<Option type="QString" value="sink" name="parameter_type"/> | ||
<Option type="bool" value="false" name="supports_append"/> | ||
<Option type="bool" value="true" name="supports_non_file_outputs"/> | ||
</Option> | ||
</Option> | ||
<Option name="parameterOrder"/> | ||
<Option type="Map" name="parameters"> | ||
<Option type="Map" name="Buildings"> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="Map" name="comment"> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="QString" value="" name="component_description"/> | ||
<Option type="double" value="60" name="component_height"/> | ||
<Option type="double" value="763.8481012658228" name="component_pos_x"/> | ||
<Option type="double" value="161.58227848101265" name="component_pos_y"/> | ||
<Option type="double" value="100" name="component_width"/> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
</Option> | ||
<Option type="QString" value="Buildings" name="component_description"/> | ||
<Option type="double" value="38.50632911392405" name="component_height"/> | ||
<Option type="double" value="860.354430379747" name="component_pos_x"/> | ||
<Option type="double" value="77.16455696202532" name="component_pos_y"/> | ||
<Option type="double" value="200" name="component_width"/> | ||
<Option type="QString" value="Buildings" name="name"/> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
</Option> | ||
<Option type="Map" name="Flood"> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="Map" name="comment"> | ||
<Option type="QString" value="" name="color"/> | ||
<Option type="QString" value="" name="component_description"/> | ||
<Option type="double" value="60" name="component_height"/> | ||
<Option type="double" value="453.97468354430384" name="component_pos_x"/> | ||
<Option type="double" value="142.13924050632912" name="component_pos_y"/> | ||
<Option type="double" value="100" name="component_width"/> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
</Option> | ||
<Option type="QString" value="Flood" name="component_description"/> | ||
<Option type="double" value="37.29113924050631" name="component_height"/> | ||
<Option type="double" value="492.1518987341773" name="component_pos_x"/> | ||
<Option type="double" value="77.77215189873418" name="component_pos_y"/> | ||
<Option type="double" value="200" name="component_width"/> | ||
<Option type="QString" value="Flood" name="name"/> | ||
<Option type="bool" value="true" name="outputs_collapsed"/> | ||
<Option type="bool" value="true" name="parameters_collapsed"/> | ||
</Option> | ||
</Option> | ||
</Option> |
126 changes: 126 additions & 0 deletions
126
playwright/ci-test/tests/fixtures/my-vapour-pressure.qlr
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,126 @@ | ||
<!DOCTYPE qgis-layer-definition> | ||
<qlr> | ||
<layer-tree-group checked="Qt::Checked" name="" expanded="1"> | ||
<customproperties> | ||
<Option/> | ||
</customproperties> | ||
<layer-tree-layer providerKey="wms" source="crs=EPSG:4326&dpiMode=7&format=image/png&layers=avp05c&styles&url=https://maps.kartoza.com/geoserver/kartoza/wms" id="Actual_Vapour_Pressure_May_6d80e1d7_af1c_4997_9416_4412aa5c69ce" legend_exp="" checked="Qt::Checked" patch_size="-1,-1" legend_split_behavior="0" name="Actual Vapour Pressure May" expanded="1"> | ||
<customproperties> | ||
<Option/> | ||
</customproperties> | ||
</layer-tree-layer> | ||
</layer-tree-group> | ||
<maplayers> | ||
<maplayer refreshOnNotifyMessage="" autoRefreshTime="0" styleCategories="AllStyleCategories" maxScale="0" autoRefreshEnabled="0" minScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0" refreshOnNotifyEnabled="0" legendPlaceholderImage=""> | ||
<extent> | ||
<xmin>16.45833333333424875</xmin> | ||
<ymin>-34.84166666666634882</ymin> | ||
<xmax>32.90833333336715327</xmax> | ||
<ymax>-22.14166666664094762</ymax> | ||
</extent> | ||
<wgs84extent> | ||
<xmin>16.45833333333424875</xmin> | ||
<ymin>-34.84166666666634882</ymin> | ||
<xmax>32.90833333336715327</xmax> | ||
<ymax>-22.14166666664094762</ymax> | ||
</wgs84extent> | ||
<id>Actual_Vapour_Pressure_May_6d80e1d7_af1c_4997_9416_4412aa5c69ce</id> | ||
<datasource>crs=EPSG:4326&dpiMode=7&format=image/png&layers=avp05c&styles&url=https://maps.kartoza.com/geoserver/kartoza/wms</datasource> | ||
<keywordList> | ||
<value></value> | ||
</keywordList> | ||
<layername>Actual Vapour Pressure May</layername> | ||
<srs> | ||
<spatialrefsys> | ||
<wkt>GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]]</wkt> | ||
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4> | ||
<srsid>3452</srsid> | ||
<srid>4326</srid> | ||
<authid>EPSG:4326</authid> | ||
<description>WGS 84</description> | ||
<projectionacronym>longlat</projectionacronym> | ||
<ellipsoidacronym>EPSG:7030</ellipsoidacronym> | ||
<geographicflag>true</geographicflag> | ||
</spatialrefsys> | ||
</srs> | ||
<resourceMetadata> | ||
<identifier></identifier> | ||
<parentidentifier></parentidentifier> | ||
<language></language> | ||
<type></type> | ||
<title></title> | ||
<abstract></abstract> | ||
<links/> | ||
<fees></fees> | ||
<encoding></encoding> | ||
<crs> | ||
<spatialrefsys> | ||
<wkt></wkt> | ||
<proj4></proj4> | ||
<srsid>0</srsid> | ||
<srid>0</srid> | ||
<authid></authid> | ||
<description></description> | ||
<projectionacronym></projectionacronym> | ||
<ellipsoidacronym></ellipsoidacronym> | ||
<geographicflag>false</geographicflag> | ||
</spatialrefsys> | ||
</crs> | ||
<extent/> | ||
</resourceMetadata> | ||
<provider>wms</provider> | ||
<noData> | ||
<noDataList useSrcNoData="0" bandNo="1"/> | ||
</noData> | ||
<map-layer-style-manager current="default"> | ||
<map-layer-style name="default"/> | ||
</map-layer-style-manager> | ||
<metadataUrls/> | ||
<flags> | ||
<Identifiable>1</Identifiable> | ||
<Removable>1</Removable> | ||
<Searchable>1</Searchable> | ||
<Private>0</Private> | ||
</flags> | ||
<temporal fetchMode="0" mode="0" enabled="0"> | ||
<fixedRange> | ||
<start></start> | ||
<end></end> | ||
</fixedRange> | ||
</temporal> | ||
<customproperties> | ||
<Option type="Map"> | ||
<Option value="Html" type="QString" name="identify/format"/> | ||
</Option> | ||
</customproperties> | ||
<pipe-data-defined-properties> | ||
<Option type="Map"> | ||
<Option value="" type="QString" name="name"/> | ||
<Option name="properties"/> | ||
<Option value="collection" type="QString" name="type"/> | ||
</Option> | ||
</pipe-data-defined-properties> | ||
<pipe> | ||
<provider> | ||
<resampling zoomedInResamplingMethod="nearestNeighbour" zoomedOutResamplingMethod="nearestNeighbour" maxOversampling="2" enabled="false"/> | ||
</provider> | ||
<rasterrenderer opacity="1" alphaBand="-1" type="singlebandcolordata" band="1" nodataColor=""> | ||
<rasterTransparency/> | ||
<minMaxOrigin> | ||
<limits>None</limits> | ||
<extent>WholeRaster</extent> | ||
<statAccuracy>Estimated</statAccuracy> | ||
<cumulativeCutLower>0.02</cumulativeCutLower> | ||
<cumulativeCutUpper>0.98</cumulativeCutUpper> | ||
<stdDevFactor>2</stdDevFactor> | ||
</minMaxOrigin> | ||
</rasterrenderer> | ||
<brightnesscontrast contrast="0" gamma="1" brightness="0"/> | ||
<huesaturation colorizeGreen="128" saturation="0" colorizeRed="255" grayscaleMode="0" colorizeOn="0" invertColors="0" colorizeBlue="128" colorizeStrength="100"/> | ||
<rasterresampler maxOversampling="2"/> | ||
<resamplingStage>resamplingFilter</resamplingStage> | ||
</pipe> | ||
<blendMode>0</blendMode> | ||
</maplayer> | ||
</maplayers> | ||
</qlr> |
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,27 @@ | ||
<!DOCTYPE qgis_style> | ||
<qgis_style version="2"> | ||
<symbols> | ||
<symbol name="CustomPoint" type="marker" alpha="1" clip_to_extent="1" force_rhr="0"> | ||
<layer pass="0" class="SimpleMarker" enabled="1"> | ||
<!-- Marker properties --> | ||
<prop k="name" v="ellipse"/> | ||
<prop k="color" v="255,0,0,255"/> | ||
<prop k="size" v="5"/> | ||
<prop k="angle" v="0"/> | ||
<prop k="horizontal_anchor_point" v="1"/> | ||
<prop k="vertical_anchor_point" v="1"/> | ||
<prop k="offset" v="0,0"/> | ||
<prop k="offset_unit" v="MM"/> | ||
<prop k="outline_color" v="0,0,0,255"/> | ||
<prop k="outline_width" v="0"/> | ||
<prop k="outline_width_unit" v="MM"/> | ||
<prop k="outline_style" v="solid"/> | ||
</layer> | ||
</symbol> | ||
</symbols> | ||
<colorramps/> | ||
<textformats/> | ||
<labelsettings/> | ||
<legendpatchshapes/> | ||
<symbols3d/> | ||
</qgis_style> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
file content |
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.