-
Notifications
You must be signed in to change notification settings - Fork 60
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
Create a test for pagination bar viewable in super admin #1233
Comments
@ecurrencyhodler , Can I work on this? |
Yes absolutely. this is yours. |
Did you sign up on our website yet? If so, what's your profile? https://community.sphinx.chat/bounties |
Nvm found you! |
@ecurrencyhodler I Think This has been already addressed , I corrected this work while working on #1223 |
Okay. We can turn this bounty into a unit test then. |
@hritikmunde we are going to change this issue into a unit test only. Once #1223 has been merged, you can begin working on this bounty. |
@ecurrencyhodler , okay got it. |
@hritikmunde this is now ready to be worked on. You can grab the latest from master. |
@ecurrencyhodler , the tests for superAdmin are in the file |
I'm not seeing any reference to the |
I'm proposing to create a folder _test and create a new test file for pagination. What do you think? |
I realized you were right here, there seems to be a second jest.config.json file that specifies the |
Yea I have considered that before but I think that it makes it easier to create and validate tests if they are closer to the files they test. Please read this post for the comparison to the two approaches but I think it is best practice to keep the tests near the code you are testing |
Yes I have added tests to that particular file. It's working will make changes needed in review |
* #1236 Added Organization Users unit test * Made changes for the mockFetch * made prettier changes * syntax and minor changes * #1233 Added test to check pagination. * Organization user conflict changes * removed mocked css line in PaginationView test * mock css added again * Ignore CSS Imports in Jest Configuration * added Alt text for pagination arrows * separated two <h2> styled elements. * mock data update * date format updated * <h2> child error changes * added mock bounties * changes * test changes * removed unnecessary files * removed excessive mock data * removed unncessary spaces --------- Co-authored-by: kevkevin <oapallikunnel@gmail.com>
Closed by #1288 |
* #1236 Added Organization Users unit test * Made changes for the mockFetch * made prettier changes * syntax and minor changes * #1233 Added test to check pagination. * Organization user conflict changes * removed mocked css line in PaginationView test * mock css added again * Ignore CSS Imports in Jest Configuration * added Alt text for pagination arrows * separated two <h2> styled elements. * mock data update * date format updated * <h2> child error changes * added mock bounties * changes * test changes * removed unnecessary files * removed excessive mock data * removed unncessary spaces --------- Co-authored-by: kevkevin <oapallikunnel@gmail.com>
* #1236 Added Organization Users unit test * Made changes for the mockFetch * made prettier changes * syntax and minor changes * #1233 Added test to check pagination. * Organization user conflict changes * removed mocked css line in PaginationView test * mock css added again * Ignore CSS Imports in Jest Configuration * added Alt text for pagination arrows * separated two <h2> styled elements. * mock data update * date format updated * <h2> child error changes * added mock bounties * changes * test changes * removed unnecessary files * removed excessive mock data * removed unncessary spaces --------- Co-authored-by: kevkevin <oapallikunnel@gmail.com>
Create a component test to make sure pagination is visible
The text was updated successfully, but these errors were encountered: