-
Notifications
You must be signed in to change notification settings - Fork 25
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
πΆ Add Layer Test Suite π§ͺ #1196
Conversation
Screen.Recording.2024-03-26.at.15.59.20.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on a few template layers. looks good to me!
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All working for me @RobAndrewHurst - love it!
So so good!
πΆ Add Layer Test Suite π§ͺ
π Description
This pull request introduces a new test suite for the layers in a mapview. The purpose of this test suite is to ensure the integrity and functionality of each layer within the mapview. This will hit queries and templates belong to a layer.
π οΈ Changes
layerTest
that takes amapview
object as a parameter.layerTest
function, a test suite is created using thedescribe
function from thecodi
test library.mapview.layers
object using afor...in
loop.it
function.infoj
property.${mapp.host}/api/query
with the appropriate query parameters.id
property using theassertTrue
function.id
, the test case retrieves the corresponding location usingmapp.location.get
with the layer and location ID.remove
method.β¨ Benefits
π Testing
Please let me know if you have any questions or if there are any additional changes required for this pull request. π