Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to 18 rmf auth Signed-off-by: angatupyry <fierrofenix@gmail.com> * Update to react router v6 Signed-off-by: angatupyry <fierrofenix@gmail.com> * Update to 18 rmf component Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add prop to render children Signed-off-by: angatupyry <fierrofenix@gmail.com> * Update to 18 dashboard Signed-off-by: angatupyry <fierrofenix@gmail.com> * Update lock file Signed-off-by: angatupyry <fierrofenix@gmail.com> * Porting to react 18 Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add pathname harcode to render tab name correctly Signed-off-by: angatupyry <fierrofenix@gmail.com> * Adding * to render nested routes Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove close tag Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove testing console Signed-off-by: angatupyry <fierrofenix@gmail.com> * Adding nested routes Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove useMatch and pass only username to render child route properly Signed-off-by: angatupyry <fierrofenix@gmail.com> * Drawing routes according to react router v6 Signed-off-by: angatupyry <fierrofenix@gmail.com> * Removing unused import Signed-off-by: angatupyry <fierrofenix@gmail.com> * Render user profile by username Signed-off-by: angatupyry <fierrofenix@gmail.com> * Update react testing library Signed-off-by: angatupyry <fierrofenix@gmail.com> * Updating react testing library package and use fireevent instead of userEvent Signed-off-by: angatupyry <fierrofenix@gmail.com> * Use fireevent instead of userEvent Signed-off-by: angatupyry <fierrofenix@gmail.com> * Use fireevent instead of userEvent Signed-off-by: angatupyry <fierrofenix@gmail.com> * Update test according to react 18 Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove userEvent and use fireevent instad Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add describe to wrap testing and use fire event instead of userevent Signed-off-by: angatupyry <fierrofenix@gmail.com> * FireEvent instead of userEvent Signed-off-by: angatupyry <fierrofenix@gmail.com> * Wrap test into describe Signed-off-by: angatupyry <fierrofenix@gmail.com> * Wrap test into describe Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add fireevent instead of userevent. Signed-off-by: angatupyry <fierrofenix@gmail.com> * FireEvent added and waitFor expect Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove unnecessary function to render component Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove test comment Signed-off-by: angatupyry <fierrofenix@gmail.com> * Using testing library renderHook Signed-off-by: angatupyry <fierrofenix@gmail.com> * Update react testing library Signed-off-by: angatupyry <fierrofenix@gmail.com> * Adding function to avoid warning act(...) Signed-off-by: angatupyry <fierrofenix@gmail.com> * Fix test according to the new version of testing library Signed-off-by: angatupyry <fierrofenix@gmail.com> * Adding beforeAll code test to silence warning Signed-off-by: angatupyry <fierrofenix@gmail.com> * Comment test failed Signed-off-by: angatupyry <fierrofenix@gmail.com> * Create a use stack navigator test acording to new version of testing library Signed-off-by: angatupyry <fierrofenix@gmail.com> * Add comment to explain change Signed-off-by: angatupyry <fierrofenix@gmail.com> * main admin path Navigate to users Signed-off-by: angatupyry <fierrofenix@gmail.com> * Improve function to be more easy to read Signed-off-by: angatupyry <fierrofenix@gmail.com> * Fix test in log table report and useasync function Signed-off-by: angatupyry <fierrofenix@gmail.com> * Remove unused import Signed-off-by: angatupyry <fierrofenix@gmail.com> * Aaron/react 18 (#729) * Adding link to unresolved issue to testing Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Added back missing test Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Reverting stack navigator tests Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Remove the rest of reporting components from react-components Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Remove deprecated command forms Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Revert to remove expectation of loading text since that is not what we are testing Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Add DashboardRoute to the route map since it returns undefined anyway Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: angatupyry <fierrofenix@gmail.com> Signed-off-by: Aaron Chong <aaronchongth@gmail.com> Co-authored-by: Aaron Chong <aaronchongth@gmail.com>
- Loading branch information