CUCentralAdvancement / cms

The Central Advancement Content Management System
MIT License
0 stars 0 forks source link

Add Cypress GH Actions Test #8

Closed alexfinnarn closed 3 years ago

alexfinnarn commented 3 years ago

This codebase needs CI/CD on pull requests so devs can see all green and feel better about merging them in. One of the main components of this is Cypress end-to-end testing.

I was planning to have the first test be with authentication, but that should really be stubbed via a fake cookie...and it's far easier just to create a page that will be used, /admin/[space]/content -> ContentOverview, and keep it blank for now. This will also help to test out more complicated dynamic routing setups.

Required

What area of the codebase does this involve?

Will this impact CI/CD procedures?

Yes, this issue is to set up the whole process via Cypress. Then, other issues would add more GH checks on pull requests.

Relate To Security?

I had to add secrets for the app to yarn build since it builds out the profile page, which touches Auth0 connection code.

Acceptance Criteria