news-catalyst / next-tinynewsdemo

Frontend for Tiny News Collective organizations
https://next-tinynewsdemo.vercel.app
1 stars 0 forks source link

Add unit test infrastructure to the platform #1288

Closed chelsea-tnc closed 1 year ago

chelsea-tnc commented 1 year ago

Background: This is part 1 of the work to prevent users from creating a duplicate "Archive" section. Before we add this functionality, let's set up some unit test infrastructure to ensure we're building this in a way that scales.

What this PR does:

What this PR does not do:

How we tested:

Note: There are a lot of commits here, I'll squash them before merging to main.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
staging-tiny-news-sites ✅ Ready (Inspect) Visit Preview Oct 14, 2022 at 8:37PM (UTC)
9 Ignored Deployments | Name | Status | Preview | Updated | | :--- | :----- | :------ | :------ | | **ang-diaryo** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/ang-diaryo/d8T8F748MXh1ZWM1JhqMJP3CWiEw)) | | Oct 14, 2022 at 8:37PM (UTC) | | **austin-vida** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/austin-vida/A9eBnEWzhxC8JMcys2c6c7oURfqJ)) | | Oct 14, 2022 at 8:37PM (UTC) | | **black-by-god** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/black-by-god/4TVQ5z8Gp4UCZd2sAUnyQtQVdv2h)) | | Oct 14, 2022 at 8:37PM (UTC) | | **five-wards-media** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/five-wards-media/A7wgxYqsBmGgDBQoy6N5fGC36MRA)) | | Oct 14, 2022 at 8:37PM (UTC) | | **harvey-world-herald** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/harvey-world-herald/BoXP5ekyfor8MVNAYi73sSWnacGA)) | | Oct 14, 2022 at 8:37PM (UTC) | | **next-tinynewsdemo** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/next-tinynewsdemo/AoZc5oRqU9C4AvUDcCdpfgRmLgGg)) | | Oct 14, 2022 at 8:37PM (UTC) | | **spotlight-schools** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/spotlight-schools/4fsEdi7a7j1SxhEgg3mFe55T2vLq)) | | Oct 14, 2022 at 8:37PM (UTC) | | **tiny-news-curriculum** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/tiny-news-curriculum/CAp9efxxuiD5ZHVpKs6nLzpzVMf6)) | | Oct 14, 2022 at 8:37PM (UTC) | | **tiny-news-sites** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/tiny-news-sites/FEbyZ48kGM4LhEJNKM6KmRKwUzmD)) | | Oct 14, 2022 at 8:37PM (UTC) |
cypress[bot] commented 1 year ago



Test summary

28 0 0 0


Run details

Project TNC Front-End
Status Passed
Commit 35aa97beff ℹ️
Started Oct 3, 2022 10:55 PM
Ended Oct 3, 2022 10:59 PM
Duration 03:41 💡
OS Linux Ubuntu - 20.04
Browser Firefox 104

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

chelsea-tnc commented 1 year ago

@pilar333 this is ready for review now, I synced it up with main to fix the merging conflicts.

chelsea-tnc commented 1 year ago

Conflicts resolved, this is ready for PR.

chelsea-tnc commented 1 year ago

@pdeharo333 not sure if you tried this already, but I'd try running npm install first.

pdeharo333 commented 1 year ago

That did work thanks! Sample test passed, and Hasura and queries test in failing as expected.