bcgov / devhub-app-web

Web application for the DevHub
https://developer.gov.bc.ca/
Apache License 2.0
23 stars 33 forks source link

Explore Cypress Testing Framework #500

Closed patricksimonian closed 5 years ago

patricksimonian commented 5 years ago

This is what the Gatsby JS team uses. It looks fully featured, is fully integrate-able with Github as a 'check' , the API is very similar to popular node JS testing frameworks such as 'jest' and 'mocha' (so less onboarding time) and appears to be extremely performant. One large drawback to the gradle integration test bundle is that it is extremely slow, another one is the language itself is clunky and atleast to me seems outdated? It will increase deploy times by atleast another 10 - 15 minutes.

I'd suggest a small tech spike integrating this with the Devhub using the free tier to see how well it integrates and if it does capture on the performance points I was noting on.

patricksimonian commented 5 years ago

@sheaphillips @kelpisland @ShellyXueHan @jleach https://www.cypress.io/

patricksimonian commented 5 years ago

Cypress at this stage does not support cross browser support but they are working on it. As a note I do agree with their explanation of why cross browser end to end testing is not that important, https://github.com/cypress-io/cypress/issues/310#issuecomment-354925454

That beings said are probably in that 1% of users that require cross browser support (maybe?).

Closing this issue and will consider reopening with the onset of a more mature Cypress library.