aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/pages (follow)
Commit message (Collapse)AuthorAgeLines
* Remove unused testsGravatar Joe Banks2025-08-08-7/+0
|
* Unit tests for Navigation componentGravatar Joe Banks2024-07-10-0/+48
|
* Update tests with new OAuth2 message parametersGravatar Joe Banks2024-07-03-1/+2
|
* Fix Failing jest.spyOnGravatar Hassan Abouelela2022-07-14-1/+5
| | | | | | | | | | | Version 1.2.206 of swc introduces a breaking change which makes jest.spyOn not work with our configuration. The response from the swc maintainer seems like a complete mess, so I won't touch it, and just use something else. See issue 5059 on https://github.com/swc-project/swc/issues Signed-off-by: Hassan Abouelela <[email protected]>
* Wrap Tests In ActGravatar Hassan Abouelela2022-07-14-27/+24
| | | | | | Wrap the tests that were raising warnings in act statements. Signed-off-by: Hassan Abouelela <[email protected]>
* Restructure FormPageGravatar Hassan Abouelela2022-07-01-1/+1
| | | | | | | | | | | | | The main FormPage component had gotten very out of hand, with many moving parts that were hard to parse, understand, or modify. This refactors breaks things up into separate files with better defined goals. Most changes are just straight copies without much change, however some structural changes have been introduced as a foundation for improving the app. Signed-off-by: Hassan Abouelela <[email protected]>
* Bump React To 18.2.0Gravatar Hassan Abouelela2022-06-18-28/+21
| | | | | | | | | | | | Bump react to v18, and handle all the breaking changes. This includes bumping a lot of other dependencies to versions which support react 18, and handling the breaking changes for those. Refer to the following documents for migration guides: React: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html Router: https://reactrouter.com/docs/en/v6/upgrading/v5 Signed-off-by: Hassan Abouelela <[email protected]>
* Skip one of the FormPage tests that throws errorsGravatar Joe Banks2021-12-24-1/+2
|
* Merge branch 'main' into discord-oauthGravatar Hassan Abouelela2021-02-20-1/+2
|\ | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # package.json # src/commonStyles.tsx # src/pages/FormPage.tsx
| * Adds Missing Fields To Test ModelsGravatar Hassan Abouelela2021-02-19-1/+2
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Adds Basic Auth FunctionalityGravatar Hassan Abouelela2021-02-13-8/+7
|/ | | | | | | | Moves all authorization functionality to a new file, and adds a helper to send discord OAuth code to the backend, and set JWT. Adds a library to read and set cookies. Signed-off-by: Hassan Abouelela <[email protected]>
* Breaks Up CSS Into ComponentsGravatar Hassan Abouelela2021-01-06-1/+1
| | | | | | | | Moves the styles from the CSS file, into emotion CSS in each component's file to make navigation easier, and keep CSS and JSX together.Drops raw-loader dependency. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates ModelsGravatar Hassan Abouelela2021-01-04-2/+4
| | | | | | Changes the models to match the backend. Signed-off-by: Hassan Abouelela <[email protected]>
* Fixes Preexisting Linting IssuesGravatar Hassan Abouelela2021-01-03-24/+24
| | | | | | | Fixes all errors, and most warnings generated by eslint. Most were fixed by eslint automatically such as indentation and quotes. Signed-off-by: Hassan Abouelela <[email protected]>
* Update tests to match with changes in discoveryGravatar ks1292020-12-14-0/+21
|
* Add many new testsGravatar Joe Banks2020-10-12-0/+68