flojoy-ai / studio

Joyful visual programming for Python
https://docs.flojoy.ai
MIT License
204 stars 20 forks source link

visual cypress tests #263

Closed jackparmer closed 1 year ago

jackparmer commented 1 year ago

Unit tests

e2e / regression tests

jackparmer commented 1 year ago

Broadly speaking, we're using Applitools visual testing with cypress for unit tests and Reflect.run for E2E tests

https://flowjoy.slack.com/archives/C03KH05RZLK/p1684288515083299

jackparmer commented 1 year ago

@mehedihasansabbir220 please use this Applitools + cypress test that @itsjoeoui created as a reference: https://github.com/flojoy-io/studio/blob/main/cypress/e2e/01_main_page.cy.ts

The please update the cypress tests here that have been commented out by turning them into visual tests with cypress+Applitools: https://github.com/flojoy-io/studio/tree/main/cypress/e2e

Finally, please starting adding new visual tests with cypress+Applitools to this folder: https://github.com/flojoy-io/studio/tree/main/cypress/e2e You can use some of the suggestions for new tests in this issue as a starting point.

jackparmer commented 1 year ago

closed via https://github.com/flojoy-io/studio/issues/626