Comments (5)
@aayushgauba I found the problem, basically, you need to go through the integration test locally and try to fix them all because of the change on the api side. Take a look at this commit I made for you, this fix the top.cy.js
integration test.
This seems tedious when you already done the developement but tests fail, actually, if you practice TDD, you wrote/modify your integration test first, then write the code, it goes smoothly
![image](https://private-user-images.githubusercontent.com/5744708/258292498-40778371-2971-4618-ab52-e799fc34afc6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDkwNjI4MDgsIm5iZiI6MTcwOTA2MjUwOCwicGF0aCI6Ii81NzQ0NzA4LzI1ODI5MjQ5OC00MDc3ODM3MS0yOTcxLTQ2MTgtYWI1Mi1lNzk5ZmMzNGFmYzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMjdUMTkzNTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTJkODEwMjBlN2ZiYjAwOGMyODliMTg4YjlmZGM3YjU3NTEyZTkyZGNkODIyOTgxZjY5NzZmZmYwZmI0MjZhOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.tXqkmtd9CTMtNcLHxo4Hxfsugv-wALRY8ErsrkvrOmY)
from treetracker-web-map-client.
@aayushgauba for this one, did you try to run the integration test locally, and how's the result.
from treetracker-web-map-client.
The problem is with some cwm code, it is trying to fetch data from the server but that request isn't mocked. This was a isuse on the cwm
branch as well but has been fixed by this pr #1688. However this pr is not yet included in the current v2
version.
The fix is on this commit
from treetracker-web-map-client.
@dadiorchen it fails on a 404 error it seems like, however not too sure
from treetracker-web-map-client.
@RubenSmn thank you!
from treetracker-web-map-client.
Related Issues (20)
- Fix integration test for `v2` branch HOT 2
- Wrong wallet case
- UX design for CWM
- Analyze the outage of the service
- Go through v2 and test
- Speed up our cypress+next.js test HOT 3
- Spec for v2
- The web map release the demo api
- Use turborepo to speed up the development HOT 1
- dev domain ssl problem
- Deploy to dev.treetracker.org by `Deploy version to propreate channel in any environment` is broken HOT 2
- Display the user name when hoving on the avatar icon. HOT 1
- Deploy the postMessage to prod
- Can not jump to bounds on the first view of the `top` page HOT 2
- Optimize the resource consuming of the next.js HOT 1
- Move resources from bundle to public/static folder
- Visualize the steps of wallet api integrate with keycloak.
- Organize the github action in this project, and give a template for other repos
- Use 3rd part action to handle the semantic release HOT 2
- Make the emit happen.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treetracker-web-map-client.