parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

ci: add UI tests for improved release stability

Open damianstasik opened this issue 3 years ago • 7 comments

New Pull Request Checklist

  • [x] I am not disclosing a vulnerability.
  • [x] I am creating this PR in reference to an issue.

Issue Description

This PR sets up a foundation for E2E testing along with two tests to have a starting point and verify whether CI jobs works correctly.

Related issue: #2007

Approach

TODOs before merging

  • [x] Remove old electron tests and deps
  • [x] Add commands for testing during development
  • [x] Include a few tests
  • [x] Setup one server, but handle single app and multi-app configs
  • [x] Add changes to documentation (guides, repository pages, in-code descriptions)
  • [x] A changelog entry is created automatically using the pull request title (do not manually add a changelog entry)

damianstasik avatar Jan 29 '22 18:01 damianstasik

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

Wow, I'm super excited about this! This would be a major milestone for dashboard tests and release stability.

mtrezza avatar Jan 29 '22 22:01 mtrezza

@mtrezza I think the core is ready, please take a look when you will have some time. I am not sure about developer guide for testing, is it clear enough?

damianstasik avatar Feb 02 '22 18:02 damianstasik

This is amazing!

How could I run cypress using a locally running Parse Server deployment for debugging, instead of using docker?

mtrezza avatar Feb 07 '22 00:02 mtrezza

@mtrezza Make sure it is started on the default port, has app ID set to hello and master key to world (default values in the Parse-Dashboard/parse-dashboard-config.json config).

damianstasik avatar Feb 07 '22 09:02 damianstasik

Cypress is listening on port 4040, so I think there are some more steps necessary. Could you write a quick 1-2-3 instruction on how to run it with local Parse Server? I think we'd also need that in the contribution docs.

mtrezza avatar Feb 07 '22 15:02 mtrezza

@visualfanatic just a friendly ping, it would be great if you could pick up this PR, it would be a long-awaited feature.

mtrezza avatar Mar 23 '22 11:03 mtrezza