Skip to content

Add Cypress tests#8

Merged
ritamtbsilva merged 35 commits intomainfrom
cypress
May 17, 2023
Merged

Add Cypress tests#8
ritamtbsilva merged 35 commits intomainfrom
cypress

Conversation

@nuno-agostinho
Copy link
Copy Markdown
Collaborator

@nuno-agostinho nuno-agostinho commented Mar 17, 2022

Run unit tests in GitHub Actions using Cypress.

@nuno-agostinho
Copy link
Copy Markdown
Collaborator Author

nuno-agostinho commented Apr 20, 2023

Hi @ritamtbsilva! This PR adds unit tests and automatically runs them every time a new commit is submitted to GitHub:

  • You can click in the tab "Actions" to see the results (including screenshots of each web page tested)
  • After this PR is merged, every commit in this repository should have a green checkmark or a red cross, depending if the tests are okay or not. This is useful to know if a change is breaking something in the unit tests. Here's an example:

Screenshot 2023-04-21 at 00 00 16

To run the unit tests, I am using Cypress via GitHub Actions and I can tell you more about it if you are interested. 😊

As this required a lot of trial and error directly in GitHub, instead of merging the PR as usual, you can "Squash and merge" (which will join all the commits in this PR into a single commit).

If you have any questions, I am here for you!

@ritamtbsilva ritamtbsilva merged commit 9fdfa7c into main May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants