Skip to content
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

ci: unit & ui testing #6

Merged
merged 17 commits into from
May 6, 2024
Merged

ci: unit & ui testing #6

merged 17 commits into from
May 6, 2024

Conversation

TobiTenno
Copy link
Member

@TobiTenno TobiTenno commented Apr 28, 2024

also:

  • migrate react-app to vite
  • remove react-scripts
  • common prettier config
  • stub out code for deploying react-app to romcal.js.org
  • add cypress configs for every project to be UI tested
  • add mocha tests for server projects to be unit tested
  • add actions matrices for linting, ui testing, & unit testing

CI

closes #4
closes #7

also:
 - migrate react-app to vite
 - remove react-scripts
 - common prettier config
@TobiTenno TobiTenno marked this pull request as ready for review April 28, 2024 00:53
@TobiTenno
Copy link
Member Author

@emagnier @tukusejssirs if you wouldn't mind approving the workflow run when you have time and reviewing, I think this covers most of our UI testing needs

@TobiTenno TobiTenno mentioned this pull request Apr 28, 2024
Copy link
Contributor

@emagnier emagnier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @TobiTenno, I haven't looked at everything closely, but thanks for your work!

@TobiTenno
Copy link
Member Author

@emagnier or @tukusejssirs could we turn on the checks i'm adding in this PR as required and enable actions for this repo?

@emagnier
Copy link
Contributor

I'm ok to enable what's needed. @TobiTenno, I've just made you an admin on romcal-examples and romcal.github.io, so you can organize things more freely in order to fine-tune the workflow, branches, and deployment settings as necessary.

@emagnier
Copy link
Contributor

FYI, you're also an admin on the main romcal repo. I trust you completely, and it'll be easier for you to make progress more efficiently on all the scaffolding and setting up the things for romcal.

Copy link
Member

@tukusejssirs tukusejssirs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some nitpicks that could be solved at your discretion, @TobiTenno, however, otherwise you have done a great job! 🙏

You can disregard my comments and/or consider working on them in separate PRs. 😉

html-web-page/public/index.html Outdated Show resolved Hide resolved
html-web-page/public/index.html Outdated Show resolved Hide resolved
react-app/README.md Show resolved Hide resolved
html-web-page/cypress.config.mjs Outdated Show resolved Hide resolved
rest-api-with-express/app.js Show resolved Hide resolved
rest-api-with-express/cypress.config.js Outdated Show resolved Hide resolved
rest-api-with-express/cypress/e2e/load.cy.js Outdated Show resolved Hide resolved
rest-api-with-fastify/cypress.config.js Outdated Show resolved Hide resolved
rest-api-with-fastify/cypress/e2e/load.cy.js Outdated Show resolved Hide resolved
rest-api-with-fastify/spec/romcal.spec.js Outdated Show resolved Hide resolved
@tukusejssirs
Copy link
Member

@TobiTenno, see my latest comments. I agree with everything you did and thank you for implementing of my suggestions! 🙏

@TobiTenno TobiTenno merged commit 065e7df into romcal:main May 6, 2024
@TobiTenno TobiTenno deleted the fix-4 branch May 6, 2024 08:43
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.

Implement UI testing
3 participants