bcgov / cas-cif

CleanBC Industry Fund project
Apache License 2.0
6 stars 2 forks source link

Cypress test to upload files #1839

Open BCerki opened 1 year ago

BCerki commented 1 year ago

Description of the Tech Debt

Uploading and deleting files in cypress requires google authentication. We tried to get it working in https://github.com/bcgov/cas-cif/pull/1825 and were unsuccessful.

In the cypress test add the assertions:

cy.fixture("e2e/mock.pdf").as("mockFile"); cy.get("input[type=file]").selectFile("@mockFile");

delete them at the end (see the linked PR)

add the google auth action

Tech Debt Triage

The purpose of our technical debt triage process is to analyze technical debt to determine risk level of the technical debt and the value in tackling that technical debt.

Risk Value Scoring:

Level Value
High 3
Medium 2
Low 1
Technical Debt - Risk Types Level Value
Business Area Risk - Risk of business area visibility / damage to user experience
Developer Fault Risk - How likely will this tech debt cause a future error related to coding on top of it
System Fault Risk - Risk of system errors or application downtime
Time Scale Risk - Compound risk effect if left alone. How much more difficult to fix or dangerous will this become over time?
Time Sink Risk - How much will this tech debt slow the development process down
TOTAL SCORE: