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

React testing capabilities #20

Draft
wants to merge 13 commits into
base: develop
Choose a base branch
from
Draft

Conversation

VottonDev
Copy link
Contributor

No description provided.

@VottonDev VottonDev changed the base branch from master to develop June 15, 2022 07:10
@VottonDev VottonDev linked an issue Jun 15, 2022 that may be closed by this pull request
@VottonDev VottonDev changed the title React functional testing React testing capabilities Jun 15, 2022
@VottonDev VottonDev marked this pull request as draft June 15, 2022 12:41
@VottonDev

This comment was marked as resolved.

@VottonDev

This comment was marked as resolved.

@VottonDev
Copy link
Contributor Author

VottonDev commented Jul 1, 2022

React testing now works for both user UI and admin UI. Any proper tests hasn't been written yet but the functionality is now there.

@VottonDev VottonDev marked this pull request as ready for review July 1, 2022 06:05
@VottonDev VottonDev marked this pull request as draft July 1, 2022 06:42
@VottonDev
Copy link
Contributor Author

VottonDev commented Jul 1, 2022

Has some compiling issues now when running the website, seems to be babel related but unsure of a fix yet.

The site technically seems to work still with the issue but would be better if there wasn't a compiling issue in the first place.

EDIT: NPM install isn't having a good time either, so definitely do not merge.

@VottonDev
Copy link
Contributor Author

Some of the modules that are installed in this repo are probably too up-to-date, which is causing issues when doing a fresh npm install or running the website generally, tried downgrading but had no luck personally but if find appropriate versions or a workaround generally then Jest generally seems to be working fine and Unit tests can be then written for the React sites. Alternatively, E2E testing can be implemented, which typically is easier to get run on older software as not dependent on React for example being x version and can test the user flow better.

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.

Add react testing (Low priority)
1 participant