NASA-IMPACT / admg-casei

ADMG Inventory
https://impact.earthdata.nasa.gov/casei/
Apache License 2.0
1 stars 0 forks source link

Remove cypress and use only playwright for e2e tests #666

Closed willemarcel closed 1 month ago

willemarcel commented 1 month ago

Resolves #659

LanesGood commented 1 month ago

Also nice removal of packagelock.json! Good to get rid of that warning

willemarcel commented 1 month ago

Looks ok to me! I ran locally and had a couple failing tests as I believe you did; as you suggested, I think this may be from slower API calls from running on a local build.

I think the problem is that the build command doesn't read the mapbox token from the .env.development file. You need to set the env var in the terminal before running the command. This solved the issue I was experiencing.