MapColonies / MapColonies/polygon-parts-manager
failing test
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
a test in `polygonParts.spec.ts` under the path:
> polygonParts -->
> Happy Path -->
> POST /polygonParts/:polygonPartsEntityName/find -->
> clip result enabled (shouldClip) -->
> input features are polygon geometries -->
> should return 200 status code and return clipped polygon parts when feature collection features (2 continuous features) contain polygon parts
produced an error when asserting the response body
**To Reproduce**
Steps to reproduce the behavior:
1. run test multiple times
**Expected behavior**
test should pass
**Additional context**
the test uses a random polygon parts seed. it may take an unknown amount of re-runs.
it was noticed that the response/requested geometry included a perfect zero (0) coordinate,
this might be related to the issue
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with polygonParts.spec.ts and the nested POST /polygonParts/:polygonPartsEntityName/find test for clipped polygon parts. Run the test repeatedly using its random polygon-parts seed and inspect the response-body assertion when it fails, including cases with a zero coordinate. Done means the test reliably passes and returns status 200 with the expected clipped polygon parts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100