-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike: Automate the testing of one core feature in the veda-ui #1024
Comments
Could there be any overlap and/or is this an opportunity to collaborate on the playwright tests designed for testing out titiler and data catalog changes? For context: the backend team is interested in integration testing to ensure stac-api and titiler-api changes support veda-ui. There are also plans to integrate some GHG test requirements that have been previously implemented with selenium. |
thanks for bringing it up @anayeaye. From an initial look, the Playwright tests I created in Veda-config cover the first 3 points and add in Page Objects to allow several of the other points. I leveraged Playwright since it now is more widely used than Cypress and allows parallel, cross browser testing for free, but a similar test structure could be used for Cypress. I'm happy to set up some time and talk through what is a good path for the UI so that we don't duplicate work. |
Thanks for the info @anayeaye @stephenkilbourn! I also had some concerns on how the architectural changes we're currently working on in the veda-ui repo, with the aim of it becoming a ui components library, and moving the hardcoded routes from the veda-ui repo to the veda-config instance for a more config flexibility would affect the overall testing strategy we choose now. So I think a short call would be great, I'll set something up. |
Thanks all for the great call today! Summary of key points discussed (please correct me if I missed something)
We also shared this link as an example of an openapi validation test in the back-end: https://github.com/NASA-IMPACT/veda-backend/pull/333/files#diff-b9d39b521b2c7225321f8b81942b851b72b4432f574880643fd43583494ba2ef |
**Related Ticket:** #1024 #1197 ### Description of Changes This adds Playwright tests of some key user flows. The tests are set to run on the github action. On failure, an html report along with traces containing screenshots and network calls will be attached to the action's step. The tests will run only on release branches (branches starting with `release`). ### Notes & Questions About Changes ### Validation / Testing tests can be run locally with `yarn test:e2e` and they can also be seen in the github action.
Context
We have a simple and non-exhaustive list of some core QA scenarios for the Dashboard. What would be useful is to try to automate one of them using Cypress or Playwright, so that it runs as part of a github action.
Acceptance Criteria
Related Tickets
[If applicable, link any tickets that are related]
The text was updated successfully, but these errors were encountered: